Message384348
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 :)) |
|
Date |
User |
Action |
Args |
2021-01-04 20:48:09 | mdk | set | recipients:
+ mdk, gvanrossum, pablogsal |
2021-01-04 20:48:09 | mdk | set | messageid: <1609793289.79.0.762652539307.issue42827@roundup.psfhosted.org> |
2021-01-04 20:48:09 | mdk | link | issue42827 messages |
2021-01-04 20:48:09 | mdk | create | |
|