Message178279
| Author |
serhiy.storchaka |
| Recipients |
chris.jerdonek, ezio.melotti, georg.brandl, gregory.p.smith, mark.dickinson, python-dev, serhiy.storchaka |
| Date |
2012年12月27日.06:48:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1356590930.05.0.185251610607.issue16772@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|