[zeromq-dev] odd zmqstream.py behavior
Brian Granger
ellisonbg at gmail.com
Tue Oct 5 05:20:02 CEST 2010
Hi,
Min and I looked at this today and this is a bug in pyzmq. When a
callback in the eventloop raises, we are currently closing the socket,
which we should not do. We are still figuring out the error handling
symantics, but we should have a fix in place soon in pyzmq master.
Cheers,
Brian
On Fri, Oct 1, 2010 at 7:08 PM, Pieter Hintjens <ph at imatix.com> wrote:
> On Sat, Oct 2, 2010 at 3:58 AM, Steve Huffman <steve at hipmunk.com> wrote:
>
>> I don't think so. I'll try the new version, but what the behavior I'm seeing
>> is zmq_close() doesn't return when an exception is thrown in the callback.
>
> I didn't read your email properly, sorry... zmq_close() should not block.
>
> If you can follow what zmqstream is doing, and get a straight pyzmq
> example that has the same behavior, that'll make it easier to debug.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
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