Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Actually fix the version check in _poll() #10

merged 1 commit into from

2 participants


Comparing c_int() should be done using .value, not the wrapper's id -- otherwise it will randomly choose.

@svpcom svpcom merged commit 205b0a1 into svpcom:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 7, 2012
  1. @bdkearns
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  zmq/
2  zmq/
@@ -517,7 +517,7 @@ def _poll(sockets, timeout=-1):
timeout : int
The number of milliseconds to poll for. Negative means no timeout.
- if major < c_int(3):
+ if major.value < 3:
# timeout is us in 2.x, ms in 3.x
# expected input is ms (matches 3.x)
timeout = 1000 * timeout
Something went wrong with that request. Please try again.