[issue25324] Importing tokenize modifies token
Albert-Jan Nijburg
report at bugs.python.org
Thu Jun 1 13:20:21 EDT 2017
Albert-Jan Nijburg added the comment:
Aah! Oops I can fix later today.
On Thu, 1 Jun 2017 at 18:08, STINNER Victor <report at bugs.python.org> wrote:
>
> STINNER Victor added the comment:
>
> We got a bug report from Coverity:
>
> *** CID 1411801: Incorrect expression (MISSING_COMMA)
> /Parser/tokenizer.c: 111 in ()
> 105 "OP",
> 106 "AWAIT",
> 107 "ASYNC",
> 108 "<ERRORTOKEN>",
> 109 "COMMENT",
> 110 "NL",
> >>> CID 1411801: Incorrect expression (MISSING_COMMA)
> >>> In the initialization of "_PyParser_TokenNames", a suspicious
> concatenated string ""ENCODING<N_TOKENS>"" is produced.
> 111 "ENCODING"
> 112 "<N_TOKENS>"
> 113 };
> 114
> 115
> 116 /* Create and initialize a new tok_state structure */
>
> I missed this typo :-p
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue25324>
> _______________________________________
>
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25324>
_______________________________________
More information about the Python-bugs-list
mailing list