Skip to content

gh-132987: Support __index__() in the lzma module#133099

Merged
serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:lzma-unsigned-int-index
Apr 29, 2025
Merged

gh-132987: Support __index__() in the lzma module#133099
serhiy-storchaka merged 3 commits into
python:mainfrom
serhiy-storchaka:lzma-unsigned-int-index

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Apr 28, 2025

Copy link
Copy Markdown
Member

@serhiy-storchaka

Copy link
Copy Markdown
Member Author

As a side effect, ValueError is now raised instead of OverflowError for negative values. See also #74020.

Comment thread Modules/_lzmamodule.c

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) April 29, 2025 14:00
@serhiy-storchaka serhiy-storchaka merged commit a64fdc7 into python:main Apr 29, 2025
@serhiy-storchaka serhiy-storchaka deleted the lzma-unsigned-int-index branch April 29, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants