[issue29957] unnecessary LBYL for key contained in defaultdict, lib2to3/btm_matcher

Benjamin Peterson report at bugs.python.org
Sun Apr 2 02:02:33 EDT 2017


Benjamin Peterson added the comment:


New changeset 11fa3c7cd1b151e302d4eee0369cafbaf151c8fb by Benjamin Peterson (Michael Selik) in branch 'master':
bpo-29957: change LBYL key lookup to dict.setdefault (#938)
https://github.com/python/cpython/commit/11fa3c7cd1b151e302d4eee0369cafbaf151c8fb


----------

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


More information about the Python-bugs-list mailing list