dev-python/pyzmq: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/5352
This commit is contained in:
Michael Mair-Keimberger (asterix)
2017-08-08 10:26:05 +02:00
committed by David Seifert
parent e48e6a67c2
commit 396e9d5dd9

View File

@@ -1,33 +0,0 @@
From 659f9211aad1565543e26ef6877456d017c9d5bb Mon Sep 17 00:00:00 2001
From: Min RK <benjaminrk@gmail.com>
Date: Tue, 8 Mar 2016 09:17:05 +0100
Subject: [PATCH] remove unused, deprecated `_handle`
Cython 0.24 may not support property assignment
---
zmq/backend/cython/context.pyx | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/zmq/backend/cython/context.pyx b/zmq/backend/cython/context.pyx
index 2cb7409..3595c10 100644
--- a/zmq/backend/cython/context.pyx
+++ b/zmq/backend/cython/context.pyx
@@ -108,16 +108,12 @@ cdef class Context:
if self._n_sockets:
# move last handle to closed socket's index
self._sockets[idx] = self._sockets[self._n_sockets]
-
-
+
@property
def underlying(self):
"""The address of the underlying libzmq context"""
return <size_t> self.handle
-
- # backward-compat, though nobody is using it
- _handle = underlying
-
+
cdef inline int _term(self):
cdef int rc=0
if self.handle != NULL and not self.closed and getpid() == self._pid: