[New-bugs-announce] [issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

Pablo Galindo Salgado report at bugs.python.org
Tue Nov 16 14:39:26 EST 2021


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

When executing Py_CompileString with a source string that has a coding cookie, this is not respected as with the old parser.

----------
components: Parser
messages: 406425
nosy: lys.nikolaou, pablogsal, twouters
priority: normal
severity: normal
status: open
title: Py_CompileString does not respect the coding cookie with the new parser if flags are empty
versions: Python 3.10, Python 3.11, Python 3.9

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


More information about the New-bugs-announce mailing list