Skip to content

Conversation

@mbyrnepr2
Copy link
Contributor

gh-109861: Fix a doctest in Lib/_pydecimal.py which was failing when run directly on the module via the command:
./python.exe -m doctest Lib/_pydecimal.py.

directly on the module via the command:
``./python.exe -m doctest Lib/_pydecimal.py``.

Co-authored-by: Sergey B Kirpichev <[email protected]>
Copy link
Member

@skirpichev skirpichev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should stick with your solution for _pydecimal.py. It's more local.

require the ``InvalidOperation`` trap to be ``False``.
@skirpichev
Copy link
Member

CC @picnixz

Copy link
Member

@tim-one tim-one left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@skirpichev skirpichev added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants