]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Gregory P. Smith [Sun, 19 Dec 2004 23:59:51 +0000 (23:59 +0000)]
* closes SF bug/patch 967763
- fixes various memory leaks found by valgrind and a follup closer
code inspection of the bsddb module. (merges r1.32 of _bsddb.c
and an associated test case)
- also merges the one line r1.37 _bsddb.c fix that fixes a leak on
the rare DBEnv creation failed error path.
Gregory P. Smith [Sun, 19 Dec 2004 23:27:48 +0000 (23:27 +0000)]
In 1.17.6.4 part of the patch committed in 1.17.6.3 got reapplied to
the end of a second function whos code was identical enough for patch
not to reject the patch. this reverses that misapplication (only the
DBC_set_range method needed modification, not DBC_set as well). This
problem only exists in the release32-maint branch.
Gregory P. Smith [Sun, 19 Dec 2004 22:39:01 +0000 (22:39 +0000)]
redo this patch on release23-maint rather than release23-branch:
revision 1.17.4.1
date: 2003/11/03 21:37:43; author: greg; state: Exp; lines: +9 -9
* SF patch 835100 - C++ // comments are not allowed. use /* */
Brett Cannon [Sat, 18 Dec 2004 21:09:04 +0000 (21:09 +0000)]
Backport of fix for bug #
1083645 ; skip test_imp if threading is not available.
Andrew MacIntyre [Sat, 18 Dec 2004 09:46:18 +0000 (09:46 +0000)]
fix unterminated comment
Andrew MacIntyre [Sun, 12 Dec 2004 08:37:08 +0000 (08:37 +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:36:02 +0000 (08:36 +0000)]
backport of OS/2 specific fixes related to SF bug #
1003471
Brett Cannon [Sat, 11 Dec 2004 09:56:08 +0000 (09:56 +0000)]
Fix typo about what method to call when expand_tabs is true.
Skip Montanaro [Mon, 6 Dec 2004 21:27:29 +0000 (21:27 +0000)]
backport weekheader() doc fix to 2.3
Brett Cannon [Mon, 6 Dec 2004 06:19:24 +0000 (06:19 +0000)]
Don't have test_mkalias_relative exexute if sys.prefix does not exist.
Backport of fix for bug #
1077302 .
Fred Drake [Sun, 5 Dec 2004 07:50:14 +0000 (07:50 +0000)]
remove comment that's about to become obsolete
Matthias Klose [Wed, 1 Dec 2004 07:36:58 +0000 (07:36 +0000)]
Taken from 2.4/HEAD:
- 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().
Fred Drake [Thu, 11 Nov 2004 06:16:42 +0000 (06:16 +0000)]
Fix SF bug #
1061770 : Manual typesets bit-shift operators as guillemet
Armin Rigo [Tue, 9 Nov 2004 15:35:23 +0000 (15:35 +0000)]
Backported thread fixes from 2.4 (by mostly copying pystate.c over from 2.4):
* using malloc() and free() directly, as explained in the new comment
* coding style in the PyGILState_*() functions
* the recent destroy-tstate-without-holding-the-GIL bug
* lock fixes and many more comments in thread.c
Barry Warsaw [Sat, 6 Nov 2004 00:14:05 +0000 (00:14 +0000)]
get_boundary(): Fix for SF bug #
1060941 . RFC 2046 says boundaries may begin
-- but not end -- with whitespace.
Barry Warsaw [Sat, 6 Nov 2004 00:13:46 +0000 (00:13 +0000)]
test_boundary_with_leading_space(): Test case for SF bug #
1060941 . RFC 2046
says boundaries may begin -- but not end -- with whitespace.
Fred Drake [Fri, 5 Nov 2004 04:41:58 +0000 (04:41 +0000)]
add a PNG version of pyfav.gif
Fred Drake [Fri, 5 Nov 2004 04:24:24 +0000 (04:24 +0000)]
add encouragement to contribute without learning LaTeX
(closes SF bug #948517)
Fred Drake [Thu, 4 Nov 2004 03:25:23 +0000 (03:25 +0000)]
fix markup in "title" attribute for \citetitle{}
(closes SF patch #
1054715 ; backported from trunk revision 1.151)
Fred Drake [Tue, 2 Nov 2004 19:18:20 +0000 (19:18 +0000)]
clarify discussion of iteration in the section on the "for" statement
(SF bug #829073)
Fred Drake [Tue, 2 Nov 2004 18:59:18 +0000 (18:59 +0000)]
clarify trailing comma in function argument list
(SF bug #798652)
Fred Drake [Tue, 2 Nov 2004 18:26:05 +0000 (18:26 +0000)]
- show how to use file.write() with a non-string value
(closes SF bug #621057)
- add missing whitespace around assignment operator
(backported from trunk revision 1.257)
Barry Warsaw [Mon, 1 Nov 2004 04:00:06 +0000 (04:00 +0000)]
SF bug #
1030118 , this should have named the email.Utils module as the one
containing these functions. (I will backport to Python 2.3)
Tim Peters [Sun, 31 Oct 2004 22:27:45 +0000 (22:27 +0000)]
handle_weakrefs(): Simplification -- there's no need to make a second
pass over the unreachable weakrefs-with-callbacks to unreachable objects.
Tim Peters [Sun, 31 Oct 2004 00:13:07 +0000 (00:13 +0000)]
SF
1055820 : weakref callback vs gc vs threads
In cyclic gc, clear all weakrefs to unreachable objects before allowing any
Python code (weakref callbacks or __del__ methods) to run.
This is a critical bugfix, affecting all versions of Python since weakrefs
were introduced.
Brett Cannon [Thu, 28 Oct 2004 04:50:28 +0000 (04:50 +0000)]
Backport of fix for bug of year/<week of year>/<day of week> calculation that
didn't handle %U for years starting on Monday.
Fred Drake [Mon, 25 Oct 2004 21:41:57 +0000 (21:41 +0000)]
add missing line break
Thomas Heller [Fri, 22 Oct 2004 10:29:56 +0000 (10:29 +0000)]
Backport from trunk:
SF bug 917108: warnings.py does not define _test().
Removed the entire __name__ == '__main__' block.
Andrew M. Kuchling [Wed, 20 Oct 2004 11:55:54 +0000 (11:55 +0000)]
Add item
Andrew M. Kuchling [Wed, 20 Oct 2004 11:49:28 +0000 (11:49 +0000)]
[Patch #
1043972 , for bug #
1017553 ] filemode() returns an incorrect value for the mode 07111
Andrew M. Kuchling [Tue, 19 Oct 2004 19:55:35 +0000 (19:55 +0000)]
Add item
Andrew M. Kuchling [Tue, 19 Oct 2004 19:40:58 +0000 (19:40 +0000)]
Typo fixes, and a minor edit to clarify a sentence
Andrew M. Kuchling [Tue, 19 Oct 2004 19:34:07 +0000 (19:34 +0000)]
[Bug #
1048816 ] Fix bug when you do Ctrl-K at the start of a line; fix from Stefan Heimann
Andrew M. Kuchling [Tue, 19 Oct 2004 18:53:46 +0000 (18:53 +0000)]
[Bug #
1049826 ] Update version of zlib referenced in text
Brett Cannon [Mon, 18 Oct 2004 01:56:17 +0000 (01:56 +0000)]
Add support for using %U and %W in strptime when year and day of the week are
also specified.
Closes bug #
1045381 .
Neal Norwitz [Sun, 17 Oct 2004 19:56:40 +0000 (19:56 +0000)]
SF bug #
1048756 , Doc typo for pdb
Neal Norwitz [Sun, 17 Oct 2004 16:46:28 +0000 (16:46 +0000)]
SF patch #
1047577 , typo in liblocale.tex
Barry Warsaw [Sat, 9 Oct 2004 21:43:47 +0000 (21:43 +0000)]
Fix for SF bug #
1010102 . The default is PureProxy not SMTPProxy.
Barry Warsaw [Sat, 9 Oct 2004 21:33:24 +0000 (21:33 +0000)]
Fix for SF bug #
1032960 .
Guido van Rossum [Sat, 9 Oct 2004 17:43:03 +0000 (17:43 +0000)]
Make it ANSI C again.
Andrew M. Kuchling [Fri, 8 Oct 2004 18:56:40 +0000 (18:56 +0000)]
[Bug #
1022311 ] curses module uses y,x ordering of arguments, not x,y
Andrew M. Kuchling [Fri, 8 Oct 2004 18:35:46 +0000 (18:35 +0000)]
[Bug #
1041501 ] Fix example code
Brett Cannon [Wed, 6 Oct 2004 02:16:45 +0000 (02:16 +0000)]
Escape locale data for regex metacharacters.
Closes bug #
1039270 .
Brett Cannon [Sun, 3 Oct 2004 23:23:00 +0000 (23:23 +0000)]
Fix typo in docstring for system_methodSignature .
Backport of fix for bug #
1038935 .
Barry Warsaw [Tue, 28 Sep 2004 04:55:34 +0000 (04:55 +0000)]
__getitem__(): Fix docstring, SF 979924.
Martin v. Löwis [Sun, 26 Sep 2004 17:26:16 +0000 (17:26 +0000)]
Remove bogus = from -h option.
Martin v. Löwis [Sun, 26 Sep 2004 17:22:11 +0000 (17:22 +0000)]
Replace -soname with -h for Solaris compatibility. Fixes #
1034496 .
Phillip J. Eby [Thu, 23 Sep 2004 05:19:27 +0000 (05:19 +0000)]
Fix for SF bug #
1029475 : reload() doesn't work with PEP 302 loaders.
(Backport to 2.3 maintenance branch.)
Kurt B. Kaiser [Wed, 22 Sep 2004 04:52:33 +0000 (04:52 +0000)]
There was an error in the Tk error dialog fix at Rev 1.81.4.3 which caused starting
w/o the subprocess to fail. This is the same error in the 2.4 version which was
corrected at Rev 1.85, but missed in the backport! Thanks to Hans Gubitz for noticing this.
M PyShell.py
Martin v. Löwis [Sat, 18 Sep 2004 16:04:21 +0000 (16:04 +0000)]
Convert bool results back to strings. Fixes #807871.
Martin v. Löwis [Sat, 18 Sep 2004 10:06:32 +0000 (10:06 +0000)]
Make curses.h inclusion conditional as in the original patch #
1012280 .
Martin v. Löwis [Sat, 18 Sep 2004 09:58:41 +0000 (09:58 +0000)]
Patch #
1012280 : Include curses.h for term.h check. Fixes #933795.
Update to autoconf 2.59.
Skip Montanaro [Thu, 16 Sep 2004 03:31:21 +0000 (03:31 +0000)]
backport ipv6 address fix
Andrew M. Kuchling [Fri, 10 Sep 2004 19:43:11 +0000 (19:43 +0000)]
[Bug #
1023359 ] Make code match inheritance diagram
Raymond Hettinger [Mon, 6 Sep 2004 16:03:37 +0000 (16:03 +0000)]
SF bug #
1020540 : a wrong link from "frame object" in lib index.
Backport.
Raymond Hettinger [Mon, 6 Sep 2004 15:54:43 +0000 (15:54 +0000)]
SF bug #901654: split method documentation can be improved
Backport to Py2.3.
Gregory P. Smith [Sat, 4 Sep 2004 01:41:01 +0000 (01:41 +0000)]
SF bug
1017405 : DB keys() values() and items() methods were ignoring
their txn argument.
Mark Hammond [Wed, 1 Sep 2004 22:31:23 +0000 (22:31 +0000)]
Backport [
1010677 ] thread Module Breaks PyGILState_Ensure()
to the 2.3 maint branch.
Andrew M. Kuchling [Tue, 31 Aug 2004 13:07:54 +0000 (13:07 +0000)]
Use correct constants
Martin v. Löwis [Sun, 29 Aug 2004 16:45:13 +0000 (16:45 +0000)]
Patch #973204: Use -rpath instead of -R on Irix and True64.
Martin v. Löwis [Wed, 25 Aug 2004 10:53:30 +0000 (10:53 +0000)]
Patch #
1014992 : Never return more than a line from readline.
Martin v. Löwis [Wed, 25 Aug 2004 10:43:32 +0000 (10:43 +0000)]
Patch #
1015021 : Stop claiming that coerce can return None.
Matthias Klose [Tue, 24 Aug 2004 21:48:15 +0000 (21:48 +0000)]
[Patch #945642] Fix non-blocking SSL sockets, which blocked on reads/writes in Python 2.3.
Taken from HEAD, tested as part of the unstable and testing Debian packages since May on
various architectures.
Matthias Klose [Tue, 24 Aug 2004 21:37:49 +0000 (21:37 +0000)]
- Bug #902501: fix unicode value of CYRILLIC CAPITAL LETTER UKRAINIAN IE
in KOI8-U to unicode convertion table.
Martin v. Löwis [Sun, 22 Aug 2004 21:30:04 +0000 (21:30 +0000)]
Flush bz2 data even if nothing had been written so far. Fixes #
1013882
Martin v. Löwis [Sun, 22 Aug 2004 16:14:53 +0000 (16:14 +0000)]
Patch #997284: Allow pydoc to work with XP Themes (.manifest file)
Raymond Hettinger [Sun, 22 Aug 2004 15:27:16 +0000 (15:27 +0000)]
SF bug #
1013760 : Error in Chapter 4 of Tutorial
Fit a nit.
Martin v. Löwis [Fri, 20 Aug 2004 06:29:14 +0000 (06:29 +0000)]
Fail fatally if strdup fails.
Martin v. Löwis [Wed, 18 Aug 2004 13:35:49 +0000 (13:35 +0000)]
Patch #914291: Restore locale while calling readline.
Martin v. Löwis [Wed, 18 Aug 2004 13:21:22 +0000 (13:21 +0000)]
Patch #980082: Missing INCREF in PyType_Ready.
Barry Warsaw [Mon, 16 Aug 2004 15:31:43 +0000 (15:31 +0000)]
Test cases and fixes for bugs described in patch #873418: email/Message.py:
del_param fails when specifying a header.
I'll port this to Python 2.4 shortly.
Matthias Klose [Mon, 16 Aug 2004 12:15:00 +0000 (12:15 +0000)]
- The distutils sdist command now ignores all .svn directories, in
addition to CVS and RCS directories. .svn directories hold
administrative files for the Subversion source control system.
Matthias Klose [Mon, 16 Aug 2004 12:12:38 +0000 (12:12 +0000)]
- pygettext.py: Generate POT-Creation-Date header in ISO format.
Matthias Klose [Sun, 15 Aug 2004 17:16:25 +0000 (17:16 +0000)]
- Bug #891637, patch #
1005466 : fix inspect.getargs() crash on def foo((bar)).
Martin v. Löwis [Thu, 12 Aug 2004 13:44:45 +0000 (13:44 +0000)]
Define _BSD_TYPES. Fixes #
1005308 .
Martin v. Löwis [Thu, 12 Aug 2004 13:26:33 +0000 (13:26 +0000)]
Patch #
1005568 : Use _SC_PAGESIZE on Irix.
Martin v. Löwis [Thu, 12 Aug 2004 13:17:11 +0000 (13:17 +0000)]
Patch #808719: Ignore locale's encoding in IDLE if it is an empty string.
Martin v. Löwis [Thu, 12 Aug 2004 13:14:20 +0000 (13:14 +0000)]
Ignore the locale's encoding if it is an empty string.
Andrew M. Kuchling [Tue, 10 Aug 2004 19:02:54 +0000 (19:02 +0000)]
Spelling fix
Raymond Hettinger [Fri, 6 Aug 2004 21:29:22 +0000 (21:29 +0000)]
Backport SF bug #
1004088 :
big code objects (>64K) may be optimized incorrectly
Martin v. Löwis [Tue, 3 Aug 2004 19:13:18 +0000 (19:13 +0000)]
Add wait_visibility before grab_set. Fixes #946153.
Fred Drake [Tue, 3 Aug 2004 14:46:57 +0000 (14:46 +0000)]
Be more careful about maintaining the invariants; it was actually
possible that the callback-less flavors of the ref or proxy could have
been added during GC, so we don't want to replace them.
Martin v. Löwis [Tue, 3 Aug 2004 13:00:52 +0000 (13:00 +0000)]
Patch #994595: Recognize Basic auth even if other schemes are offered.
Armin Rigo [Tue, 3 Aug 2004 09:02:32 +0000 (09:02 +0000)]
back-ported SF bug #808756: refleaks
Andrew M. Kuchling [Mon, 2 Aug 2004 14:57:47 +0000 (14:57 +0000)]
Use isabs() in conditional, not abspath
Fred Drake [Fri, 30 Jul 2004 18:57:55 +0000 (18:57 +0000)]
- make references to the readline module hyperlinks now that there is
documentation to link to
- document the termination condition for cmd.Cmd.cmdloop()
- document the use of the return value for cmd.Cmd.do_*() methods
Skip Montanaro [Thu, 29 Jul 2004 02:29:24 +0000 (02:29 +0000)]
backport relevant bits of the bool api docs
Thomas Heller [Wed, 28 Jul 2004 20:04:37 +0000 (20:04 +0000)]
Use PyMODINIT_FUNC.
Fred Drake [Mon, 26 Jul 2004 17:58:53 +0000 (17:58 +0000)]
Save the uploaded documentation tarball (already done on the trunk).
Fred Drake [Mon, 26 Jul 2004 16:34:41 +0000 (16:34 +0000)]
minor cleanup of the previous change; now matches corresponding change
on the trunk
Fred Drake [Mon, 26 Jul 2004 16:32:30 +0000 (16:32 +0000)]
fix information about what flag database files are opened with by default
Anthony Baxter [Mon, 26 Jul 2004 14:32:11 +0000 (14:32 +0000)]
new .spec file, from #996316
Martin v. Löwis [Mon, 26 Jul 2004 12:45:59 +0000 (12:45 +0000)]
Patch #962487: Don't crash for empty locale names.
Martin v. Löwis [Mon, 26 Jul 2004 12:09:30 +0000 (12:09 +0000)]
Patch #995782: Add FreeBSD 5 expectations.
Martin v. Löwis [Mon, 26 Jul 2004 12:05:35 +0000 (12:05 +0000)]
Patch #997668: Correct explanation of salts.
Thomas Heller [Fri, 23 Jul 2004 14:51:06 +0000 (14:51 +0000)]
Fix an uncorrect function prototype.
Backported from trunk.
Andrew M. Kuchling [Wed, 21 Jul 2004 21:35:13 +0000 (21:35 +0000)]
[Bug #990524] Fix typo
Fred Drake [Wed, 21 Jul 2004 17:34:49 +0000 (17:34 +0000)]
revise wording to avoid confusion for non-native English speakers
(second occurance of the same wording)
Fred Drake [Wed, 21 Jul 2004 16:25:35 +0000 (16:25 +0000)]
revise wording to avoid confusion for non-native English speakers
Martin v. Löwis [Wed, 21 Jul 2004 05:34:47 +0000 (05:34 +0000)]
Patch #984714: Properly diagnose E_DECODE errors.