cpython/Python
Neal Norwitz 2f99b24172 Merged revisions 66006 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)

........
  r66006 | neal.norwitz | 2008-08-23 22:04:52 -0700 (Sat, 23 Aug 2008) | 25 lines

  Fix:
   * crashes on memory allocation failure found with failmalloc
   * memory leaks found with valgrind
   * compiler warnings in opt mode which would lead to invalid memory reads
   * problem using wrong name in decimal module reported by pychecker

  Update the valgrind suppressions file with new leaks that are small/one-time
  leaks we don't care about (ie, they are too hard to fix).

  TBR=barry
  TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes)
    in opt mode:
    valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
      ./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \
                          -x test_logging test_ssl test_multiprocessing
    valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \
      ./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
    for i in `seq 1 4000` ; do
      LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \
          ./python -c pass
    done

  At least some of these fixes should probably be backported to 2.5.
........
2008-08-24 05:48:10 +00:00
..
_warnings.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
asdl.c Merged revisions 64114 via svnmerge from 2008-06-18 00:47:36 +00:00
ast.c allow keyword args after *args in a function call 2008-08-19 20:57:10 +00:00
atof.c
bltinmodule.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
ceval.c apply a fix for #3611 where the current exception context was deleted with a generator causing a segfault 2008-08-20 23:23:34 +00:00
codecs.c Move the codec decode type checks to bytes/bytearray.decode(). 2008-06-06 12:18:17 +00:00
compile.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
dup2.c
dynload_aix.c
dynload_atheos.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_dl.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_hpux.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_next.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_os2.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_shlib.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
dynload_stub.c
dynload_win.c Fix typo. 2008-06-11 06:22:46 +00:00
errors.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
formatter_unicode.c
frozen.c
frozenmain.c
future.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
getargs.c Merged revisions 66006 via svnmerge from 2008-08-24 05:48:10 +00:00
getcompiler.c
getcopyright.c
getcwd.c
getmtime.c
getopt.c
getplatform.c
getversion.c
graminit.c allow keyword args after *args in a function call 2008-08-19 20:57:10 +00:00
import.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
importdl.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
importdl.h
marshal.c Merged revisions 65654 via svnmerge from 2008-08-13 15:53:07 +00:00
modsupport.c Correct a typo during previous checkin. 2008-07-04 21:34:47 +00:00
mysnprintf.c Merged revisions 63562,63570,63728,63734,63784,63788,63802,63817,63827,63839,63887,63975,63998 via svnmerge from 2008-06-10 17:40:04 +00:00
mystrtoul.c
peephole.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
pyarena.c
pyfpe.c
pymath.c
pystate.c Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from 2008-08-12 08:35:52 +00:00
pystrcmp.c
pystrtod.c Merged revisions 65125 via svnmerge from 2008-07-19 00:33:23 +00:00
Python-ast.c Implement PEP 3121: new module initialization and finalization API. 2008-06-11 05:26:20 +00:00
pythonrun.c fix #3653 Python could segfault if invalid values were passed to sys.excepthook 2008-08-23 20:08:07 +00:00
sigcheck.c
strdup.c
strtod.c
structmember.c Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00
symtable.c Merged revisions 65715,65724,65726,65732,65736-65739,65775 via svnmerge from 2008-08-17 18:02:44 +00:00
sysmodule.c Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,64888,64897,64900-64901,64915,64926-64929,64938-64941,64944,64961,64966,64973 via svnmerge from 2008-07-16 12:55:28 +00:00
thread.c Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from 2008-08-12 08:35:52 +00:00
thread_atheos.h
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 Rename PyUnicode_AsString -> _PyUnicode_AsString and 2008-08-07 18:54:33 +00:00