[issue42218] SystemError in compile builtin function

Zac Hatfield-Dodds report at bugs.python.org
Sat Oct 31 07:16:42 EDT 2020


New submission from Zac Hatfield-Dodds <zac.hatfield.dodds at gmail.com>:

In Python 3.9.0, running

    compile('A.\u018a\\ ', '<string>', 'single')

raises

    SystemError: <built-in function normalize> returned a result with an error set

This is obviously invalid syntax, but it would still be nice to raise SyntaxError for that and the SystemError may be symptomatic of a bug.  Unfortunately I have no insight to offer beyond this hand-minimised reproducer :-/

----------
components: Interpreter Core
messages: 380053
nosy: Zac Hatfield-Dodds
priority: normal
severity: normal
status: open
title: SystemError in compile builtin function
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42218>
_______________________________________


More information about the Python-bugs-list mailing list