zeromq / pyzmq

PyZMQ: Python bindings for zeromq
http://zguide.zeromq.org/py:all
BSD 3-Clause "New" or "Revised" License
3.62k stars 635 forks source link

make socket.bind('tcp://127.0.0.1:0') work as a context manager #1956

Closed minrk closed 4 months ago

minrk commented 4 months ago

so it can be used to bind to random ports

closes #1468