Georg Brandl <[EMAIL PROTECTED]> added the comment:

The problem is that, unlike PyInt_AsSsize_t, PyLong_AsSsize_t expects
its argument to already be a long object and else raises the SystemError.

It should probably behave like PyInt_AsSsize_t and raise the TypeError
since in 3.0 it's used in many places where PyInt_AsSsize_t was used.

----------
nosy: +georg.brandl

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3694>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to