Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

serhiy-storchaka
Copy link
Member

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

@serhiy-storchaka
Copy link
Member Author

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

Copy link
Member

@vstinner vstinner left a comment

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
45 checks passed
@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