Serhiy Storchaka added the comment:

But you have "if (!PyLong_Check(obase))" check before. Only ints acceptable. 
The only difference with previous code is that now OverflowError raised for 
large bases instead of ValueError. int.__round__ doesn't produce OverflowError.

In any case the final version of those changes should be applied to 3.2 and 3.3 
too (if no one objects).

----------

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

Reply via email to