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

2020-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lukasz, please cherry-pick the 3.9 commits for this issue 90eff4ed4445a0fa9d8cdf74c0f86c50ed510dad f24430f1542ea2768793b48704ae2d4e241892ae into 3.9.0rc2 before release. They fix a regression introduced by a bug fix last June. -- resolution: -> fixed

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

2020-08-13 Thread miss-islington
miss-islington added the comment: New changeset a3416c13b51af25675e175d4ffe07d8b925e7dbf by Miss Islington (bot) in branch '3.8': [3.9] bpo-41520: Fix second codeop regression (GH-21848) https://github.com/python/cpython/commit/a3416c13b51af25675e175d4ffe07d8b925e7dbf --

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

2020-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f24430f1542ea2768793b48704ae2d4e241892ae by Terry Jan Reedy in branch '3.9': [3.9] bpo-41520: Fix second codeop regression (GH-21848) https://github.com/python/cpython/commit/f24430f1542ea2768793b48704ae2d4e241892ae --

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

2020-08-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +20989 pull_request: https://github.com/python/cpython/pull/21862 ___ Python tracker ___

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

2020-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +20987 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21860 ___ Python tracker ___

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

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: > New changeset c818b15fa59039de67022c29085d439fa5d3ef95 by Terry Jan Reedy in > branch 'master': > bpo-41520: Fix second codeop regression (GH-21848) https://github.com/python/cpython/commit/c818b15fa59039de67022c29085d439fa5d3ef95 I confirm that this

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

2020-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c818b15fa59039de67022c29085d439fa5d3ef95 by Terry Jan Reedy in branch 'master': bpo-41520: Fix second codeop regression (GH-21848) https://github.com/python/cpython/commit/c818b15fa59039de67022c29085d439fa5d3ef95 --

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

2020-08-13 Thread STINNER Victor
STINNER Victor added the comment: > The commit 369a1cbdee14d9f27356fb3a8bb21e4fde289d25 introduces a change in > environment. (...) Right. It's fixed by PR 21848. -- ___ Python tracker

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

2020-08-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The commit 369a1cbdee14d9f27356fb3a8bb21e4fde289d25 introduces a change in environment. I haven't checked the other PR though to see if this is fixed. ./python.exe -m test --fail-env-changed test_codeop -m test_warning 0:00:00 load avg: 2.30 Run

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

2020-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: This 'fix' introduces another regression by undoing the previous fix in issue 40807 of emitting DeprecationWarning (for '\e', for instance) just once instead of thrice. I suspect that the example of Matthias would fail in a debug build (with

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

2020-08-12 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy nosy_count: 5.0 -> 6.0 pull_requests: +20975 pull_request: https://github.com/python/cpython/pull/21848 ___ Python tracker ___

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

2020-08-12 Thread STINNER Victor
STINNER Victor added the comment: Thanks tcaswell in this case ;-) -- priority: release blocker -> ___ Python tracker ___ ___

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

2020-08-12 Thread Matthias Bussonnier
Matthias Bussonnier 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"

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

2020-08-12 Thread STINNER Victor
STINNER Victor added the comment: Thanks Matthias Bussonnier for the fix. The regression should now be fixed. Also, I converted your reproducer into a regression test. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

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

2020-08-12 Thread miss-islington
miss-islington added the comment: New changeset 90eff4ed4445a0fa9d8cdf74c0f86c50ed510dad by Miss Islington (bot) in branch '3.9': bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838) https://github.com/python/cpython/commit/90eff4ed4445a0fa9d8cdf74c0f86c50ed510dad --

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

2020-08-12 Thread miss-islington
miss-islington added the comment: New changeset afff51fc09993dff1693aacb440221314b163409 by Miss Islington (bot) in branch '3.8': bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838) https://github.com/python/cpython/commit/afff51fc09993dff1693aacb440221314b163409 --

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

2020-08-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 369a1cbdee14d9f27356fb3a8bb21e4fde289d25 by Victor Stinner in branch 'master': bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838) https://github.com/python/cpython/commit/369a1cbdee14d9f27356fb3a8bb21e4fde289d25 --

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

2020-08-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +20969 pull_request: https://github.com/python/cpython/pull/21841 ___ Python tracker ___

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

2020-08-12 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +20968 pull_request: https://github.com/python/cpython/pull/21840 ___ Python tracker

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

2020-08-12 Thread STINNER Victor
STINNER Victor added the comment: I proposed a fix: PR 21838. Would you mind to review it? -- ___ Python tracker ___ ___

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

2020-08-12 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch nosy: +vstinner nosy_count: 3.0 -> 4.0 pull_requests: +20966 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21838 ___ Python tracker

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

2020-08-11 Thread STINNER Victor
Change by STINNER Victor : -- title: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise. -> codeop: 3.8.5 regression, warnings.simplefilter('error', SyntaxWarning) does not raise. ___ Python tracker