cpython/Misc
Barry Warsaw b110bad2d9 More RFC 2231 improvements for the email 4.0 package. As Mark Sapiro rightly
points out there are really two types of continued headers defined in this
RFC (i.e. "encoded" parameters with the form "name*0*=" and unencoded
parameters with the form "name*0="), but we were were handling them both the
same way and that isn't correct.

This patch should be much more RFC compliant in that only encoded params are
%-decoded and the charset/language information is only extract if there are
any encoded params in the segments.  If there are no encoded params then the
RFC says that there will be no charset/language parts.

Note however that this will change the return value for Message.get_param() in
some cases.  For example, whereas before if you had all unencoded param
continuations you would have still gotten a 3-tuple back from this method
(with charset and language == None), you will now get just a string.  I don't
believe this is a backward incompatible change though because the
documentation for this method already indicates that either return value is
possible and that you must do an isinstance(val, tuple) check to discriminate
between the two.  (Yeah that API kind of sucks but we can't change /that/
without breaking code.)

Test cases, some documentation updates, and a NEWS item accompany this patch.
2006-07-21 14:51:07 +00:00
..
RPM preparing for 2.5b2 2006-07-10 07:41:04 +00:00
Vim Remove remaining references to OverflowWarning. 2006-07-05 08:21:00 +00:00
ACKS Patch #1096231: Add default argument to wm_iconbitmap. 2006-06-17 09:20:41 +00:00
AIX-NOTES The fix to use . was incorporated 2003-06-08 02:25:17 +00:00
BeOS-NOTES Completely revamped BeOS notes, by Donn Cave (SF patch 411834). 2001-04-10 21:51:29 +00:00
BeOS-setup.py Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
HISTORY moved older releases into HISTORY 2006-03-20 06:30:41 +00:00
NEWS More RFC 2231 improvements for the email 4.0 package. As Mark Sapiro rightly 2006-07-21 14:51:07 +00:00
NEWS.help Bug #1014775: update NEWS.help for changes in docutils. 2004-08-30 14:33:25 +00:00
PURIFY.README Updated for Python 1.5, including my experiences with Purify on 1997-10-07 15:50:58 +00:00
Porting Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
README Add some doc about using valgrind 2004-06-06 19:58: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 Initial revision 1994-01-26 10:20:16 +00:00
SpecialBuilds.txt In a PYMALLOC_DEBUG build obmalloc adds extra debugging info 2006-06-04 03:26:02 +00:00
build.sh Try again: test unimportant change to verify buildbot does not try to build 2006-06-27 04:26:30 +00:00
cheatsheet Remove remaining references to OverflowWarning. 2006-07-05 08:21:00 +00:00
developers.txt Add SoC name, and reorganize this section a bit 2006-05-30 12:52:01 +00:00
find_recursionlimit.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
gdbinit break sets a breakpoint rather than stopping the loop. 2005-09-05 16:16:49 +00:00
indent.pro Some new files... 1994-09-14 14:06:46 +00:00
pymemcompat.h Fix grammatically inept comment. 2002-08-22 13:36:11 +00:00
python-config.in Patch #1161914: Add python-config. 2006-04-15 08:13:05 +00:00
python-mode.el Sync with python-mode project. Adds two changes: 2003-12-18 21:53:33 +00:00
python.man fix two typos in python(1) 2005-03-20 14:16:03 +00:00
setuid-prog.c correct bogus instructions 'ccoment out' -> 'uncomment' 1998-09-10 20:18:09 +00:00
valgrind-python.supp Ignore some more warnings in the dynamic linker on an older gentoo 2006-06-27 04:06:46 +00:00
vgrindefs Add 'yield' as a keyword 2001-08-06 17:42:53 +00:00

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