Skip to content

Commit b6a206f

Browse files
committed
Remove picklable functions.
We don't need to make singleton picklabe based on the current tests.
1 parent 4a7e0ee commit b6a206f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Lib/concurrent/interpreters/_crossinterp.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,6 @@ def __repr__(self):
6868
return f'{self._MODULE}.{self._NAME}'
6969
# return f'interpreters._queues.UNBOUND'
7070

71-
def __hash__(self):
72-
return hash((self._NAME, self._MODULE))
73-
74-
def __reduce__(self):
75-
return self._NAME
76-
77-
def __eq__(self, other):
78-
if other is self:
79-
return True
80-
return repr(other) == repr(self)
81-
8271

8372
UNBOUND = object.__new__(UnboundItem)
8473
UNBOUND_ERROR = object()

0 commit comments

Comments
 (0)