[New-bugs-announce] [issue28194] Clean up some checks in dict implementation

Xiang Zhang report at bugs.python.org
Sun Sep 18 05:12:17 EDT 2016


New submission from Xiang Zhang:

The proposed patch cleans up some unnecessary parts in dict implementation especially NULL checks in lookup functions. There are four states a DictKeyEntry can be. Only in unused(empty) and dummy states me_key can be NULL. So NULL checks in used and pending states are not needed.

----------
components: Interpreter Core
files: dict_clean_up.patch
keywords: patch
messages: 276875
nosy: haypo, methane, serhiy.storchaka, xiang.zhang
priority: normal
severity: normal
stage: patch review
status: open
title: Clean up some checks in dict implementation
type: enhancement
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file44734/dict_clean_up.patch

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


More information about the New-bugs-announce mailing list