commit | 14404b68d8c5a501a2f5ee6f45494865b7b38276 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Jan 19 19:27:05 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Jan 19 19:27:05 2008 +0000 |
tree | f1db16ee7f39d81414ad24bd682e9df61b74e4dd | |
parent | 2686f4d9d14e2b30a61e5350dcb4a56c43c82b57 [diff] |
Fix #1679: "0x" was taken as a valid integer literal. Fixes the tokenizer, tokenize.py and int() to reject this. Patches by Malte Helmert.
diff --git a/Misc/NEWS b/Misc/NEWS index a19a8ad..8a6ca66 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,8 @@ Core and builtins ----------------- +- Issue #1679: "0x" was taken as a valid integer literal. + - Issue #1865: Bytes as an alias for str and b"" as an alias "" were added.