Kurt B. Kaiser [Wed, 19 Jan 2005 01:44:06 +0000 (01:44 +0000)]
Backport rpc.py rev 1.28 dating from 21Jan04
rpc.py:SocketIO - Large modules were generating large pickles when downloaded
to the execution server. The return of the OK response from the subprocess
initialization was interfering and causing the sending socket to be not
ready. Add an IO ready test to fix this. Moved the polling IO ready test
into pollpacket().
Fix typo in rpc.py, s/b "pickle.PicklingError" not "pickle.UnpicklingError".
idlever.py should be 1.0.4 to align with NEWS.txt. There was no IDLE release
at 2.3.1 which accounts for the unsync.
If $MACOSX_DEPLOYMENT_TARGET is set, and >= 10.3, during configure we
setup extensions to link with dynamic lookup. We also record the
value in the Makefile, and distutils uses the same value to build extension
modules. If MACOSX_DEPLOYMENT_TARGET is not set it defaults to the
current OSX version.
If we cannot use -undefined dynamic_lookup (such as on 10.2 or earlier)
we link extensions directly against the dynamic library in the framework in
stead of against the framework. This will fix building extensions for 2.3
after 2.4 has been installed too.
Jack Jansen [Tue, 4 Jan 2005 16:05:33 +0000 (16:05 +0000)]
Backport of 1.55 and 1.57:
- Added quotes around the destroot arguments, so empty destroot works.
- Run fixapplepython23 script to check whether Apple's Python 2.3 needs
to be patched.
Jack Jansen [Mon, 3 Jan 2005 15:46:30 +0000 (15:46 +0000)]
Backport of 1.37:
- Added an "installer" flavor, which uses the "open" command to install
something (overridable through Install-command entry)
- Hidden status is now determined by flavor == hidden, not by
missing Download-URL. Hidden packages behave like installer packages.
- Made some error messages a bit more understandable.
Because there's new functionality the version has been upped to 0.5.
Jack Jansen [Sun, 2 Jan 2005 23:17:06 +0000 (23:17 +0000)]
Added a band-aid to make this script work with the older 2.3.0
buildtools if no destroot option is given. That makes life for the
additions installer a lot simpler.
Jack Jansen [Fri, 31 Dec 2004 10:44:41 +0000 (10:44 +0000)]
Backport:
Fix for #1091468: DESTROOTed frameworkinstalls fail. Added a --destroot
option to various tools, and do the right thing when we're doing a destroot
install.
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.