Jack Jansen [Tue, 28 Dec 2004 21:53:15 +0000 (21:53 +0000)]
Backport of 1.36:
- getDefaultDatabase wasn't listed in __all__.
- using a different database for non-final releases should only be done
for X.Y.0. Non-final micro releases can use the default database just fine,
as they are required to be backward compatible.
Kurt B. Kaiser [Thu, 23 Dec 2004 04:26:55 +0000 (04:26 +0000)]
The GUI was hanging if the shell window was closed while a raw_input()
was pending. Restored the quit() of the readline() mainloop().
http://mail.python.org/pipermail/idle-dev/2004-December/002307.html
Thomas Heller [Wed, 22 Dec 2004 15:35:20 +0000 (15:35 +0000)]
Backport a patch from Mark Hammond.
Partial fix for [1067732] - "wininst --install-script leaves residual
files on C:\"
'tempnam()' is used rather than 'tmpnam()' - 'tmpnam' creates a temp
file on the root of the current drive, and if this is readonly
explains the 'freopen' errors occasionally reported. 'tempnam' creates
the temp file in the %TEMP% directory.
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 /* */
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().
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
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)
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.
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 [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.
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.
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