]> granicus.if.org Git - python/commit
Issue2681: the literal 0o8 was wrongly accepted, and evaluated as float(0.0).
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 24 Apr 2008 18:07:05 +0000 (18:07 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 24 Apr 2008 18:07:05 +0000 (18:07 +0000)
commit5216721a532c348bcc59a03c7ee206f2cb2ae497
treed6d54b8cd3713662351f829f71e8d5eb529b4d8d
parent11034c6c167c238d32fdba66300d496364a6d366
Issue2681: the literal 0o8 was wrongly accepted, and evaluated as float(0.0).
This happened only when 8 is the first digit.
Credits go to Lukas Meuser.
Lib/test/test_compile.py
Misc/NEWS
Parser/tokenizer.c