[issue2681] octal literals beginning with 8 don't raise a SyntaxError

Amaury Forgeot d'Arc report at bugs.python.org
Thu Apr 24 20:12:15 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Corrected as r62480.
I changed your patch a little bit: it seemed more logical to use 
   (c < '0' || c >= '8')
As it is the exact counterpart of 
   ('0' <= c && c < '8')
used a few lines below.

Thanks for the report!

----------
nosy: +amaury.forgeotdarc
resolution:  -> fixed
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2681>
__________________________________


More information about the Python-bugs-list mailing list