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

2020-08-11 Thread STINNER Victor
Change by STINNER Victor : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2020-08-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

2020-08-10 Thread Thomas Caswell
Thomas Caswell added the comment: bisecting agrees with Matthias: # first bad commit: [c067183605cf84bb1a246635f52827251d0476f8] bpo-40807: Show warnings once from codeop._maybe_compile (GH-20486) -- nosy: +tcaswell ___ Python tracker

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

2020-08-10 Thread Matthias Bussonnier
Change by Matthias Bussonnier : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

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

2020-08-10 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Potentially due to https://bugs.python.org/issue40807 https://github.com/python/cpython/pull/20486 -- ___ Python tracker ___ _

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

2020-08-10 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: seem to affect 3.8.4 as well. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

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

2020-08-10 Thread Matthias Bussonnier
New submission from Matthias Bussonnier : assuming $ cat foo.py import warnings from codeop import compile_command warnings.simplefilter('error', SyntaxWarning) res = compile_command('1 is 1\n', symbol='exec') print('Res', res) On 3.8.0...3.8.4 this correctly raises a