]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Thomas Heller [Wed, 22 Dec 2004 17:00:45 +0000 (17:00 +0000)]
Recompiled after source changes.
Thomas Heller [Wed, 22 Dec 2004 16:59:16 +0000 (16:59 +0000)]
Document bdist_wininst changes.
Thomas Heller [Wed, 22 Dec 2004 16:49:05 +0000 (16:49 +0000)]
Close stdout and stderr, which are redirected into a temp file, before
trying to remove this file - the file was never removed before.
Fixes [
1067732 ] wininst --install-script leaves residual files
Thomas Heller [Wed, 22 Dec 2004 16:40:30 +0000 (16:40 +0000)]
Fix a typo from the last checkin.
Thomas Heller [Wed, 22 Dec 2004 16:33:38 +0000 (16:33 +0000)]
Backport of rev. 1.12 from the trunk.
Martin v. Löwis [Wed, 22 Dec 2004 13:41:23 +0000 (13:41 +0000)]
Patch #
1088716 : build and incorporate libpython24.a.
Martin v. Löwis [Wed, 22 Dec 2004 13:02:26 +0000 (13:02 +0000)]
Document resolved MSI issues.
Martin v. Löwis [Wed, 22 Dec 2004 12:56:46 +0000 (12:56 +0000)]
Properly quote IDLE shortcut. Fixes #
1076861 .
Walter Dörwald [Wed, 22 Dec 2004 12:52:15 +0000 (12:52 +0000)]
Backport checkin:
Add NEWS entry about bug #
1076985 .
Martin v. Löwis [Wed, 22 Dec 2004 12:36:08 +0000 (12:36 +0000)]
Backport msisupport.dll to 2.4
Brett Cannon [Wed, 22 Dec 2004 05:41:56 +0000 (05:41 +0000)]
Remove outdated comments about Macintosh for expanduser and expandvars.
Walter Dörwald [Tue, 21 Dec 2004 22:35:24 +0000 (22:35 +0000)]
Backport checkin:
The changes to the stateful codecs in 2.4 resulted in StreamReader.readline()
trying to return a complete line even if a size parameter was given (see
http://www.python.org/sf/
1076985 ). This leads to buffer overflows with long
source lines under Windows if e.g. cp1252 is used as the source encoding.
This patch reverts the behaviour of readline() to something that behaves more
like Python 2.3: If a size parameter is given, read() is called only once.
As a side effect of this, readline() now supports all types of linebreaks
supported by unicode.splitlines().
Note that the tokenizer is still broken and it's possible to provoke segfaults
(see http://www.python.org/sf/
1089395 ).
Johannes Gijsbers [Tue, 21 Dec 2004 21:15:14 +0000 (21:15 +0000)]
Backport from trunk: add accidentally removed \end{description} back in.
Armin Rigo [Tue, 21 Dec 2004 14:04:39 +0000 (14:04 +0000)]
Mentioned marshal.dumps()'s fix in the NEWS.
Raymond Hettinger [Mon, 20 Dec 2004 23:55:32 +0000 (23:55 +0000)]
SF bug #951915: fix bug in StringIO.truncate - length not changed
(Patch by Armin Rigo.)
Armin Rigo [Mon, 20 Dec 2004 12:26:43 +0000 (12:26 +0000)]
Back-ported: marshal.dumps() with the new optional argument 'version' just
immediately segfaults, due to a typo!
Raymond Hettinger [Mon, 20 Dec 2004 06:09:30 +0000 (06:09 +0000)]
Bug #
1088206 : zlib decompressobj documentation typo
Raymond Hettinger [Mon, 20 Dec 2004 00:31:10 +0000 (00:31 +0000)]
Bugs item #
1069409 C:\Python24\Lib\compileall.py returns False
* return an integer rather than a boolean
Gregory P. Smith [Sun, 19 Dec 2004 22:25:32 +0000 (22:25 +0000)]
* reworked berkeleydb include and library detection code in setup.py
to make sure the library version that matches the header file is used.
* update the bsddb module docs to indicate BerkeleyDB 3.2 thru 4.3 support
Raymond Hettinger [Sun, 19 Dec 2004 20:47:25 +0000 (20:47 +0000)]
Bug #
1079011 : Incorrect error message (somewhat)
Raymond Hettinger [Sun, 19 Dec 2004 20:33:08 +0000 (20:33 +0000)]
Bug #
1066607 : "Limitations" section of profiler docs is incorrect
Raymond Hettinger [Sun, 19 Dec 2004 20:16:57 +0000 (20:16 +0000)]
Bug #
1087216 : datetime module documentation missing critical detail
Brett Cannon [Sat, 18 Dec 2004 21:08:11 +0000 (21:08 +0000)]
Backport fix for bug #
1083645 have test_imp be skipped if threading is not
available.
Raymond Hettinger [Sat, 18 Dec 2004 19:22:18 +0000 (19:22 +0000)]
Bug #
1083645
* The decimal module wouldn't run on builds without threads.
Raymond Hettinger [Sat, 18 Dec 2004 19:12:11 +0000 (19:12 +0000)]
Bug #
1083645
* The decimal module wouldn't run on builds without threads.
Andrew MacIntyre [Sat, 18 Dec 2004 09:48:40 +0000 (09:48 +0000)]
fix unterminated comment
Raymond Hettinger [Fri, 17 Dec 2004 17:34:21 +0000 (17:34 +0000)]
Move news items to the correct sections.
Raymond Hettinger [Fri, 17 Dec 2004 14:44:45 +0000 (14:44 +0000)]
Backport fixes for bugs #
1086555 and #
1085744 .
Gregory P. Smith [Thu, 16 Dec 2004 09:48:37 +0000 (09:48 +0000)]
fixes compilation against BerkeleyDB 3.2.9 (sf bug #
1077040 )
Walter Dörwald [Wed, 15 Dec 2004 23:45:05 +0000 (23:45 +0000)]
Backport checkin: Fix typo (from SF bug #
1086127 ).
Walter Dörwald [Tue, 14 Dec 2004 21:33:13 +0000 (21:33 +0000)]
Backport checkin: Fix copy & paste error in comments.
Raymond Hettinger [Tue, 14 Dec 2004 07:20:27 +0000 (07:20 +0000)]
SF bug #
1084457 : ossaudiodev no longer undocumented
Anthony Baxter [Mon, 13 Dec 2004 17:09:28 +0000 (17:09 +0000)]
missed this stuff for release, oh well, 2.4.1 is fine
Johannes Gijsbers [Mon, 13 Dec 2004 13:11:42 +0000 (13:11 +0000)]
Check in missing png version of pyfav.gif.
cvs2svn [Mon, 13 Dec 2004 13:11:42 +0000 (13:11 +0000)]
This commit was manufactured by cvs2svn to create branch
'release24-maint'.
Johannes Gijsbers [Sun, 12 Dec 2004 16:51:48 +0000 (16:51 +0000)]
Patch #
1080684 : typo repair. Thanks George Yoshida!
- Doc/lib/libbase64.tex
s/algorith/algorithm
- Doc/lib/libpickle.tex
s/interchangable/interchangeable
- Doc/lib/libxmlrpclib.tex
s/{_cmp__}/{__cmp__}
leading underscore needs to be double, not single.
- Doc/ref/ref6.tex
0/1 => False/True
Johannes Gijsbers [Sun, 12 Dec 2004 15:54:20 +0000 (15:54 +0000)]
Backport from trunk: use os.geteuid() for checking whether we are root,
as suggested by Michael Hudson.
Andrew MacIntyre [Sun, 12 Dec 2004 08:34:33 +0000 (08:34 +0000)]
OS/2 specific fixes related to SF bug #
1003471 .
Also revise a related function to minimise file handle/pipe leakage
and improve reliability.
Backported from -HEAD.
Andrew MacIntyre [Sun, 12 Dec 2004 08:32:41 +0000 (08:32 +0000)]
backport of OS/2 specific fixes related to SF bug #
1003471
Brett Cannon [Sat, 11 Dec 2004 09:54:53 +0000 (09:54 +0000)]
Fix typo for what method is called when expand_tabs is true.
Raymond Hettinger [Sat, 11 Dec 2004 02:53:27 +0000 (02:53 +0000)]
SF bug #
1083202 : UnboundLocalError raised by atexit module
The sys module could be called before being imported.
Raymond Hettinger [Fri, 10 Dec 2004 17:23:32 +0000 (17:23 +0000)]
SF bug #
1081370 : Bad reference in whrandom docs
Raymond Hettinger [Fri, 10 Dec 2004 17:13:51 +0000 (17:13 +0000)]
SF bug #
1082944 : Incorrect docs for PyUnicode_TailMatch
* Note correct return type is int.
* Note that -1 returned on failure.
Johannes Gijsbers [Mon, 6 Dec 2004 21:22:17 +0000 (21:22 +0000)]
Backport of fix for SF bug #
1076467 : don't run test_on_error as root, as
the permission errors don't get provoked that way.
Walter Dörwald [Mon, 6 Dec 2004 08:14:08 +0000 (08:14 +0000)]
Backport: Fix for SF bug #947894: calendar.weekheader() undocumented
Brett Cannon [Mon, 6 Dec 2004 06:13:59 +0000 (06:13 +0000)]
Don't have test_mkalias_relative run if sys.prefix does not exist. Backport of
fix for bug #
1077302 .
Peter Astrand [Sun, 5 Dec 2004 20:05:04 +0000 (20:05 +0000)]
Raise TypeError if bufsize argument is not an integer. Patch
1071755 , slightly modified.
Fred Drake [Sun, 5 Dec 2004 07:49:00 +0000 (07:49 +0000)]
more version cruft
Fred Drake [Sun, 5 Dec 2004 07:45:17 +0000 (07:45 +0000)]
once we're post-release, we really need to bump the version number;
the documentation build gets the version number from here as well, and
the script that updates www.python.org/dev/doc/ needs to get an
updated version number
Barry Warsaw [Sun, 5 Dec 2004 03:34:14 +0000 (03:34 +0000)]
Fixes for SF #
1076485 , which I'll apply to the CVS head too. The problem was
caused by a self._input.readline() call that wasn't checking for the
NeedsMoreData marker.
msg_43.txt contains a message that illustrates the problem, when
email.message_from_*() is called. That interface uses the Parser API, which
splits reads into 8192 byte chunks. It so happens that for the test message,
the 8192 chunk falls inside a message/delivery-status, which is where in the
FeedParser the readline() call was that didn't check for NeedsMoreData.
I also added an assert to unreadline() so it'll be more evident if an attempt
to push back NeedsMoreData ever happens again.
Bump the email package version number.
Raymond Hettinger [Sat, 4 Dec 2004 21:24:19 +0000 (21:24 +0000)]
SF bug #
1078905 : Docs for unittest run() methods are misleading
Vinay Sajip [Fri, 3 Dec 2004 08:23:36 +0000 (08:23 +0000)]
Fixed errors reported in SF bug #
1074693
Gustavo Niemeyer [Thu, 2 Dec 2004 16:36:29 +0000 (16:36 +0000)]
Fixing bug #
1072259 of SRE into release24-maint.
Raymond Hettinger [Thu, 2 Dec 2004 08:57:19 +0000 (08:57 +0000)]
Backport minor documentation fixups.
Martin v. Löwis [Wed, 1 Dec 2004 21:47:02 +0000 (21:47 +0000)]
Add all readme files in Tools.
Fred Drake [Wed, 1 Dec 2004 06:29:51 +0000 (06:29 +0000)]
- fix up internal hyperlink generation in PDF formatting so that links at
the beginning of a paragraph do not generate errors; this affected
things like \refmodule when it came first in a paragraph
- clean up the .sty file to separate out the treatment of the start
of a new paragraph
Martin v. Löwis [Tue, 30 Nov 2004 22:18:39 +0000 (22:18 +0000)]
Properly define HAVE_TERM_H if term.h is detected.
Martin v. Löwis [Tue, 30 Nov 2004 22:08:28 +0000 (22:08 +0000)]
Fix term.h check so that HAVE_TERM_H is actually generated.
Peter Astrand [Tue, 30 Nov 2004 18:11:37 +0000 (18:11 +0000)]
Corrected example for replacing shell pipeline. Fixes bug
1073790 .
Anthony Baxter [Tue, 30 Nov 2004 13:16:58 +0000 (13:16 +0000)]
post 2.4 machinations (branch)
cvs2svn [Tue, 30 Nov 2004 13:16:58 +0000 (13:16 +0000)]
This commit was manufactured by cvs2svn to create branch
'release24-maint'.
Anthony Baxter [Tue, 30 Nov 2004 11:53:10 +0000 (11:53 +0000)]
whoops!
cvs2svn [Tue, 30 Nov 2004 01:49:18 +0000 (01:49 +0000)]
This commit was manufactured by cvs2svn to create tag 'r24'.
Anthony Baxter [Tue, 30 Nov 2004 01:49:18 +0000 (01:49 +0000)]
update gcc ref
Anthony Baxter [Tue, 30 Nov 2004 01:28:55 +0000 (01:28 +0000)]
doodedoodedoo on the way to 2.4 final
Fred Drake [Mon, 29 Nov 2004 13:12:44 +0000 (13:12 +0000)]
REVERT revision 1.260; the trunk is FROZEN.
This change can be made on the trunk and release24-maint branch after
the trunk is unfrozen.
Martin v. Löwis [Mon, 29 Nov 2004 09:57:14 +0000 (09:57 +0000)]
Bump buildno for 2.4 release
Raymond Hettinger [Mon, 29 Nov 2004 08:53:14 +0000 (08:53 +0000)]
Fix a nit.
Raymond Hettinger [Mon, 29 Nov 2004 05:54:48 +0000 (05:54 +0000)]
Fix argument order in pure python version of nsmallest() and nlargest().
Barry Warsaw [Mon, 29 Nov 2004 03:46:54 +0000 (03:46 +0000)]
RFC 2822 describes the characters allowed in a header field name. Conform to
this, and add test cases.
Anthony Baxter [Mon, 29 Nov 2004 01:40:31 +0000 (01:40 +0000)]
preparing for 2.4 final (wooooooo!)
Barry Warsaw [Mon, 29 Nov 2004 01:10:14 +0000 (01:10 +0000)]
There's likely nothing more to do to the email package before Python 2.4 is
final, so I'm marking email's version number as "3.0" (e.g. final).
Tim Peters [Sun, 28 Nov 2004 01:10:01 +0000 (01:10 +0000)]
Whitespace normalization.
Barry Warsaw [Sun, 28 Nov 2004 00:21:42 +0000 (00:21 +0000)]
Fix for SF bug #
1072623 . When the last line of the input string does not end
in a newline, and it's an end boundary, the FeedParser wasn't recognizing it
as such. Tweak the regexp to make the ending linesep optional.
For grins, clear self._partial when closing the BufferedSubFile.
Added a test case.
Walter Dörwald [Thu, 25 Nov 2004 12:23:23 +0000 (12:23 +0000)]
Fix typo in comment.
Raymond Hettinger [Thu, 25 Nov 2004 05:35:32 +0000 (05:35 +0000)]
Fix typo.
Raymond Hettinger [Thu, 25 Nov 2004 05:16:19 +0000 (05:16 +0000)]
Clarify the ordering of dictionary keys.
Raymond Hettinger [Thu, 25 Nov 2004 04:47:09 +0000 (04:47 +0000)]
Make sure the money formatting recipe can doesn't run out of digits
to the right of the decimal point.
Hye-Shik Chang [Thu, 25 Nov 2004 04:04:20 +0000 (04:04 +0000)]
Rename a static variable "history_length" to "_history_length".
GNU readline exports a global variable that has such a name already
and the collision makes gcc4 doesn't compile the source.
Andrew M. Kuchling [Thu, 25 Nov 2004 01:15:25 +0000 (01:15 +0000)]
Following a LtU thread, change introductory paragraph of decimal section
Fredrik Lundh [Wed, 24 Nov 2004 22:31:11 +0000 (22:31 +0000)]
SF patch #
1071739 (by Christos Georgiou)
This patch offers a better explanation in case the MS VC++ (free)
toolkit is installed but the .NET Framework SDK is not.
Fred Drake [Wed, 24 Nov 2004 14:57:04 +0000 (14:57 +0000)]
add missing dependency
Raymond Hettinger [Wed, 24 Nov 2004 07:28:48 +0000 (07:28 +0000)]
SF bug #
1071588 coercing decimal to int doesn't work between -1 and 1
Raymond Hettinger [Wed, 24 Nov 2004 05:53:26 +0000 (05:53 +0000)]
SF bug #
1071566 : moneyfmt recipe in decimal documentation has error
Brett Cannon [Wed, 24 Nov 2004 03:01:36 +0000 (03:01 +0000)]
Have testLoadTkFailure() skip on cygwin since Tcl/Tk on cygwin renders to the
Windows GDI directly and thus does not need a DISPLAY environment variable.
Thanks Jason Tishler.
Kurt B. Kaiser [Tue, 23 Nov 2004 18:06:08 +0000 (18:06 +0000)]
Hye-Shik Chang's fix for Bug 875692.
Improve signal handling, especially when using threads, by forcing an early
re-execution of PyEval_EvalFrame() "periodic" code when things_to_do is not
cleared by Py_MakePendingCalls().
M Misc/NEWS
M Python/ceval.c
Johannes Gijsbers [Tue, 23 Nov 2004 09:27:27 +0000 (09:27 +0000)]
Bug #
1071513 : don't test on Cygwin, as chmod doesn't work reliably there
(http://www.cygwin.com/faq/faq_3.html#SEC41).
Also check whether onerror has actually been called so this test will
fail on assertion instead of on trying to chmod a non-existent file.
Tim Peters [Mon, 22 Nov 2004 16:53:46 +0000 (16:53 +0000)]
os.walk(): Changed the "sum of bytes consumed by files" example to use
a generator expression instead of a listcomp.
Not a backport candidate (genexps are new in 2.4).
Tim Peters [Mon, 22 Nov 2004 16:49:02 +0000 (16:49 +0000)]
SF bug
1071087 : os.walk example for deleting a full tree is sometime wrong.
Clarify that the example assumes no links are present; the point of the
example is to illustrate a need for topdown=False, not to wrestle with
platform-dependent link convolutions.
Also spell os.path.join() out in full, instead of using a shortcut import.
The bug reporter was confused by that too, and it's clearer this way.
Bugfix candidate; but I don't intend to backport it.
Marc-André Lemburg [Mon, 22 Nov 2004 13:02:31 +0000 (13:02 +0000)]
Correct the handling of 0-termination of PyUnicode_AsWideChar()
and its usage in PyLocale_strcoll().
Clarify the documentation on this.
Thanks to Andreas Degert for pointing this out.
Martin v. Löwis [Sun, 21 Nov 2004 10:16:26 +0000 (10:16 +0000)]
Include site-packages directory.
Brett Cannon [Sat, 20 Nov 2004 21:10:07 +0000 (21:10 +0000)]
Add 'linux2' as one of the platforms that does not use the echo service as one
of the test possiblities for testGetServBy().
Facundo Batista [Sat, 20 Nov 2004 00:33:51 +0000 (00:33 +0000)]
Fixed quantize syntax.
Kurt B. Kaiser [Fri, 19 Nov 2004 15:46:49 +0000 (15:46 +0000)]
On OpenBSD, terminating IDLE with ctrl-c from the command line caused a
stuck subprocess MainThread because only the SocketThread was exiting.
M NEWS.txt
M idlever.py
M run.py
Andrew M. Kuchling [Fri, 19 Nov 2004 14:55:28 +0000 (14:55 +0000)]
Fill in the benchmark figures, bogus or not; add a disclaimer
Andrew M. Kuchling [Fri, 19 Nov 2004 14:43:36 +0000 (14:43 +0000)]
Last pass to fill in contributor names; remove stray 'contributed by' from the incompatible changes section; remove some XXX comments
Andrew M. Kuchling [Fri, 19 Nov 2004 14:27:54 +0000 (14:27 +0000)]
It's GTK+, apparently; remove XXX comment
Andrew M. Kuchling [Fri, 19 Nov 2004 14:26:23 +0000 (14:26 +0000)]
Bump version number; update patch/bug counts; bet that the final release will be in December
cvs2svn [Thu, 18 Nov 2004 12:32:27 +0000 (12:32 +0000)]
This commit was manufactured by cvs2svn to create tag 'r24c1'.
Anthony Baxter [Thu, 18 Nov 2004 12:32:27 +0000 (12:32 +0000)]
2.4rc1