[issue7528] Provide PyLong_AsLongAndOverflow compatibility to Python 2.x

Case Van Horsen report at bugs.python.org
Thu Dec 17 17:43:01 CET 2009


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

I don't want it to be a 2.7-only feature. I'm trying to maintain 
compatibility with 2.4 and later for gmpy. I would be in favor with 
adding it to 2.7 as long as we could still provide a standalone version 
for earlier releases of Python.

I hadn't realized that PyLong_AsLong accepts PyInt also. Given that, 
the name PyLong_AsLongAndOverflow is fine (and easier)!

----------

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


More information about the Python-bugs-list mailing list