[zeromq-dev] Python bindings with poll.

Brian Granger ellisonbg at gmail.com
Wed Feb 24 21:26:38 CET 2010


Carlos,

> I did! :) The implementation I submitted also mirrors select.poll. In
> fact, I derived it from CPython's code, and hence why it was faster
> and easier for me to code poll instead of it using your bindings.

Great, that means I made a good decision to implement that interface.

>> But, I am still seeing some problems in my test suite for poll that I
>> haven't tracked down yet.
>
> Yes, I got problems on my first tests with your bindings. Have you
> tried the latest zmq code? When I did the CPython poll implementation,
> I found a bug in zmq_recv that Martin fixed. The patch is here:
> http://github.com/rocha/zeromq2/commit/2dd55605ea3956413cb25cab705ffdbdb2e00da5

I saw that and haven't tested it since then (other than on windows
where it segfaulted).

> The bug was causing mayor problems with my tests, but now all seems to
> work well.

Great, I will hopefully test more later today with the latest zmq.
Let me know if you test
this any further.

Cheers,

Brian

> -- Carlos
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the zeromq-dev mailing list