0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Misc
Tim Peters 3cfe75470d PyType_Ready(): Complain if the type is a base type, and gc'able, and
tp_free is NULL or PyObject_Del at the end.  Because it's a base type
it must call tp_free in its dealloc function, and because it's gc'able
it must not call PyObject_Del.

inherit_slots():  Don't inherit tp_free unless the type and its base
agree about whether they're gc'able.  If the type is gc'able and the
base is not, and the base uses the default PyObject_Del for its
tp_free, give the type PyObject_GC_Del for its tp_free (the appropriate
default for a gc'able type).

cPickle.c:  The Pickler and Unpickler types claim to be base classes
and gc'able, but their dealloc functions didn't call tp_free.
Repaired that.  Also call PyType_Ready() on these typeobjects, so
that the correct (PyObject_GC_Del) default memory-freeing function
gets plugged into these types' tp_free slots.
2003-05-21 21:29:48 +00:00
..
RPM 2.3b1 patches 2003-02-24 17:55:37 +00:00
ACKS SF bug 735293: Command line timeit.py sets sys.path badly 2003-05-20 04:59:56 +00:00
AIX-NOTES Add some notes that got python to work on the snake farm 2003-02-02 17:10:04 +00:00
BeOS-NOTES
BeOS-setup.py
cheatsheet Part 3 of Py2.3 update 2003-01-26 03:29:15 +00:00
find_recursionlimit.py
gdbinit
HISTORY migrate news about 2.1 and earlier releases from NEWS to HISTORY in 2002-09-17 20:55:31 +00:00
indent.pro
NEWS PyType_Ready(): Complain if the type is a base type, and gc'able, and 2003-05-21 21:29:48 +00:00
NEWS.help Updated (2.3 OK now) 2003-01-03 03:29:58 +00:00
Porting
PURIFY.README
pymemcompat.h Fix grammatically inept comment. 2002-08-22 13:36:11 +00:00
python-mode.el Slightly more lenient pdbtrack prompt recognition, for people who use 2003-05-01 21:07:32 +00:00
python.man Document that -u puts stdin, stdout, and stderr in binary mode. 2002-08-09 13:37:31 +00:00
README
RFD
setuid-prog.c
SpecialBuilds.txt _Py_PrintReferenceAddresses(): also print the type name. In real use 2003-04-18 00:45:59 +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
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
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)