[issue39209] Crash on REPL mode with long text copy and paste
Pablo Galindo Salgado
report at bugs.python.org
Mon Jan 6 05:13:32 EST 2020
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
I bisected this to this commit:
995d9b92979768125ced4da3a56f755bcdf80f6e is the first bad commit
commit 995d9b92979768125ced4da3a56f755bcdf80f6e
Author: Anthony Sottile <asottile at umich.edu>
Date: Sat Jan 12 20:05:13 2019 -0800
bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021)
Lib/test/test_ast.py | 19 +++++++++++++
Lib/test/test_fstring.py | 32 +++++++++-------------
Lib/test/test_opcodes.py | 2 +-
Lib/test/test_string_literals.py | 8 +++---
Misc/ACKS | 1 +
.../2018-10-20-18-05-58.bpo-16806.zr3A9N.rst | 1 +
Parser/parsetok.c | 15 ++++++++--
Parser/tokenizer.c | 7 +++++
Parser/tokenizer.h | 5 ++++
Python/ast.c | 10 +++++--
Python/importlib.h | 16 +++++------
Python/importlib_external.h | 18 ++++++------
Python/importlib_zipimport.h | 8 +++---
13 files changed, 91 insertions(+), 51 deletions(-)
create mode 100644 Misc/NEWS.d/next/Core and Builtins/2018-10-20-18-05-58.bpo-16806.zr3A9N.rst
----------
nosy: +Anthony Sottile
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39209>
_______________________________________
More information about the Python-bugs-list
mailing list