[New-bugs-announce] [issue8758] BUILD_LIST followed by BINARY_SUBSCR can be optimized to a BUILD_TUPLE if all members of the list are constants

Alex report at bugs.python.org
Tue May 18 23:46:10 CEST 2010


New submission from Alex <alex.gaynor at gmail.com>:

We do the same thing for a BUILD_LIST followed by a COMPARE_OP (in).

----------
components: Interpreter Core
messages: 106008
nosy: alex
priority: normal
severity: normal
status: open
title: BUILD_LIST followed by BINARY_SUBSCR can be optimized to a BUILD_TUPLE if all members of the list are constants
versions: Python 2.7, Python 3.3

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


More information about the New-bugs-announce mailing list