Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove picklable functions.
We don't need to make singleton picklabe based on the current tests.
  • Loading branch information
note35 committed Dec 11, 2025
commit b6a206f17d467398eba17da3c89b86c35a36ada5
11 changes: 0 additions & 11 deletions Lib/concurrent/interpreters/_crossinterp.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,6 @@ def __repr__(self):
return f'{self._MODULE}.{self._NAME}'
# return f'interpreters._queues.UNBOUND'

def __hash__(self):
return hash((self._NAME, self._MODULE))

def __reduce__(self):
return self._NAME

def __eq__(self, other):
if other is self:
return True
return repr(other) == repr(self)


UNBOUND = object.__new__(UnboundItem)
UNBOUND_ERROR = object()
Expand Down