cpython/Misc
Neal Norwitz 18aa388ca0 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:04:52 +00:00
..
RPM Bump to 2.6b3. 2008-08-21 01:15:08 +00:00
TextMate/Python-Dev.tmbundle Add a snippet for the deprecation directive for docs. 2008-05-15 04:36:53 +00:00
Vim Update Vim syntax highlighting to specify what revision was used to generate 2008-01-29 04:18:04 +00:00
ACKS Keep sorted. 2008-07-16 00:00:04 +00:00
AIX-NOTES
BeOS-NOTES Remove Mikael as the maintainer of BeOS at his request. With no maintainer 2007-08-18 18:30:36 +00:00
BeOS-setup.py Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
build.sh test_httpservers has unpredictable refcount behavior. 2008-05-19 16:47:25 +00:00
cheatsheet ConfigParser renaming reversal part 3: move module into place and adapt imports. 2008-05-25 07:25:25 +00:00
developers.txt Add Hirokazu Yamamoto. 2008-08-12 20:45:21 +00:00
find_recursionlimit.py
gdbinit break sets a breakpoint rather than stopping the loop. 2005-09-05 16:16:49 +00:00
HISTORY Fix a few typos and layout glitches (more work is needed). 2008-02-21 19:46:35 +00:00
indent.pro
NEWS Fix: 2008-08-24 05:04:52 +00:00
NEWS.help
Porting
PURIFY.README Update purify doc some. 2006-08-14 01:49:54 +00:00
pymemcompat.h
python-config.in Bug #1655392: don't add -L/usr/lib/pythonX.Y/config to the LDFLAGS 2007-03-31 18:56:11 +00:00
python-mode.el sync with most recent version from python-mode sf project 2008-02-05 02:32:16 +00:00
python.man fix two typos in python(1) 2005-03-20 14:16:03 +00:00
README
README.coverity Add some explanation about Klocwork and Coverity static analysis 2006-08-02 07:09:32 +00:00
README.klocwork Klocwork made another run and found a bunch more problems. 2006-08-12 01:43:40 +00:00
README.OpenBSD Add some notes about a recurring problem with OpenBSD 2006-01-09 07:29:03 +00:00
README.valgrind Add some notes about a couple of poorly behaved tests 2006-04-17 01:49:14 +00:00
RFD
setuid-prog.c
SpecialBuilds.txt Fix typo. 2006-11-15 16:23:46 +00:00
valgrind-python.supp Fix: 2008-08-24 05:04:52 +00:00
vgrindefs

Python Misc subdirectory
========================

This directory contains files that wouldn't fit in elsewhere.  Some
documents are only of historic importance.

Files found here
----------------

ACKS		Acknowledgements
AIX-NOTES	Notes for building Python on AIX
BeOS-NOTES	Notes for building on BeOS
BeOS-setup.py	setup.py replacement for BeOS, see BeOS-NOTES
cheatsheet	Quick summary of Python by Ken Manheimer
find_recursionlimit.py  Script to find a value for sys.maxrecursionlimit
gdbinit		Handy stuff to put in your .gdbinit file, if you use gdb
HISTORY		News from previous releases -- oldest last
HPUX-NOTES	Notes about dynamic loading under HP-UX
indent.pro	GNU indent profile approximating my C style
NEWS		News for this release (for some meaning of "this")
Porting		Mini-FAQ on porting to new platforms
PURIFY.README	Information for Purify users
pymemcompat.h	Memory interface compatibility file.
python.man	UNIX man page for the python interpreter
python-mode.el	Emacs mode for editing Python programs
README		The file you're reading now
README.valgrind	Information for Valgrind users, see valgrind-python.supp
RFD		Request For Discussion about a Python newsgroup
RPM		(Old) tools to build RPMs
SpecialBuilds.txt     Describes extra symbols you can set for debug builds
setuid-prog.c	C helper program for set-uid Python scripts
vgrindefs	Python configuration for vgrind (a generic pretty printer)
valgrind-python.supp	Valgrind suppression file, see README.valgrind