Benjamin Peterson <benja...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8014>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to