commit | 9ff19b54346d39d15cdcf75e9d66ab46ea6064d6 | [log] [tgz] |
---|---|---|
author | Eric Smith <eric@trueblade.com> | Mon Mar 17 17:32:20 2008 +0000 |
committer | Eric Smith <eric@trueblade.com> | Mon Mar 17 17:32:20 2008 +0000 |
tree | e4a83605262567c9c9abff7a7afa3edc1bd61681 | |
parent | 7cfbf0c421137dfac5d9d2e4c879302ba5f80d88 [diff] |
Finished backporting PEP 3127, Integer Literal Support and Syntax. Added 0b and 0o literals to tokenizer. Modified PyOS_strtoul to support 0b and 0o inputs. Modified PyLong_FromString to support guessing 0b and 0o inputs. Renamed test_hexoct.py to test_int_literal.py and added binary tests. Added upper and lower case 0b, 0O, and 0X tests to test_int_literal.py