[issue12909] Inconsistent exception usage in PyLong_As* C functions

Mark Dickinson report at bugs.python.org
Tue Sep 6 12:46:01 CEST 2011


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

+1 for turning these into TypeErrors.  It makes little sense that PyLong_AsLongLong and PyLong_AsUnsignedLongLong behave differently here.

Do you have a patch handy?

----------

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


More information about the Python-bugs-list mailing list