cpython/Python
Raymond Hettinger f114a3ae63 Refactor and optimize code for UNPACK_SEQUENCE.
* Defer error handling for wrong number of arguments to the
  unpack_iterable() function.  Cuts the code size almost in half.

* Replace function calls to PyList_Size() and PyTuple_Size() with
  their smaller and faster macro counterparts.

* Move the constant structure references outside of the inner loops.
2004-03-08 23:25:30 +00:00
..
.cvsignore
atof.c
bltinmodule.c Fix input() builtin function to respect compiler flags. 2004-02-02 13:39:01 +00:00
ceval.c Refactor and optimize code for UNPACK_SEQUENCE. 2004-03-08 23:25:30 +00:00
codecs.c Fix gcc 3.3 warnings related to Py_UNICODE_WIDE. 2003-12-29 01:36:01 +00:00
compile.c SF patch #910929: Optimize list comprehensions 2004-03-07 07:31:06 +00:00
dup2.c
dynload_aix.c Include Python.h first which defines _XOPEN_SOURCE 2003-03-22 16:35:37 +00:00
dynload_atheos.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c Fix SF # 551504, python -v sometimes fails to find init (HPUX) 2002-11-02 20:58:05 +00:00
dynload_next.c Squashed compiler warnings by adding casts, making sure prototypes are in 2002-12-23 21:03:36 +00:00
dynload_os2.c
dynload_shlib.c Patch #708495: Port more stuff to OpenVMS. 2003-05-03 09:14:54 +00:00
dynload_stub.c
dynload_win.c Fix a couple of whitespace consistency nits. 2002-08-26 21:20:30 +00:00
errors.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
exceptions.c Simplify and speedup uses of Py_BuildValue(): 2003-10-12 19:09:37 +00:00
fmod.c
frozen.c
frozenmain.c
future.c Constify filenames and scripts. Fixes #651362. 2002-12-11 14:04:59 +00:00
getargs.c Patch #684981: Add cleanup capability for argument parsers. Fixes 501716. 2003-05-03 10:00:22 +00:00
getcompiler.c
getcopyright.c Another copyright update. (JvR: can you backport this to the 2.3a1 2003-01-02 16:27:15 +00:00
getcwd.c
getmtime.c
getopt.c
getplatform.c
getversion.c
graminit.c
hypot.c
import.c Add comment to mollify Tim. 2004-01-02 23:25:32 +00:00
importdl.c Patch #794826: Add __file__ in dynamically loaded modules for multiple 2003-09-04 18:45:59 +00:00
importdl.h PEP 302 + zipimport: 2002-12-30 22:08:05 +00:00
mactoolboxglue.c Getting rid of code conditional on TARGET_API_MAC_*. 2003-11-19 16:34:04 +00:00
marshal.c Bug #794140: cygwin builds do not embed 2003-09-04 11:59:50 +00:00
memmove.c
modsupport.c Getting rid of support for the ancient Apple MPW compiler. 2003-11-19 15:24:47 +00:00
mysnprintf.c
mystrtoul.c Getting rid of support for the ancient Apple MPW compiler. 2003-11-19 15:24:47 +00:00
pyfpe.c
pystate.c Initialize thread_id to 0 in unthreaded build. Fixes #770247. 2003-07-13 10:41:53 +00:00
pythonrun.c remove support for missing ANSI C header files (limits.h, stddef.h, etc). 2004-02-10 16:50:21 +00:00
sigcheck.c
strdup.c
strerror.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
strtod.c
structmember.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
symtable.c Fix for SF [ 734869 ] Lambda functions in list comprehensions 2003-05-21 17:34:50 +00:00
sysmodule.c Move initialization of sys.std{in,out}.encoding to Py_Initialize. 2003-08-09 09:47:11 +00:00
thread.c remove support for missing ANSI C header files (limits.h, stddef.h, etc). 2004-02-10 16:50:21 +00:00
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h An Anonymous Coward on c.l.py posted a little program with bizarre 2003-07-04 04:40:45 +00:00
thread_os2.h reformat for PEP-7 style conformance 2002-12-04 12:29:37 +00:00
thread_pth.h Patch #805613: Fix usage of the PTH library. 2003-09-20 11:13:36 +00:00
thread_pthread.h SF Patch #902444: Use process scope thread on FreeBSD. System scope 2004-03-04 06:35:57 +00:00
thread_sgi.h Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld 2004-01-17 04:04:13 +00:00
thread_solaris.h Patch #716969: Detect thread creation failure. Will backport to 2.2. 2003-04-19 07:44:52 +00:00
thread_wince.h
traceback.c Getting rid of support for the ancient Apple MPW compiler. 2003-11-19 15:24:47 +00:00