| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…ridden comparison operators (pythonGH-153203) The final check-and-correct comparison in the arbitrary precision path could call a comparison operator overridden in an int subclass. Compare by value with int's tp_richcompare. (cherry picked from commit 3a1b547) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, something went wrong.
|
GH-153226 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
… comparison operators (GH-153203) (GH-153225) (GH-153226) The final check-and-correct comparison in the arbitrary precision path could call a comparison operator overridden in an int subclass. Compare by value with int's tp_richcompare. (cherry picked from commit 3a1b547) (cherry picked from commit a9a91d0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
Manual backport of GH-153203 (the automatic backport could not apply: on 3.14 the code lives in Modules/mathmodule.c and the tests in Lib/test/test_math.py, predating the math.integer module).
The final check-and-correct comparison in the arbitrary precision path could call a comparison operator overridden in an int subclass. Compare by value with int's tp_richcompare.
(cherry picked from commit 3a1b547)
🤖 Generated with Claude Code