[zeromq-dev] pyczmq and ctx.set_linger()
Greg Ward
greg at gerg.ca
Fri Jan 17 21:13:53 CET 2014
On 17 January 2014, MinRK said:
> > Would it make sense for pyzmq to wrap CZMQ as well?
>
> I don't think it would. Most of the things czmq adds to libzmq are more
> logically reimplemented in Python, rather than exposed by linking anothing
> library. The added C dependency would also be too much of a pain, given the
> minimal benefit it provides at the Python level.
For zctx, zsocket, zsockopt: yes. For zstr, zlist: even more so!
But for zcert, zauth: unclear. There's a fair amount of code in those
two CZMQ modules, it's security-critical code, and the way to do it
without CZMQ is not obvious. IOW, if you want secure authentication
with 0MQ 4 and Python, you pretty much need pyczmq. It would be nice
if I could do secure authentication with just pyzmq, without
reimplementing zcert.c and zauth.c.
Greg
More information about the zeromq-dev
mailing list