Re: [zeromq-dev] Problems with errno on Win32

2010-02-21 Thread Martin Sustrik
Hi Brian, >> I've istalled python 2.6.4. > > OK, this is one thing I need to try. I have running with Python 2.5 > right now. I will try 2.6. But, there are other odd things... > >>> 2. After building 0MQ, copy libzmq.dll and zmq.h into pyzmq\zmq >>> >>> 3. Build pyzmq: >>> >>> cd pyzmq >>> p

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

2010-02-21 Thread Carlos A. Rocha
> 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.) Awesome! Great work. Just what I was looking for. > I am thi

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

2010-02-21 Thread Brian Granger
Carlos, I went ahead and implemented the select.poll interface as well as select.select. The implementation was dead simple, so I didn't see any issue supporting both. But I agree, the select.poll interface is probably the nicer of the two. We are still doing some testing and tweaking of the AP

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

2010-02-21 Thread ntupel
On Tue, Feb 16, 2010 at 10:08 PM, Martin Sustrik 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 (socket

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

2010-02-21 Thread Martin Sustrik
ntu...@googlemail.com wrote: > On Tue, Feb 16, 2010 at 10:08 PM, Martin Sustrik 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

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

2010-02-21 Thread Martin Sustrik
Martin Sustrik wrote: > ntu...@googlemail.com wrote: >> On Tue, Feb 16, 2010 at 10:08 PM, Martin Sustrik 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

Re: [zeromq-dev] zmq on n900

2010-02-21 Thread Martin Sustrik
Whoa! Looks cool! I mean, COOL :) > (check attachment) > n900 is a Nokia linux phone/tablet based on ARMv7 core. > If there's interest in ARM platform I can do a proper port. In any case, if there were any tweaks necessary to make it work, they should surely be incorporated into the product. Bt