Chris Jerdonek added the comment:

Benjamin, unless I'm overlooking something, long_new() does its own check of 
the base argument before calling PyLong_FromString():

http://hg.python.org/cpython/file/default/Objects/longobject.c#l4251

So long_new() won't let you pass a bad base to PyLong_FromString() (which is 
one of the code paths to be checked).

----------

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

Reply via email to