cpython/Python
Antoine Pitrou b7fbcd396f Issue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`,
where the right hand operand is a set of constants, by turning the set into
a frozenset and pre-building it as a constant.  The comparison operation
is made against the constant instead of building a new set each time it is
executed (a similar optimization already existed which turned a list of
constants into a pre-built tuple).  Patch and additional tests by Dave
Malcolm.
2010-01-16 18:37:38 +00:00
..
Python-ast.c regenerate Python-ast.c 2009-12-13 01:24:58 +00:00
_warnings.c Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
asdl.c
ast.c in wide builds, avoid storing high unicode characters from source code with surrogates 2009-10-28 21:59:39 +00:00
bltinmodule.c Fix typo (reported by terlop on IRC) 2009-12-19 21:19:35 +00:00
ceval.c Merge in the new GIL. 2009-11-10 19:50:40 +00:00
ceval_gil.h Try to strengthen condition-waiting under Windows. 2009-11-12 22:56:02 +00:00
codecs.c Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,75602-75607,75610-75613,75616-75617,75623,75627,75640,75647,75696,75795 via svnmerge from 2009-10-27 15:28:25 +00:00
compile.c Merged revisions 76575 via svnmerge from 2009-11-28 16:38:16 +00:00
dtoa.c Merged revisions 77519,77530,77533 via svnmerge from 2010-01-16 18:10:25 +00:00
dup2.c
dynload_aix.c
dynload_dl.c
dynload_hpux.c
dynload_next.c
dynload_os2.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
errors.c Merged revisions 77088 via svnmerge from 2009-12-28 08:41:01 +00:00
formatter_unicode.c Remove the uses of WITHOUT_COMPLEX introduced in r75471 2009-10-18 16:41:32 +00:00
frozen.c
frozenmain.c
future.c
getargs.c Merged revisions 77218 via svnmerge from 2010-01-01 19:27:32 +00:00
getcompiler.c
getcopyright.c Merged revisions 77203 via svnmerge from 2010-01-01 04:47:54 +00:00
getcwd.c
getopt.c
getplatform.c
getversion.c
graminit.c fix an ambiguity in the grammar from the implementation of extended unpacking 2009-09-27 02:43:28 +00:00
import.c remove magic number bumping from the 2.x -U option #7459 2009-12-10 02:09:08 +00:00
importdl.c
importdl.h
makeopcodetargets.py
marshal.c Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway) 2009-10-18 14:25:35 +00:00
modsupport.c Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway) 2009-10-18 14:25:35 +00:00
mysnprintf.c
mystrtoul.c
opcode_targets.h Merged revisions 72912,72920,72940 via svnmerge from 2009-06-28 03:18:59 +00:00
peephole.c Issue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`, 2010-01-16 18:37:38 +00:00
pyarena.c
pyctype.c
pyfpe.c
pymath.c Merged revisions 76978 via svnmerge from 2009-12-21 15:27:41 +00:00
pystate.c Merge in the new GIL. 2009-11-10 19:50:40 +00:00
pystrcmp.c
pystrtod.c Move some comments to more appropriate places 2009-10-26 14:36:29 +00:00
pythonrun.c Issue #4486: When an exception has an explicit cause, do not print its implicit context too. 2009-11-28 16:12:28 +00:00
sigcheck.c
strdup.c
structmember.c Merged revisions 77157 via svnmerge from 2009-12-30 19:44:54 +00:00
symtable.c Merged revisions 76423-76424 via svnmerge from 2009-11-20 01:19:41 +00:00
sysmodule.c Remove obsolete comment. 2009-11-10 22:38:52 +00:00
thread.c Disable support for Irix threads 2009-10-24 20:43:49 +00:00
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h
thread_os2.h
thread_pth.h
thread_pthread.h
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00