[zeromq-dev] patch for libpyzmq

Martin Sustrik sustrik at fastmq.com
Tue Jan 27 19:16:07 CET 2009


Hi Erich,

> I have created small patch for pyzmq (it will apply cleanly to 0.4 and 
> trunk), which is attached below. This changes the return value of 
> ZMQ.receive.  Instead of only returning the message, it also returns the 
> queue_id. These return values are packed into a tuple, allowing the use 
> of the python idiom of:
> 
> queue_id, msg = ZMQinstance.receive() 
> 
> This allows for much more sophisticated use of zmq, without much change.

Thanks for the patch! However, to make it possible to merge it to the 
mainline you have to state that the patch is licensed under MIT license. 
It is kind of annoying but as 0mq is primarily focused on financial 
services sector, we need clear licensing policy.

> On a related note... Can someone tell me about the plans for the python 
> bindings in upcoming versions.

We'll going to support existing functionality in the future. As for 
adding new features it depends on requirements from our customers. 
Still, if you are missing something, feel free to express your interest 
on the mailing list.

Martin



More information about the zeromq-dev mailing list