Barry Warsaw
3d1f397f1a
Update to Python 2.3, getting rid of backward compatiblity crud. Get rid of a
...
bunch of module globals that aren't used.
2004-05-09 03:40:17 +00:00
Barry Warsaw
36112f2d34
Update to Python 2.3, getting rid of backward compatiblity crud. Get rid of a
...
bunch of module globals that aren't used.
__maxheaderlen -> _maxheaderlen
_handle_multipart(): This should be more RFC compliant now, and does match the
updated/fixed semantics for preamble and epilogue.
2004-05-09 03:35:17 +00:00
Barry Warsaw
418101fd64
An updated FeedParser that should be RFC complaint, passes all existing
...
(standard) tests, and doesn't throw parse errors. I still need throw
Anthony's torture test at it, but I wanted to get this checked in and off my
disk.
2004-05-09 03:29:23 +00:00
Barry Warsaw
333e830b83
Add MessageDefect and subclasses.
2004-05-09 03:26:07 +00:00
Barry Warsaw
41f6ad6171
Update to Python 2.3, getting rid of backward compatiblity crud.
2004-05-09 03:24:43 +00:00
Barry Warsaw
09356d419c
Like msg_12.txt but with some extra vertical whitespace around the inner
...
message's end boundary.
2004-05-09 03:17:29 +00:00
Barry Warsaw
b8b57e75b2
A bunch of new tests, and updated tests for the email 3.0 FeedParser.
2004-05-09 03:16:03 +00:00
Raymond Hettinger
e7169eb9ed
Add more examples.
2004-05-09 01:15:01 +00:00
Raymond Hettinger
9d7c870c6d
SF #950057 : itertools.chain doesn't "process" exceptions as they occur
...
Both cycle() and chain() were handling exceptions only when switching
input sources. The patch makes the handle more immediate.
Will backport.
2004-05-08 19:49:42 +00:00
Gustavo Niemeyer
ffa5a5015a
Small fixes in freeze.py.
2004-05-08 17:59:43 +00:00
Martin v. Löwis
253d1f445b
Record UnixWare 7.1.4 as broken. Fixes #929689 .
...
Backported to 2.3.
2004-05-07 19:14:14 +00:00
Martin v. Löwis
7d9c6c7e8c
Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848 .
...
Backported to 2.3.
2004-05-07 07:18:13 +00:00
Raymond Hettinger
156c49ad1c
Revert last change.
2004-05-07 05:50:35 +00:00
Raymond Hettinger
6924a00d10
Use sets instead of lists for membership testing
2004-05-06 16:55:07 +00:00
Andrew M. Kuchling
30633c9a64
[Bug #945063 ] Get file extension correct. (2.3 bugfix candidate)
2004-05-06 13:13:44 +00:00
Fred Drake
67a521ef69
note that descriptor objects must be instances of new-style types
...
(closes SF bug #817742 )
2004-05-06 12:44:29 +00:00
Fred Drake
e143bbb610
fix documentation for ContentHandler.ignorableWhitespace()
...
(closes SF bug #881707 )
2004-05-06 03:47:48 +00:00
Fred Drake
56fcc233d3
markup adjustments
2004-05-06 02:55:35 +00:00
Martin v. Löwis
ae20722d96
Consider output encoding in XMLGenerator. Fixes #938076 .
...
Backported to 2.3.
2004-05-06 02:22:43 +00:00
Martin v. Löwis
0ea558f7b4
Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637 .
...
Backported to 2.3.
2004-05-06 02:04:21 +00:00
Martin v. Löwis
456ab1d271
Swap public and system ID in start_doctype_decl. Fixes #780300 .
2004-05-06 01:54:36 +00:00
Martin v. Löwis
8b3e871a19
Patch #944110 : Properly process empty passwords. Fixes #944082 .
...
Backported to 2.3.
2004-05-06 01:41:26 +00:00
Martin v. Löwis
f1f0560832
Patch #940026 : Explain "in" when it is first used.
...
Backported to 2.3.
2004-05-06 01:35:45 +00:00
Andrew M. Kuchling
99872c1342
[Bug #810879 ] Document that copyfile() can fail if you don't have permissions; also, fix a double negative.
2004-05-05 17:21:51 +00:00
Brett Cannon
0fefc140aa
Fix small grammatical mistake.
2004-05-05 16:49:11 +00:00
Raymond Hettinger
fdfe618228
Nits:
...
- Neatened the braces in PyList_New().
- Made sure "indexerr" was initialized to NULL.
- Factored if blocks in PyList_Append().
- Made sure "allocated" is initialized in list_init().
2004-05-05 06:28:16 +00:00
Raymond Hettinger
0468e416c1
SF patch #947476 : Apply freelist technique to lists
...
Re-use list object bodies. Saves calls to malloc() and free() for
faster list instantiation and deallocation.
2004-05-05 05:37:53 +00:00
Fred Drake
8aa8c84d18
add an index entry for __getnewargs__()
2004-05-05 04:56:06 +00:00
Fred Drake
0de77d1d6e
- note that __getinitargs__() is only for old-style classes
...
- describe __getnewargs__()
(closes SF bug #873246 )
2004-05-05 04:54:37 +00:00
Fred Drake
04d92c37f2
Remove list of pickle protocol names used by the copy module; there
...
are enough subtleties to pickling that we don't want misunderstanding
to spread because we don't provide all the information twice. The
reference to the pickle module for information will have to suffice;
at least only one portion of the docs will be out of date. ;-(
2004-05-05 04:24:30 +00:00
Fred Drake
cee8879a7d
note that the error code for socket.gaierror will be one of the EAI_*
...
constants
(closes SF bug #837929 )
2004-05-05 04:18:11 +00:00
Greg Ward
4fe97ca4ce
SF #814606 : merge from release23-maint branch: clarify/cleanup
...
mixer docs; trim \platform{}, add \versionadded{}.
2004-05-05 01:36:16 +00:00
Nicholas Bastin
e9c2ecfb96
Removed 'U' from the documentation for Py_BuildValue to bring it in line
...
with the elimination of 'U' in modsupport.c on 2000/04/28 (replaced
with 'u' and 'u#' per fdrake's comments).
2004-05-04 19:25:56 +00:00
Phillip J. Eby
5068c873e6
Document readline module functions added in Python 2.3. See:
...
http://mail.python.org/pipermail/python-dev/2003-September/037922.html
for background. It appears I forgot to ever submit a bug report or patch.
2004-05-04 19:20:22 +00:00
Guido van Rossum
843c734ddd
Using reversed() is not compatible with Python 1.5.2.
2004-05-04 18:18:59 +00:00
Raymond Hettinger
bac788a3cd
Replace str.find()!=1 with the more readable "in" operator.
2004-05-04 09:21:43 +00:00
Raymond Hettinger
c5e378da41
Testing for None should be done with 'is'
2004-05-04 08:34:56 +00:00
Raymond Hettinger
0b569bb399
Stacks based on lists work better and read more clearly when they
...
grow and shrink on the right.
2004-05-04 08:21:52 +00:00
Mark Hammond
2d5914b17e
Fix [ 947405 ] os.utime() raises bad exception for unicode filenames
2004-05-04 08:10:37 +00:00
Martin v. Löwis
9f1340b9f2
Do not use the default namespace for attributes.
...
Fixes http://bugs.debian.org/229885
Will backport to 2.3.
2004-05-02 20:37:13 +00:00
Raymond Hettinger
d7911a3317
Minor documentation nits.
2004-05-01 08:31:36 +00:00
Raymond Hettinger
f5f9a370d4
Add an example application to the docs.
2004-04-30 22:52:50 +00:00
Fred Drake
6fbf703fa2
the headers in an HTTP request are HTTP headers, not MIME headers
2004-04-29 02:47:38 +00:00
Walter Dörwald
c60c203670
Add a test script for the colorsys module.
2004-04-28 17:07:50 +00:00
Fred Drake
ceeb1918a1
remove out-of-date count of the functions in winsound
2004-04-28 03:57:47 +00:00
Fred Drake
6d4c7b05bb
fix typo reported in a long-buried email
2004-04-28 03:16:49 +00:00
Thomas Heller
1a74a128ce
The filename of this module changed again...
2004-04-27 18:34:08 +00:00
Raymond Hettinger
e898d1987e
Complete perky's name change patch.
2004-04-27 04:52:47 +00:00
Kurt B. Kaiser
e3636e05de
Fix a bug I introduced which causes all block openers at an indent level
...
to be shown, instead of outdenting each level.
2004-04-26 22:26:04 +00:00
Hye-Shik Chang
ce97fbe772
Correct the file name of _heapq module.
2004-04-25 17:51:47 +00:00