spacy.load() on python 3.12 with vscode #13266
Replies: 3 comments
-
Thanks for the report! So basically the issue is that |
Beta Was this translation helpful? Give feedback.
-
Yeah that is what I suspect is the case. The issue is caused by large python files since Python 3.12 triggers an event for each line slowing the debugger down. They appear to be refactoring the VSCode to use some new 3.12 dedicated APIs. In theory spacy could "fix" this by changing relevant files to put everything on a single line. |
Beta Was this translation helpful? Give feedback.
-
Right, thanks for the additional explanation! I don't think we'd want to adjust spaCy's core files to accomodate this "feature" by VSCode at this point in time, but let me move this to the discussion forum so we can keep track of this thread and keep the discussion open to anyone. |
Beta Was this translation helpful? Give feedback.
-
I think this is technically not a bug in this repo but it will likely affect other people too.
I have also found the same behavior in this carpedm20/emoji#280, which led to the creation of this ticket microsoft/debugpy#1496
How to reproduce the behaviour
Call
spacy.load()
using Python 3.12 when launching using VSCode.Your Environment
Beta Was this translation helpful? Give feedback.
All reactions