[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>
More information about the Python-bugs-list