Can't debug Falcon in Python 3.10 #2113
-
|
At least in PyCharm, when running in debug mode (so with Type Checking on), in Python 3.10 specifically, importing falcon adds a a property called To reproduce simply debug this code: The output when running with a debugger is: When running without a debugger it correctly raises Additional Information: This seems to happen inside |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Hi, This is a pycharm bug, I'm not sure how can we fix this our side. The falcon library is not doing that anywhere. A collegue of mine already reported it on pycharm side https://youtrack.jetbrains.com/issue/PY-54853 |
Beta Was this translation helpful? Give feedback.
-
|
You can bypass the problem by deleting the cythonized falcon libraries in the site packages, as a workaround. |
Beta Was this translation helpful? Give feedback.
-
|
Adding to @DavideCanton's answer, you can also install Falcon without binaries: |
Beta Was this translation helpful? Give feedback.
Adding to @DavideCanton's answer, you can also install Falcon without binaries: