• Eric Smith's avatar
    Finished backporting PEP 3127, Integer Literal Support and Syntax. · 9ff19b54
    Eric Smith yazdı
    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
    9ff19b54
test_int_literal.py 9.03 KB