New submission from Julien Palard <julien+pyt...@palard.fr>:
Tested in 3.9.0 and master (127dde5916): $ cat test.py eval( """[file for str(file) in [] ] """ ) $ ./python test.py python: Parser/pegen.c:149: byte_offset_to_character_offset: Assertion `col_offset >= 0 && (unsigned long)col_offset <= strlen(str)' failed. Fatal Python error: Aborted Current thread 0x00007f6454cfe280 (most recent call first): File "/home/mdk/clones/python/cpython/test.py", line 1 in <module> Aborted (core dumped) (Adding Guido and Pablo to nosy as, IIRC, you're interested in parser things :)) ---------- messages: 384348 nosy: gvanrossum, mdk, pablogsal priority: normal severity: normal status: open title: Multiline eval with assignment to function call segfaults type: crash versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42827> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com