This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mdk
Recipients gvanrossum, mdk, pablogsal
Date 2021-01-04.20:48:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609793289.79.0.762652539307.issue42827@roundup.psfhosted.org>
In-reply-to
Content
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 :))
History
Date User Action Args
2021-01-04 20:48:09mdksetrecipients: + mdk, gvanrossum, pablogsal
2021-01-04 20:48:09mdksetmessageid: <1609793289.79.0.762652539307.issue42827@roundup.psfhosted.org>
2021-01-04 20:48:09mdklinkissue42827 messages
2021-01-04 20:48:09mdkcreate