Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stub file not found for "win32con" #1800

Closed
Avasam opened this issue Nov 16, 2021 · 4 comments · Fixed by kaluluosi/pywin32-stubs#4
Closed

Stub file not found for "win32con" #1800

Avasam opened this issue Nov 16, 2021 · 4 comments · Fixed by kaluluosi/pywin32-stubs#4

Comments

@Avasam
Copy link
Collaborator

Avasam commented Nov 16, 2021

Note that issues in this repository are only for bugs or feature requests in the pywin32.

If you need support or help using this package, please follow these instructions - support or help requests will be closed without comment.

For all bugs, please provide the following information.

  • Expected behavior and actual behavior.
    Type stubs to be available for win32con
  • Steps to reproduce the problem.
    Use PyLance/PyRight
    import win32con
  • Version of Python and pywin32
    Pyhton 3.9, pywin32-301
@mhammond
Copy link
Owner

I don't know what this bug report means.

@Avasam
Copy link
Collaborator Author

Avasam commented Nov 18, 2021

It means that Pyright / Pylance can't find a type stub for win32con. Here's one autogenerated: typings/win32con/__init__.pyi

@mhammond
Copy link
Owner

win32con is just a .py file - it sounds like you need a bug against Pyright / Pylance rather than here.

@Avasam
Copy link
Collaborator Author

Avasam commented Nov 18, 2021

pyi are type stubs

win32con is just a .py file - it sounds like you need a bug against Pyright / Pylance rather than here.

Actually from kaluluosi/pywin32-stubs , their PyPi page linked to here instead of their own project, making me think it was a monorepo for both packages.

@Avasam Avasam closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants