-
Notifications
You must be signed in to change notification settings - Fork 632
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
zmq/eventloop/zmqstream.py, python3 doesn't have callable #79
Comments
I'll merge this one before we cut the release, thanks. The 2to3 hasattr check is not equivalent to callable, but it should be just fine for our purposes. |
Just to add: callable is actually back in Python 3.2. I appreciate that we want to support 3.1 and probably 3.0, but that might inform how we do it. |
Thanks, that helps. I'll do a name check at the top, and add callable as a lambda at the top if it's undefined. |
add callable where undefined (3.x < 3.2) include test closed by 2632a5c |
include test closes zeromqgh-79
zmqstream.py has:
in python3 it should be
The text was updated successfully, but these errors were encountered: