Serhiy Storchaka added the comment:

Added checks for errors in C code (they are needed even without supporting 
Python longs, PyInt_AsLong() can fail with Python ints) and a fast path for 
Python longs in PyInt_AsLong() (avoid creating temporary Python int).

----------
assignee:  -> serhiy.storchaka
Added file: http://bugs.python.org/file46028/py2_int_long_2.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28998>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to