From: Guido van Rossum Date: Tue, 10 Dec 1991 14:01:05 +0000 (+0000) Subject: Add warning XXX that 09.9 isn't accepted. X-Git-Tag: v0.9.8~706 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=943094566a61c0218f3c5bf2e71b8ed37a381350;p=thirdparty%2FPython%2Fcpython.git Add warning XXX that 09.9 isn't accepted. --- diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 009c1937fc6a..3bd9530ae93b 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -510,6 +510,8 @@ tok_get(tok, p_start, p_end) } while (isxdigit(c)); } else { + /* XXX This is broken! E.g., + 09.9 should be accepted as float! */ /* Octal; c is first char of it */ /* There's no 'isoctdigit' macro, sigh */ while ('0' <= c && c < '8') {