[zeromq-dev] Design question: python interface for zmq_poll

Martin Sustrik sustrik at 250bpm.com
Mon Feb 22 08:18:24 CET 2010


ntupel at googlemail.com wrote:
> On Tue, Feb 16, 2010 at 10:08 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:
>> Brian,
>>
>>> My Python bindings have support for zmq_poll now:
>>>
>>> http://github.com/ellisonbg/pyzmq/blob/master/zmq/_zmq.pyx#L436
>>>
>>> This handles both 0MQ sockets as well as any Python object that has a fileno()
>>> function (sockets, files, etc.)
>> Nice! AFAIK this is the first binding (aside of C and C++) that's able
>> to combine polling for BSD and 0MQ sockets.
> 
> I think the Haskell binding has always supported this.

Oops. I wasn't aware of this. Feel free to make it clear on the mailing 
list!

Martin



More information about the zeromq-dev mailing list