[issue41766] Python3.10 (x64) crashes after flake8/pyflakes on Windows

2020-09-14 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> duplicate superseder: -> _ast module: get_global_ast_state() doesn't work with Mercurial lazy import ___ Python tracker ___

[issue41766] Python3.10 (x64) crashes after flake8/pyflakes on Windows

2020-09-12 Thread neonene
neonene added the comment: I applied PR 21961 to master and comfirmed no crash. I'll close this issue. Thanks for your quick reply. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue41766] Python3.10 (x64) crashes after flake8/pyflakes on Windows

2020-09-12 Thread STINNER Victor
STINNER Victor added the comment: If it's another _ast regression, see bpo-41631: I proposed PR 21961 to fix it. I failed to reproduce the issue on Linux with a debug build, on the development master branch: ./python -m venv env env/bin/python -m pip install pyflakes flake8 env/bin/python

[issue41766] Python3.10 (x64) crashes after flake8/pyflakes on Windows

2020-09-11 Thread neonene
Change by neonene : -- nosy: +pablogsal, vstinner -paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue41766] Python3.10 (x64) crashes after flake8/pyflakes on Windows

2020-09-11 Thread neonene
New submission from neonene : On Python3.10(64bit only) for Windows, flake8 (with .pyc cache) frequently crashes after output. e.g: python -m flake8 c:/Python3/Lib/turtle.py python -m pyflakes c:/Python3/Lib/turtle.py I think I encountered the crash after PR21293 applied. (bpo-41194: