[New-bugs-announce] [issue23261] Clean-up set.pop() search finger logic

Raymond Hettinger report at bugs.python.org
Sun Jan 18 04:08:31 CET 2015


New submission from Raymond Hettinger:

The existing search finger is stored in a hackish way (using the hash field of entry zero in the hash table).  Replace this with normal coding techniques (saving the field in the set object).

Cost one extra field in the set object.  Benefit, remove an arcane hack and simplify the set.pop() code just a little bit.

----------
assignee: rhettinger
components: Interpreter Core
files: finger.diff
keywords: patch
messages: 234216
nosy: rhettinger
priority: low
severity: normal
status: open
title: Clean-up set.pop() search finger logic
versions: Python 3.5
Added file: http://bugs.python.org/file37753/finger.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23261>
_______________________________________


More information about the New-bugs-announce mailing list