Re: [zeromq-dev] Question about python binding generator

2015-11-06 Thread Joe McIlvain
The reason that method is static/singleton (which in this case, we use interchangably) is because the "self" argument does not have to be an instance of `zsock_t` (it could also be a libzmq socket pointer already). Essentially, the "self" argument can be any arbitrary object as far as the bindings

Re: [zeromq-dev] [ANN] pyzmq 15 with asyncio/tornado Future support

2015-11-06 Thread Jean Chassoul
This is awesome, I notice that you already update the docs but maybe some little examples of how use tornado coroutines and Futures will be awesome!, I plan to update my code and use them as soon as I understand how mix the magic with zmq powers!, love the streams and tornado ioloop inside pyzmq,

Re: [zeromq-dev] [ANN] pyzmq 15 with asyncio/tornado Future support

2015-11-06 Thread Jean Chassoul
doing a little bit more of searching I found the example on the usual places... like de examples directory on github, heh, I just want to say again thank you! https://github.com/zeromq/pyzmq/blob/master/examples/eventloop/coroutines.py <3 On Fri, Nov 6, 2015 at 4:37 PM, Jean Chassoul

Re: [zeromq-dev] New ZeroMQ project: zwebrap

2015-11-06 Thread Kevin Sapper
I like it, very catchy :) Am 06.11.2015 2:37 nachm. schrieb "Pieter Hintjens" : > As for names, my brain was trying to parse it as "zebra"... > > On Fri, Nov 6, 2015 at 2:35 PM, Pieter Hintjens wrote: > > Very neat! > > > > > > > > On Thu, Nov 5, 2015 at 10:00

[zeromq-dev] Question about python binding generator

2015-11-06 Thread Arnaud Loonstra
Hi all, I'm a bit puzzled. For example if I use czmq's zsock in Python I can retrieve the underlying socket using the resolve method. This method is defined as a static method in Python: https://github.com/zeromq/czmq/blob/master/bindings/python/czmq.py#L2233 The way it is defined I need to

Re: [zeromq-dev] New ZeroMQ project: zwebrap

2015-11-06 Thread Arnaud Loonstra
You could append the 'p' again zebrap Rg, Arnaud On 2015-11-06 15:47, Kevin Sapper wrote: > I like it, very catchy :) > Am 06.11.2015 2:37 nachm. schrieb "Pieter Hintjens" [9]>: > >> As for names, my brain was trying to parse it as "zebra"... >> >> On Fri, Nov 6, 2015 at

Re: [zeromq-dev] New ZeroMQ project: zwebrap

2015-11-06 Thread Pieter Hintjens
As for names, my brain was trying to parse it as "zebra"... On Fri, Nov 6, 2015 at 2:35 PM, Pieter Hintjens wrote: > Very neat! > > > > On Thu, Nov 5, 2015 at 10:00 AM, Kevin Sapper wrote: >> Hi, >> >> >> I like to announce a new project I moved to the

Re: [zeromq-dev] New ZeroMQ project: zwebrap

2015-11-06 Thread Arnaud Loonstra
On 2015-11-05 10:00, Kevin Sapper wrote: > Hi, > > I like to announce a new project I moved to the ZeroMQ community. Its > name is zwebrap[1 [1]] and its purpose is to convert HTTP requests > into XRAP[2 [2]] requests and XRAP responses into HTTP responses. It > has been develop for my employer

Re: [zeromq-dev] New ZeroMQ project: zwebrap

2015-11-06 Thread Kevin Sapper
Hi Arnaud, the rfc one is the more recent version. I will apply it to zwebrap on the weekend. Thanks! //Kevin Am 06.11.2015 12:35 nachm. schrieb "Arnaud Loonstra" : > On 2015-11-05 10:00, Kevin Sapper wrote: > > Hi, > > > > I like to announce a new project I moved to the

Re: [zeromq-dev] gssapi and pyzmq

2015-11-06 Thread Tevesz Ágnes
Thank you! This is great, I'll definitely try it. On Nov 6, 2015 1:57 PM, "MinRK" wrote: > https://github.com/zeromq/pyzmq/pull/745 should add GSSAPI to pyzmq, if > you want to give it a test. > > On Thu, Nov 5, 2015 at 3:55 PM, Tevesz Ágnes >

Re: [zeromq-dev] Deadlock with ctx_term

2015-11-06 Thread Michel Pelletier
On Fri, Nov 6, 2015 at 3:12 AM, Alexander Kampmann < s9alk...@stud.uni-saarland.de> wrote: > hey, > I am using ZeroMQ in Java with PUSH and PULL sockets. > > Basically everything is working as excepted, however, sometimes the call > to close() on the context deadlocks (jzmq makes that a term()

Re: [zeromq-dev] Deadlock with ctx_term

2015-11-06 Thread Alexander Kampmann
No, sorry, I can not share the code. It is not a small example, but a system test for my entire project. So, in the debugger it looks like context close is waiting for the reaper thread to remove the last socket, but the reaper thread already terminated, without destroying all sockets. I'll try

[zeromq-dev] Deadlock with ctx_term

2015-11-06 Thread Alexander Kampmann
hey, I am using ZeroMQ in Java with PUSH and PULL sockets. Basically everything is working as excepted, however, sometimes the call to close() on the context deadlocks (jzmq makes that a term() call on the context). The deadlock occurs with jzmq and jeromq, and it would be rather strange if two

Re: [zeromq-dev] New ZeroMQ project: zwebrap

2015-11-06 Thread Pieter Hintjens
Very neat! On Thu, Nov 5, 2015 at 10:00 AM, Kevin Sapper wrote: > Hi, > > > I like to announce a new project I moved to the ZeroMQ community. Its name > is zwebrap[1] and its purpose is to convert HTTP requests into XRAP[2] > requests and XRAP responses into HTTP

Re: [zeromq-dev] gssapi and pyzmq

2015-11-06 Thread MinRK
https://github.com/zeromq/pyzmq/pull/745 should add GSSAPI to pyzmq, if you want to give it a test. On Thu, Nov 5, 2015 at 3:55 PM, Tevesz Ágnes wrote: > Hi, > > I would like to ask that do you plan to expose the Kerberos security > mechanism in PyZMQ too? I know the