]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix #1679: "0x" was taken as a valid integer literal.
authorGeorg Brandl <georg@python.org>
Sat, 19 Jan 2008 19:27:05 +0000 (19:27 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 19 Jan 2008 19:27:05 +0000 (19:27 +0000)
commit14404b68d8c5a501a2f5ee6f45494865b7b38276
treef1db16ee7f39d81414ad24bd682e9df61b74e4dd
parent2686f4d9d14e2b30a61e5350dcb4a56c43c82b57
Fix #1679: "0x" was taken as a valid integer literal.
Fixes the tokenizer, tokenize.py and int() to reject this.
Patches by Malte Helmert.
Lib/test/test_builtin.py
Lib/test/test_grammar.py
Lib/tokenize.py
Misc/NEWS
Parser/tokenizer.c
Python/mystrtoul.c