cpython/Misc
Amaury Forgeot d'Arc 0d75f09177 Merge from py3k branch:
Correction for issue1265 (pdb bug with "with" statement).

When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx
is called with a GeneratorExit exception set.  This leads to funny results
if the sys.settrace function itself makes use of generators.
A visible effect is that the settrace function is reset to None.
Another is that the eventual "finally" block of the generator is not called.

It is necessary to save/restore the exception around the call to the trace
function.

This happens a lot with py3k: isinstance() of an ABCMeta instance runs
    def __instancecheck__(cls, instance):
        """Override for isinstance(instance, cls)."""
        return any(cls.__subclasscheck__(c)
                   for c in {instance.__class__, type(instance)})
which lets an opened generator expression each time it returns True.

Backport candidate, even if the case is less frequent in 2.5.
2007-11-13 21:54:28 +00:00
..
RPM RPM specfile updates 2006-08-18 07:30:07 +00:00
Vim Make python.vim output more deterministic. 2006-09-20 19:28:35 +00:00
ACKS Patch #1031213: Decode source line in SyntaxErrors back to its original 2007-09-04 14:19:28 +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
HISTORY Typo fix 2006-09-07 13:56:23 +00:00
NEWS Merge from py3k branch: 2007-11-13 21:54:28 +00:00
NEWS.help
PURIFY.README Update purify doc some. 2006-08-14 01:49:54 +00:00
Porting
README
README.OpenBSD
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.valgrind
RFD
SpecialBuilds.txt Fix typo. 2006-11-15 16:23:46 +00:00
build.sh Update the tools before building the docs 2007-08-17 04:10:55 +00:00
cheatsheet Fix typo in doc 2007-05-29 07:51:39 +00:00
developers.txt Add Amaury Forgeot d'Arc. 2007-11-09 22:56:30 +00:00
find_recursionlimit.py
gdbinit
indent.pro
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
python.man
setuid-prog.c
valgrind-python.supp Ignore valgrind problems on Ubuntu from ld 2007-06-11 01:22:03 +00:00
vgrindefs

README

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