[issue12909] Inconsistent exception usage in PyLong_As* C functions
Nadeem Vawda
report at bugs.python.org
Tue Sep 6 16:18:38 CEST 2011
Nadeem Vawda <nadeem.vawda at gmail.com> added the comment:
This probably shouldn't be backported to 3.2; it could break 3rd-party
extension modules (though I would hope that nothing depends on this
behaviour...).
Also, it's worth noting that the error handling between conversion
functions still isn't completely consistent - some attempt to coerce
the argument to an integer using type->tp_as_number->nb_int, while
others fail immediately when they see that PyLong_Check() fails.
That's a less pressing issue, though.
----------
stage: needs patch -> patch review
versions: -Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12909>
_______________________________________
More information about the Python-bugs-list
mailing list