[issue7528] Provide PyLong_AsLongAndOverflow compatibility to Python 2.x

Case Van Horsen report at bugs.python.org
Mon Dec 21 06:55:52 CET 2009


Case Van Horsen <casevh at gmail.com> added the comment:

I uploaded a new consolidated diff that includes the original patch with
(hopefully) correct whitespace, some tests, and doc updates.

The test just verifies that overflow is set/cleared properly. Proper
conversions to long are already tested in test_capi. Let me know if I
should add more tests.

I couldn't find any tests for LongAndOverflow in 3.x.

----------
Added file: http://bugs.python.org/file15640/patch7528.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7528>
_______________________________________


More information about the Python-bugs-list mailing list