[issue7528] Provide PyLong_AsLongAndOverflow compatibility to Python 2.x

Mark Dickinson report at bugs.python.org
Thu Dec 17 16:08:07 CET 2009

Mark Dickinson <dickinsm at gmail.com> added the comment:

> I'm specifically not in favor of adding it to the Python 2.7 API.

Out of curiosity, why not?  It seems like a reasonable addition to me.

I'd continue to call it simply PyLong_AsLongAndOverflow, though.  I note
that in 2.x, PyLong_AsLong accepts both ints and longs, so it wouldn't
seem unreasonable for PyLong_AsLongAndOverflow to do so too.

nosy: +mark.dickinson

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list