[issue41520] codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise.

Matthias Bussonnier report at bugs.python.org
Wed Aug 12 11:14:28 EDT 2020


Matthias Bussonnier <bussonniermatthias at gmail.com> added the comment:

> Thanks Matthias Bussonnier for the fix. 

Thank *YOU* for the fix, and the bug report is initially from tcaswell. 

At least on 3.8 branch this is fixed for me.

Just for completeness, this was discovered as in IPython we try to guess whether "enter"  is "insert new line" or "execute", and `1 is 1<enter>` would keep adding new lines.

Much love for the fast turnaround; looking fwd to 3.9

----------

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


More information about the Python-bugs-list mailing list