mirror of https://github.com/python/cpython.git
Add warning XXX that 09.9 isn't accepted.
This commit is contained in:
parent
7177657bf2
commit
943094566a
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue