Mark Dickinson <dicki...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue7528> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com