Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
use ROUTER/DEALER socket names instead of XREP/XREQ #758
This is principally a big find/replace, but also adjusts the import-check for pyzmq/zmq versions in IPython.zmq and IPython.parallel (allowing for two-digit entries in version comparisons, in case of possible 2.1.10 release).
XREP/XREQ are aliases for ROUTER/DEALER in 0MQ 2.1.x, so there is actually no change in behavior. However, these sockets continue to exist in 3.0 under the ROUTER/DEALER names only. The XREP/XREQ protocols change some in 3.0, and won't work properly with current IPython.
It is likely that once 3.0 is stable (and pyzmq supports it better), we will want to move some sockets back to the new XREP/XREQ, but this PR should make IPython safe through libzmq-3.x.