[issue8014] Setting a T_INT attribute raises internal error
Benjamin Peterson
report at bugs.python.org
Wed Feb 24 22:10:41 CET 2010
Benjamin Peterson <benjamin at python.org> added the comment:
It seems that T_INT uses PyLong_AsLong to get a integer, and 2.x uses PyInt_AsLong. PyInt_AsLong tries to convert the number to an integer, but PyLong_AsLong just throws up if the type is not correct. Mark, thoughts?
----------
nosy: +benjamin.peterson, mark.dickinson
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8014>
_______________________________________
More information about the Python-bugs-list
mailing list