gh-90716: bugfixes and more tests for _pylong. (#99073) · python/cpython@4c4b5ce · GitHub
Skip to content

Commit 4c4b5ce

Browse files
authored
gh-90716: bugfixes and more tests for _pylong. (#99073)
* Properly decref on _pylong import error. * Improve the error message on _pylong TypeError. * Fix the assertion error in pydebug builds to be a TypeError. * Tie the return value comments together. These are minor followups to issues not caught among the reviewers on #96673.
1 parent bee1070 commit 4c4b5ce

2 files changed

Lines changed: 50 additions & 4 deletions

File tree

Lib/test/test_int.py

Lines changed: 39 additions & 0 deletions

Objects/longobject.c

Lines changed: 11 additions & 4 deletions

0 commit comments

Comments
 (0)