cpython/Include
Raymond Hettinger 060641d511 Improved the bytecode optimizer.
* Can now test for basic blocks.
* Optimize inverted comparisions.
* Optimize unary_not followed by a conditional jump.
* Added a new opcode, NOP, to keep code size constant.
* Applied NOP to previous transformations where appropriate.

Note, the NOP would not be necessary if other functions were
added to re-target jump addresses and update the co_lnotab mapping.
That would yield slightly faster and cleaner bytecode at the
expense of optimizer simplicity and of keeping it decoupled
from the line-numbering structure.
2003-04-22 06:49:11 +00:00
..
Python.h
abstract.h Fix spelling and grammar. 2003-02-28 05:11:03 +00:00
bitset.h
boolobject.h
bufferobject.h
cStringIO.h SF bug #670229: doc improvement for cStringIO.h 2003-01-19 00:45:01 +00:00
cellobject.h
ceval.h As far as I can tell PyEval_GetOwner was removed in 1997 (when it was 2003-02-20 17:59:17 +00:00
classobject.h Typo repair. 2003-04-08 18:47:21 +00:00
cobject.h
codecs.h
compile.h Small function call optimization and special build option for call stats. 2003-02-05 23:13:00 +00:00
complexobject.h
datetime.h Got rid of the internal datetimetz type. 2003-01-11 03:39:11 +00:00
descrobject.h SF 548651: Fix the METH_CLASS implementation. 2002-12-09 22:56:13 +00:00
dictobject.h Constify char* API. Fixes #651363. 2.2 candidate. 2002-12-11 13:21:12 +00:00
enumobject.h
errcode.h
eval.h - New function sys.call_tracing() allows pdb to debug code 2003-04-09 19:06:21 +00:00
fileobject.h
floatobject.h New private API functions _PyFloat_{Pack,Unpack}(4,8}. This is a 2003-03-20 20:53:32 +00:00
frameobject.h
funcobject.h Provide __module__ attributes for functions defined in C and Python. 2003-01-31 18:33:18 +00:00
graminit.h
grammar.h
import.h
intobject.h SF # 595026: support for masks in getargs.c. 2003-04-17 18:55:45 +00:00
intrcheck.h
iterobject.h
listobject.h
longintrepr.h
longobject.h SF # 595026: support for masks in getargs.c. 2003-04-17 18:55:45 +00:00
marshal.h Fix SF bug #697256, PyMarshal_WriteShortToFile() documented, but not implemented 2003-03-06 22:04:24 +00:00
metagrammar.h
methodobject.h Provide __module__ attributes for functions defined in C and Python. 2003-01-31 18:33:18 +00:00
modsupport.h
moduleobject.h
node.h
object.h _Py_PrintReferences(): Changed to print object address at start of each 2003-04-17 19:52:29 +00:00
objimpl.h - New C API PyGC_Collect(), same as calling gc.collect(). 2003-04-17 17:29:22 +00:00
opcode.h Improved the bytecode optimizer. 2003-04-22 06:49:11 +00:00
osdefs.h
parsetok.h Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to 2003-04-17 14:55:42 +00:00
patchlevel.h Update PY_VERSION to indicate that we're beyond 2.3a2 now. 2003-02-20 18:46:54 +00:00
pgen.h Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to 2003-04-17 14:55:42 +00:00
pgenheaders.h
py_curses.h Moved the Apple workaround for the guard define for wchar_t out of 2003-02-28 12:51:18 +00:00
pydebug.h Update comment, QnewFlag will go away in 3.0, not 2.3 2003-01-13 16:08:56 +00:00
pyerrors.h Constify filenames and scripts. Fixes #651362. 2002-12-11 14:04:59 +00:00
pyfpe.h
pygetopt.h
pymactoolbox.h It turns out that some calls return AEDesc records that are "borrowed", 2003-01-17 23:11:17 +00:00
pymem.h Remove MALLOC_ZERO_RETURNS_NULL. 2002-11-23 09:13:40 +00:00
pyport.h Rename LONG_LONG to PY_LONG_LONG. Fixes #710285. 2003-03-29 10:06:18 +00:00
pystate.h New PyGILState_ API - implements pep 311, from patch 684256. 2003-04-19 15:41:53 +00:00
pythonrun.h - Finally fixed the bug in compile() and exec where a string ending 2003-02-13 22:07:59 +00:00
pythread.h New PyGILState_ API - implements pep 311, from patch 684256. 2003-04-19 15:41:53 +00:00
rangeobject.h
sliceobject.h
stringobject.h
structmember.h
structseq.h
symtable.h Constify filenames and scripts. Fixes #651362. 2002-12-11 14:04:59 +00:00
sysmodule.h
token.h
traceback.h
tupleobject.h
ucnhash.h
unicodeobject.h
weakrefobject.h