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 <rep...@bugs.python.org> <http://bugs.python.org/issue28194> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com