zeromq / pyzmq

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

MNT: remove Python2 only code #1916

Closed tacaswell closed 9 months ago

tacaswell commented 9 months ago

These special methods were for Cython to support a version of the buffer protocol that was superceeded by PEP 3118 in Python 2.6 and removed from CPython in 3.0.

In Cython 3.1 will be remove support for these methods and fail at build time.

closes #1915

xref https://github.com/cython/cython/pull/5869/f

minrk commented 9 months ago

Thanks!

minrk commented 9 months ago

I'll add this to 25.1.2 in the morning: #1917

tacaswell commented 9 months ago

well, that was fast.

minrk commented 9 months ago

Perfect timing, since I meant to make 25.1.2 for #1913 yesterday, but forgot. Should propagate over the next hour or two. sdist is up.