Serhiy Storchaka added the comment:

Of course PyLong_AsUnsignedLong* should be used only if the type is unsigned. 
In such case any negative values except -1 are invalid.

----------
keywords:  -easy

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

Reply via email to