[zeromq-dev] PyZMQ 2.1.10

MinRK benjaminrk at gmail.com
Fri Oct 14 02:53:32 CEST 2011


PyZMQ 2.1.10 release has been cut, with the usual binaries that include
libzmq-2.1.10 on Windows and OSX.

Two principal changes:

send/recv_multipart have convenient support for label prefixes when using
libzmq3:

s.send_multipart([msg,parts], prefix=[label,parts])
(labels,parts) = s.recv_multipart()

This has been added in such a way that existing code does not change at all:
(labels,parts) is only returned if there are labels to receive. Otherwise,
it is the same single msg_parts list as before.

new method ctx.destroy() copied from czmq will shutdown sockets, optionally
setting linger as well. For threadsafety reasons, destroy will *not* be
called on garbage collection.


Please do let me know if I messed something up,

-MinRK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111013/ed56beae/attachment.htm>


More information about the zeromq-dev mailing list