Skip to content

Remove deprecated support for returning non-complex/float types in __complex__/__float__() #109311

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

Open
skirpichev opened this issue Sep 12, 2023 · 3 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement

Comments

@skirpichev
Copy link
Contributor

skirpichev commented Sep 12, 2023

This was deprecated since v3.7 (in #74080 and #71170). Our deprecation policy allow us to remove this.

@serhiy-storchaka what's your opinion?

Linked PRs

@skirpichev skirpichev added the type-feature A feature request or enhancement label Sep 12, 2023
@corona10
Copy link
Member

cc @mdickinson

@skirpichev
Copy link
Contributor Author

BTW, support for int subclasses in __int__() was deprecated in 3.10 (#15636), so formally we can remove this in 3.13 as well.

@serhiy-storchaka
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants