Skip to content

gh-144584: Remove support for non-int's in __int__/__index__()#144621

Open
skirpichev wants to merge 2 commits intopython:mainfrom
skirpichev:remove-ss-in-int-and-index/144584
Open

gh-144584: Remove support for non-int's in __int__/__index__()#144621
skirpichev wants to merge 2 commits intopython:mainfrom
skirpichev:remove-ss-in-int-and-index/144584

Conversation

@skirpichev
Copy link
Member

@skirpichev skirpichev commented Feb 9, 2026

@skirpichev
Copy link
Member Author

CC @vstinner, this is a continuation of #112680

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. The feature is deprecated for 5 Python releases, it's time to remove it.

But I would like to hear @serhiy-storchaka on this issue since he seems to have a different opinion.

@skirpichev
Copy link
Member Author

I guess, his opinion will be as for #112680.

Anyway, I think it would be better to do decision before freeze for v3.15. Either revert deprecations or remove deprecated behavior.

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