Skip to content

gh-122193: simplify object.__rpow__() signature (no modulo) #122260

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

Closed
wants to merge 1 commit into from

Conversation

skirpichev
Copy link
Member

@skirpichev skirpichev commented Jul 25, 2024

Docs says: "Note that ternary pow() will not try calling __rpow__() (the coercion rules would become too complicated)."

Probably, this is not something, that might be changed (see recent discussion in https://discuss.python.org/t/35185). Lets simplify signature of this dunder method.


📚 Documentation preview 📚: https://cpython-previews--122260.org.readthedocs.build/

Docs says: "Note that ternary pow() will not try calling __rpow__() (the
coercion rules would become too complicated)."

Probably, this is not something, that might be changed (see recent
discussion in https://discuss.python.org/t/35185).  Lets simplify
signature of this dunder method.
@skirpichev
Copy link
Member Author

closed, per #130251

@skirpichev skirpichev closed this Feb 19, 2025
@skirpichev skirpichev deleted the fix-rpow-signature-122193 branch February 19, 2025 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant