You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where would you expect it to take you in this case? There is no unicodedata.py file. This module is implemented in C and compiled as part of the Python interpreter. That means there is no source code on your system that can be displayed. Pylance is falling back to the type stubs in this case because they at least provide you with the interface definitions for this module.
Well, that sounds completely reasonable to me. But I suggest adding a heading comment for such stub files, telling for why the stub file is chosen to shown up.
So there will be less persons be confused by pylance not carrying them to the actual .py files.
For python 3.8.10, with pylance v2023.1.10
Ctrl+Click
onunicodedata
jumps to the damn stub file, that's frustrating and drives me crazy.Issues I read:
But none of them actually solves the problem.
What in the end is the meaning for creating such stub files? Python is not C/C++, it does not need a header file!
The text was updated successfully, but these errors were encountered: