Closed
Description
TIP 114 means that as of Tcl 9.0, integers are only treated as octal when the 0o
prefix is specified; a leading 0 by itself is no longer sufficient. This change partially breaks test_getint:
======================================================================
FAIL: test_getint (test.test_tcl.TclTest.test_getint)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/user/git/cpython/Lib/test/test_tcl.py", line 145, in test_getint
self.assertEqual(tcl.getint((' %#o ' % i).replace('o', '')), i)
AssertionError: 17777777777 != 2147483647