]>
granicus.if.org Git - python/log
Barry Warsaw [Mon, 10 May 2004 23:12:52 +0000 (23:12 +0000)]
Added a note describing how fp should be opened in binary mode, especially on
Windows. Closes SF # 586899.
Skip Montanaro [Mon, 10 May 2004 18:53:00 +0000 (18:53 +0000)]
Point out that %p has no effect on the output hour in strptime unless %I is
used to parse the hour.
Fred Drake [Mon, 10 May 2004 18:39:32 +0000 (18:39 +0000)]
don't make assumptions about $PATH in Cygwin instructions
Barry Warsaw [Mon, 10 May 2004 14:48:30 +0000 (14:48 +0000)]
_parse_headers(): Strip a trailing newline from the envelope header. Closes
SF #951088.
Barry Warsaw [Mon, 10 May 2004 14:44:04 +0000 (14:44 +0000)]
_split_ascii(): Small optimization by RH.
Raymond Hettinger [Mon, 10 May 2004 14:08:42 +0000 (14:08 +0000)]
Temporarily disable doctest until genexps are in CVS
Mark Hammond [Mon, 10 May 2004 07:35:33 +0000 (07:35 +0000)]
Fix [ 738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs, as
implemented in patch [ 851736 ].
Barry Warsaw [Sun, 9 May 2004 18:04:24 +0000 (18:04 +0000)]
SF patch # 884030 by Amit Aronovitch; fixes the _subpart argument to match
documented semantics.
Barry Warsaw [Sun, 9 May 2004 18:03:36 +0000 (18:03 +0000)]
test_mime_attachments_in_constructor(): New test to check for SF bug # 884030.
Barry Warsaw [Sun, 9 May 2004 17:11:59 +0000 (17:11 +0000)]
Add this year to the copyright notices.
Barry Warsaw [Sun, 9 May 2004 03:57:09 +0000 (03:57 +0000)]
we dont support any Python's before 2.3 now.
Barry Warsaw [Sun, 9 May 2004 03:55:11 +0000 (03:55 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.
Barry Warsaw [Sun, 9 May 2004 03:46:42 +0000 (03:46 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.
This Parser is now just a backward compatible front-end to the FeedParser.
Barry Warsaw [Sun, 9 May 2004 03:44:55 +0000 (03:44 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.
Barry Warsaw [Sun, 9 May 2004 03:42:37 +0000 (03:42 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud. We don't
need the _compat21 or _compat22 modules either.
Barry Warsaw [Sun, 9 May 2004 03:40:17 +0000 (03:40 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud. Get rid of a
bunch of module globals that aren't used.
Barry Warsaw [Sun, 9 May 2004 03:35:17 +0000 (03:35 +0000)]
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.
Barry Warsaw [Sun, 9 May 2004 03:29:23 +0000 (03:29 +0000)]
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.
Barry Warsaw [Sun, 9 May 2004 03:26:07 +0000 (03:26 +0000)]
Add MessageDefect and subclasses.
Barry Warsaw [Sun, 9 May 2004 03:24:43 +0000 (03:24 +0000)]
Update to Python 2.3, getting rid of backward compatiblity crud.
Barry Warsaw [Sun, 9 May 2004 03:17:29 +0000 (03:17 +0000)]
Like msg_12.txt but with some extra vertical whitespace around the inner
message's end boundary.
Barry Warsaw [Sun, 9 May 2004 03:16:03 +0000 (03:16 +0000)]
A bunch of new tests, and updated tests for the email 3.0 FeedParser.
Raymond Hettinger [Sun, 9 May 2004 01:15:01 +0000 (01:15 +0000)]
Add more examples.
Raymond Hettinger [Sat, 8 May 2004 19:49:42 +0000 (19:49 +0000)]
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.
Gustavo Niemeyer [Sat, 8 May 2004 17:59:43 +0000 (17:59 +0000)]
Small fixes in freeze.py.
Martin v. Löwis [Fri, 7 May 2004 19:14:14 +0000 (19:14 +0000)]
Record UnixWare 7.1.4 as broken. Fixes #929689.
Backported to 2.3.
Martin v. Löwis [Fri, 7 May 2004 07:18:13 +0000 (07:18 +0000)]
Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.
Backported to 2.3.
Raymond Hettinger [Fri, 7 May 2004 05:50:35 +0000 (05:50 +0000)]
Revert last change.
Raymond Hettinger [Thu, 6 May 2004 16:55:07 +0000 (16:55 +0000)]
Use sets instead of lists for membership testing
Andrew M. Kuchling [Thu, 6 May 2004 13:13:44 +0000 (13:13 +0000)]
[Bug #945063] Get file extension correct. (2.3 bugfix candidate)
Fred Drake [Thu, 6 May 2004 12:44:29 +0000 (12:44 +0000)]
note that descriptor objects must be instances of new-style types
(closes SF bug #817742)
Fred Drake [Thu, 6 May 2004 03:47:48 +0000 (03:47 +0000)]
fix documentation for ContentHandler.ignorableWhitespace()
(closes SF bug #881707)
Fred Drake [Thu, 6 May 2004 02:55:35 +0000 (02:55 +0000)]
markup adjustments
Martin v. Löwis [Thu, 6 May 2004 02:22:43 +0000 (02:22 +0000)]
Consider output encoding in XMLGenerator. Fixes #938076.
Backported to 2.3.
Martin v. Löwis [Thu, 6 May 2004 02:04:21 +0000 (02:04 +0000)]
Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637.
Backported to 2.3.
Martin v. Löwis [Thu, 6 May 2004 01:54:36 +0000 (01:54 +0000)]
Swap public and system ID in start_doctype_decl. Fixes #780300.
Martin v. Löwis [Thu, 6 May 2004 01:41:26 +0000 (01:41 +0000)]
Patch #944110: Properly process empty passwords. Fixes #944082.
Backported to 2.3.
Martin v. Löwis [Thu, 6 May 2004 01:35:45 +0000 (01:35 +0000)]
Patch #940026: Explain "in" when it is first used.
Backported to 2.3.
Andrew M. Kuchling [Wed, 5 May 2004 17:21:51 +0000 (17:21 +0000)]
[Bug #810879] Document that copyfile() can fail if you don't have permissions; also, fix a double negative.
Brett Cannon [Wed, 5 May 2004 16:49:11 +0000 (16:49 +0000)]
Fix small grammatical mistake.
Raymond Hettinger [Wed, 5 May 2004 06:28:16 +0000 (06:28 +0000)]
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().
Raymond Hettinger [Wed, 5 May 2004 05:37:53 +0000 (05:37 +0000)]
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.
Fred Drake [Wed, 5 May 2004 04:56:06 +0000 (04:56 +0000)]
add an index entry for __getnewargs__()
Fred Drake [Wed, 5 May 2004 04:54:37 +0000 (04:54 +0000)]
- note that __getinitargs__() is only for old-style classes
- describe __getnewargs__()
(closes SF bug #873246)
Fred Drake [Wed, 5 May 2004 04:24:30 +0000 (04:24 +0000)]
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. ;-(
Fred Drake [Wed, 5 May 2004 04:18:11 +0000 (04:18 +0000)]
note that the error code for socket.gaierror will be one of the EAI_*
constants
(closes SF bug #837929)
Greg Ward [Wed, 5 May 2004 01:36:16 +0000 (01:36 +0000)]
SF #814606: merge from release23-maint branch: clarify/cleanup
mixer docs; trim \platform{}, add \versionadded{}.
Nicholas Bastin [Tue, 4 May 2004 19:25:56 +0000 (19:25 +0000)]
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).
Phillip J. Eby [Tue, 4 May 2004 19:20:22 +0000 (19:20 +0000)]
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.
Guido van Rossum [Tue, 4 May 2004 18:18:59 +0000 (18:18 +0000)]
Using reversed() is not compatible with Python 1.5.2.
Raymond Hettinger [Tue, 4 May 2004 09:21:43 +0000 (09:21 +0000)]
Replace str.find()!=1 with the more readable "in" operator.
Raymond Hettinger [Tue, 4 May 2004 08:34:56 +0000 (08:34 +0000)]
Testing for None should be done with 'is'
Raymond Hettinger [Tue, 4 May 2004 08:21:52 +0000 (08:21 +0000)]
Stacks based on lists work better and read more clearly when they
grow and shrink on the right.
Mark Hammond [Tue, 4 May 2004 08:10:37 +0000 (08:10 +0000)]
Fix [ 947405 ] os.utime() raises bad exception for unicode filenames
Martin v. Löwis [Sun, 2 May 2004 20:37:13 +0000 (20:37 +0000)]
Do not use the default namespace for attributes.
Fixes http://bugs.debian.org/229885
Will backport to 2.3.
Raymond Hettinger [Sat, 1 May 2004 08:31:36 +0000 (08:31 +0000)]
Minor documentation nits.
Raymond Hettinger [Fri, 30 Apr 2004 22:52:50 +0000 (22:52 +0000)]
Add an example application to the docs.
Fred Drake [Thu, 29 Apr 2004 02:47:38 +0000 (02:47 +0000)]
the headers in an HTTP request are HTTP headers, not MIME headers
Walter Dörwald [Wed, 28 Apr 2004 17:07:50 +0000 (17:07 +0000)]
Add a test script for the colorsys module.
Fred Drake [Wed, 28 Apr 2004 03:57:47 +0000 (03:57 +0000)]
remove out-of-date count of the functions in winsound
Fred Drake [Wed, 28 Apr 2004 03:16:49 +0000 (03:16 +0000)]
fix typo reported in a long-buried email
Thomas Heller [Tue, 27 Apr 2004 18:34:08 +0000 (18:34 +0000)]
The filename of this module changed again...
Raymond Hettinger [Tue, 27 Apr 2004 04:52:47 +0000 (04:52 +0000)]
Complete perky's name change patch.
Kurt B. Kaiser [Mon, 26 Apr 2004 22:26:04 +0000 (22:26 +0000)]
Fix a bug I introduced which causes all block openers at an indent level
to be shown, instead of outdenting each level.
Hye-Shik Chang [Sun, 25 Apr 2004 17:51:47 +0000 (17:51 +0000)]
Correct the file name of _heapq module.
Kurt B. Kaiser [Sat, 24 Apr 2004 03:08:13 +0000 (03:08 +0000)]
1. Add an Options menu entry: Code Context
2. Add a <<toggle-code-context>> envent to the [CodeContext] section of
config-extensions.def and also a default-on variable, set to 0.
3. Update the help file to include Code Context.
M CodeContext.py
M config-extensions.def
M help.txt
Kurt B. Kaiser [Sat, 24 Apr 2004 03:01:48 +0000 (03:01 +0000)]
1. Polish variables in EditorWindow extension loading and Tkinter variable code.
2. Add exception handling to EditorWindow Tkinter variable setvar() and getvar() fcns.
3. EditorWindow: remove some unneeded comments.
4. Add a separator to the Options menu
5. extend.txt: describe how to create a menu entry which has no keybinding.
M Bindings.py
M EditorWindow.py
M extend.txt
Raymond Hettinger [Fri, 23 Apr 2004 17:11:47 +0000 (17:11 +0000)]
SF bug #940579: section 5.10: 'not' returns boolean, not int
Thomas Heller [Thu, 22 Apr 2004 18:30:17 +0000 (18:30 +0000)]
Remove the Modules/heaqmodule.c, and add Modules/_heapmodule.c, so
that the project compiles again with VC6.
Thomas Heller [Thu, 22 Apr 2004 17:28:25 +0000 (17:28 +0000)]
Forgot to mention the SF number, and that Bob Ippolito provided the patch.
Thomas Heller [Thu, 22 Apr 2004 17:23:49 +0000 (17:23 +0000)]
Two new public API functions, Py_IncRef and Py_DecRef. Useful for
dynamic embedders of Python.
Thomas Heller [Thu, 22 Apr 2004 17:11:49 +0000 (17:11 +0000)]
cvs ignore the user options files *.suo
Thomas Heller [Thu, 22 Apr 2004 17:03:33 +0000 (17:03 +0000)]
Modules/heapqmodule.c removed.
Modules/_heapmodule.c added.
Kurt B. Kaiser [Wed, 21 Apr 2004 20:06:26 +0000 (20:06 +0000)]
- New Extension: CodeContext. Provides block structuring hints for code
which has scrolled above an edit window. Patch 936169 Noam Raphael.
A CodeContext.py
M NEWS.txt
M config-extensions.def
Hye-Shik Chang [Tue, 20 Apr 2004 21:30:07 +0000 (21:30 +0000)]
SF #926075: Fixed the bug that returns a wrong pattern object for
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.
Hye-Shik Chang [Tue, 20 Apr 2004 21:11:11 +0000 (21:11 +0000)]
SF #926075: Fixed the bug that returns a wrong pattern object for
a string or unicode object in sre.compile() when a different type
pattern with the same value exists.
Raymond Hettinger [Mon, 19 Apr 2004 19:21:43 +0000 (19:21 +0000)]
* Restore the pure python version of heapq.py.
* Mark the C version as private and only use when available.
Raymond Hettinger [Mon, 19 Apr 2004 19:06:21 +0000 (19:06 +0000)]
* Restore the pure python version of heapq.py.
* Mark the C version as private and only use when available.
Martin v. Löwis [Sat, 17 Apr 2004 19:36:48 +0000 (19:36 +0000)]
Special case normalization of empty strings. Fixes #924361.
Backported to 2.3.
Raymond Hettinger [Sat, 17 Apr 2004 11:57:40 +0000 (11:57 +0000)]
SF bug #936827: PyNumber_And() 's description
Fix typo.
Thomas Heller [Fri, 16 Apr 2004 18:49:35 +0000 (18:49 +0000)]
The wininst-6.exe template binary for bdist_wininst is now linked
with zlib-1.2.1.
Thomas Heller [Fri, 16 Apr 2004 18:47:50 +0000 (18:47 +0000)]
The wininst-7.1.exe template binary for bdist_wininst is now linked
with zlib-1.2.1.
UPX needs the --force flag to be able to compress it.
Fred Drake [Fri, 16 Apr 2004 15:20:01 +0000 (15:20 +0000)]
really scream out that people should use the file objects instead of
file descriptor operations for normal applications
Skip Montanaro [Fri, 16 Apr 2004 03:28:19 +0000 (03:28 +0000)]
Open file in universal newline mode when passing to compile(). Solution
from Felix Wiemann. Closes patch #934971.
Skip Montanaro [Fri, 16 Apr 2004 03:21:01 +0000 (03:21 +0000)]
bring description of optional and keyword args for DictReader and DictWriter
classes into line with the actual code. I didn't see any obvious examples
of latex formatting for *args and **kwds so I just guessed.
Skip Montanaro [Fri, 16 Apr 2004 03:12:12 +0000 (03:12 +0000)]
delete timing output - it appears after the </html> line.
Thomas Heller [Thu, 15 Apr 2004 18:19:02 +0000 (18:19 +0000)]
Minor reformatting.
Fred Drake [Thu, 15 Apr 2004 06:18:48 +0000 (06:18 +0000)]
remove bogus markup that caused the docs to be wrong
Hye-Shik Chang [Wed, 14 Apr 2004 07:55:31 +0000 (07:55 +0000)]
Bug #934635: Fix a bug where the configure script couldn't detect
getaddrinfo() properly if the KAME stack had SCTP support.
(Submitted by SUZUKI Shinsuke)
Brett Cannon [Tue, 13 Apr 2004 02:43:53 +0000 (02:43 +0000)]
Change two instance of format strings for PyString_FromFormat() to use %ld
instead of %d .
Raymond Hettinger [Mon, 12 Apr 2004 18:10:01 +0000 (18:10 +0000)]
* Add unittests for iterators that report their length
* Document the differences between them
* Fix corner cases covered by the unittests
* Use Py_RETURN_NONE where possible for dictionaries
Raymond Hettinger [Mon, 12 Apr 2004 17:21:03 +0000 (17:21 +0000)]
Use Py_RETURN_NONE macro where applicable.
Raymond Hettinger [Mon, 12 Apr 2004 14:01:16 +0000 (14:01 +0000)]
Small refactoring saving one function() and eliminating some indirection.
* Applied app1() to listappend().
* Inlined ins() into its one remaining caller.
Raymond Hettinger [Mon, 12 Apr 2004 13:05:09 +0000 (13:05 +0000)]
* Specialize ins1() into app1() for appends. Saves several unnecessary
steps and further improves the speed of list append.
* Add guards to the list iterator length method to handle corner cases.
Tim Peters [Sun, 11 Apr 2004 19:02:59 +0000 (19:02 +0000)]
Record test_bsddb3 test results on WinXP.
Tim Peters [Sun, 11 Apr 2004 18:23:06 +0000 (18:23 +0000)]
Update the OpenSSL version example from c to d (the current stable one),
Tim Peters [Sun, 11 Apr 2004 17:45:31 +0000 (17:45 +0000)]
The native bz2 tests worked fine for me under WinXP Pro + VC7.1, so
removed the comment saying they don't work, and changed the build step
to run them. If they're failing for someone else, please give details
about what failed.
Tim Peters [Sun, 11 Apr 2004 17:29:12 +0000 (17:29 +0000)]
Record Tcl and Tk test results for WinXP Pro.
Raymond Hettinger [Sun, 11 Apr 2004 14:59:33 +0000 (14:59 +0000)]
Some (but not all) of the why code bitfield tests ran faster as
separate equality tests. Now, all are set to their best timing.
Andrew MacIntyre [Sun, 11 Apr 2004 12:05:28 +0000 (12:05 +0000)]
add AF_UNIX notes