[issue16790] provide ability to share tests between int and long tests

2012-12-26 Thread Chris Jerdonek
Chris Jerdonek added the comment: Good point. New patch coming shortly. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue16772] int() accepts float number base

2012-12-26 Thread Serhiy Storchaka
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 ver

[issue16772] int() accepts float number base

2012-12-26 Thread Chris Jerdonek
Chris Jerdonek added the comment: > In any case the final version of those changes should be applied to 3.2 and > 3.3 too (if no one objects). +1 -- ___ Python tracker ___

[issue16790] provide ability to share tests between int and long tests

2012-12-26 Thread Chris Jerdonek
Chris Jerdonek added the comment: Note that we need to be more careful about checking for duplicate test names now. -- Added file: http://bugs.python.org/file28451/issue-16790-2-27.patch ___ Python tracker ___

[issue16790] provide ability to share tests between int and long tests

2012-12-26 Thread Chris Jerdonek
Chris Jerdonek added the comment: After this issue, the ordering of new test_int test cases in 3.x should preferably match the ordering in 2.7 for easier back-porting when the tests are new in both. For example, test_no_args() and test_keyword_args() could go at the top of 3.x's IntTestCases.

<    1   2