We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
26.2.0
4.3.5
Python 3.12.5
macOS 14.5 (23F79)
When instantiating an zmq.asyncio.Context exactly as described in the docs, I get a type error:
zmq.asyncio.Context
Everything is functionally fine if I add a # type: ignore to ignore the type error, but of course not ideal to have to do that!
# type: ignore
import zmq.asyncio zmq_context = zmq.asyncio.Context()
No response
The text was updated successfully, but these errors were encountered:
Can you share more of how you are doing the type checking? Because all the type checking tests pass, so it might be a problem in the env or checker.
Sorry, something went wrong.
Looks like pyright doesn't understand the use of generics the same way mypy does. Fixed by #2032.
Sorry I didn’t see the earlier reply. And thanks for fixing it! ❤️
Successfully merging a pull request may close this issue.
This is a pyzmq bug
What pyzmq version?
26.2.0
What libzmq version?
4.3.5
Python version (and how it was installed)
Python 3.12.5
OS
macOS 14.5 (23F79)
What happened?
When instantiating an
zmq.asyncio.Context
exactly as described in the docs, I get a type error:Everything is functionally fine if I add a
# type: ignore
to ignore the type error, but of course not ideal to have to do that!Code to reproduce bug
Traceback, if applicable
No response
More info
No response
The text was updated successfully, but these errors were encountered: