bpo-32925: Optimized iterating and containing test for literal lists by serhiy-storchaka · Pull Request #5842 · python/cpython

@serhiy-storchaka

consisting of non-constants: `x in [a, b]` and `for x in [a, b]`.
The case of all constant elements already was optimized.

@serhiy-storchaka

@serhiy-storchaka

jo2y pushed a commit to jo2y/cpython that referenced this pull request

Mar 23, 2018
…ythonGH-5842)

consisting of non-constants: `x in [a, b]` and `for x in [a, b]`.
The case of all constant elements already was optimized.