[issue45907] Optimize literal comparisons and contains

Raymond Hettinger report at bugs.python.org
Fri Nov 26 21:06:44 EST 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

This PR looks to be the same as one that was recently rejected.

Compare:
   https://github.com/python/cpython/pull/29639/files
   https://github.com/python/cpython/pull/29810/files

See discussion at:
   https://bugs.python.org/issue45843

----------
nosy: +BTaskaya, pablogsal, rhettinger, serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45907>
_______________________________________


More information about the Python-bugs-list mailing list