-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible fix to #1334662 (int() wrong answers) #43132
Comments
This is the patch I talked about in bpo-1334662. I think |
Logged In: YES I *love* this web interface... Here you have the patch. |
Logged In: YES This is a little modification to |
Logged In: YES with patch to tests applied I get:
=============================================== ======================= Traceback (most recent call last):
File "Lib/test/test_builtin.py", line 685, in test_int
self.assertEqual(int('c9c336o0mlb7eg', 25), max_uint64)
AssertionError: 0 != 18446744073709551616L
-----------------------------------------------------------------
Ran 60 tests in 0.118s FAILED (failures=1)
Traceback (most recent call last):
File "Lib/test/test_builtin.py", line 103, in <module>
class BuiltinTest(unittest.TestCase):
File "Lib/test/test_builtin.py", line 1587, in test_main
run_unittest(*test_classes)
File "/home/ralf/python-trunk/Lib/test/test_support.py", line 300, in
run_unittest
run_suite(suite, testclass)
File "/home/ralf/python-trunk/Lib/test/test_support.py", line 285, in
run_suite
raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
File "Lib/test/test_builtin.py", line 685, in test_int
self.assertEqual(int('c9c336o0mlb7eg', 25), max_uint64)
AssertionError: 0 != 18446744073709551616L |
Logged In: YES After applying the patch to mystrtoul all tests work. |
Logged In: YES Bug bpo-1334662 has now been fixed. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: