Python 3.11 regression
Answered
The bug report is here: https://github.com/python/cpython/issues/44604
However, the users who have posted thus far only reference a workaround for vs code:
@ewout, the current workaround (until pydevd is fixed) is to add -Xfrozen_modules=off to the Python command line.
There is also a reference to launch.json, which I assume is vs code configuration. What would be the equivalent in PyCharm? Thanks.
Please sign in to leave a comment.
oh, I forgot to mention that, in PyCharm, as a result of this I do *not* get a new python prompt, whether I use ctrl+c or open a new console. In the lower right corner I get the message 'connecting to console' which has been running for well over half an hour. Bottom line, I can't use 3.11 at all.
It should be fixed in 2022.3 https://youtrack.jetbrains.com/issue/PY-56939/CRITICAL-WARNING-error-debugging-Python-3.11-code
You can download it from https://www.jetbrains.com/pycharm/download/