mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
[3.10] Ensure the str member of the tokenizer is always initialised (GH-29681). (GH-29683)
(cherry picked from commit 4f006a789a
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
This commit is contained in:
parent
9841ac2da5
commit
07cf66fd03
4 changed files with 428 additions and 3 deletions
|
@ -86,7 +86,7 @@ tok_new(void)
|
|||
tok->async_def_indent = 0;
|
||||
tok->async_def_nl = 0;
|
||||
tok->interactive_underflow = IUNDERFLOW_NORMAL;
|
||||
|
||||
tok->str = NULL;
|
||||
return tok;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue