zeromq / pyre

Python port of Zyre
GNU Lesser General Public License v3.0
120 stars 52 forks source link

Socket.socket_type is deprecated for Socket.type #144

Closed AxelVoitier closed 4 years ago

AxelVoitier commented 4 years ago

Hello,

As said by https://github.com/zeromq/pyzmq/blob/bee745b3e4e5562651c68b0768eda43b4996ba7b/zmq/sugar/socket.py#L113, Socket.socket_type is deprecated. Socket.type should be used instead.

Otherwise it generates many DeprecationWarning.

Cheers, Axel