PyZMQ Documentation

Table Of Contents

This Page

Changes in PyZMQ

This is a coarse summary of changes in pyzmq versions. For a real changelog, consult the git log

2.1.9 (dev)

  • added zmq.ssh tools for tunneling socket connections, copied from IPython
  • Expanded sockopt support to cover changes in libzmq-4.0 dev.
  • Fixed an issue that prevented KeyboardInterrupts from being catchable.
  • Added attribute-access for set/getsockopt. Setting/Getting attributes of Sockets with the names of socket options is mapped to calls of set/getsockopt.
s.hwm = 10
s.identity = b'whoda'
s.linger
# -1
  • Terminating a Context closes the sockets it created, matching the behavior in czmq.
  • ThreadDevices use Context.instance() to create sockets, so they can use inproc connections to sockets in other threads.
  • fixed units error on zmq.select(), where the poll timeout was 1000 times longer than expected.
  • Add missing DEALER/ROUTER socket type names (currently aliases, to be replacements for XREP/XREQ).
  • base libzmq dependency raised to 2.1.4 (first stable release) from 2.1.0.

2.1.7.1

  • bdist for 64b Windows only. This fixed a type mismatch on the ZMQ_FD sockopt that only affected that platform.

2.1.7

2.1.4

  • First version with binary distribution support
  • Added instance() method for using a single Context throughout an application without passing references around.