]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
21 years agoConvert path objects to strings in askdirectory. Fixes #852314.
Martin v. Löwis [Mon, 1 Dec 2003 21:04:02 +0000 (21:04 +0000)] 
Convert path objects to strings in askdirectory. Fixes #852314.

21 years agoAdd testcases for _winreg segfault (SF 851056).
Guido van Rossum [Sun, 30 Nov 2003 22:45:03 +0000 (22:45 +0000)] 
Add testcases for _winreg segfault (SF 851056).

21 years agoAdd news item for _winreg fix (SF bug 851056).
Guido van Rossum [Sun, 30 Nov 2003 22:10:54 +0000 (22:10 +0000)] 
Add news item for _winreg fix (SF bug 851056).

21 years agoBackport:
Guido van Rossum [Sun, 30 Nov 2003 22:07:34 +0000 (22:07 +0000)] 
Backport:
Remove all uses of alloca() from this module.  The alloca() return value
isn't checked, and it *is* possible that a very large alloca() call is
made, e.g. when a large registry value is being read.  I don't know if
alloca() in that case returns NULL or returns a pointer pointing outside
the stack, and I don't want to know -- I've simply replaced all calls to
alloca() with either PyMem_Malloc() or PyString_FromStringAndSize(NULL,)
as appropriate, followed by a size check.  This addresses SF buf 851056.

21 years agobackport:
Anthony Baxter [Sun, 30 Nov 2003 01:45:20 +0000 (01:45 +0000)] 
backport:
Fix a bug discovered by Kalle Svensson: comparing sys.maxint to
2**32-1 makes no sense.  Use 2**31-1 instead.

21 years agoI think this description of bug #848614 is better.
Thomas Heller [Fri, 28 Nov 2003 19:45:02 +0000 (19:45 +0000)] 
I think this description of bug #848614 is better.

21 years agoSee SF #848614: distutils' msvccompiler now tries to detect that MSVC6
Thomas Heller [Fri, 28 Nov 2003 19:35:58 +0000 (19:35 +0000)] 
See SF #848614: distutils' msvccompiler now tries to detect that MSVC6
is installed but the registry settings are incomplete because the gui
has never been run.

21 years agoFix (workaround, actually) for bug #844676: deselecting "show hidden" can
Jack Jansen [Thu, 27 Nov 2003 23:20:06 +0000 (23:20 +0000)] 
Fix (workaround, actually) for bug #844676: deselecting "show hidden" can
cause an index error. We now select the first package if this threatens
to happen. Backport of 1.17.

21 years agoPackage Mnager error dialogs could refer to hidden packages, which was
Jack Jansen [Thu, 27 Nov 2003 23:12:37 +0000 (23:12 +0000)] 
Package Mnager error dialogs could refer to hidden packages, which was
confusing. To be on the safe side we always show hidden packages before
showing error dialogs. Backport of 1.16.

21 years agoAdded preliminary notes on creating the MacPython for Panther additions
Jack Jansen [Thu, 27 Nov 2003 22:52:58 +0000 (22:52 +0000)] 
Added preliminary notes on creating the MacPython for Panther additions
distributions.

21 years agoBackported from the trunk.
Jack Jansen [Thu, 27 Nov 2003 22:08:08 +0000 (22:08 +0000)] 
Backported from the trunk.

21 years agoPatch #849350: Update to document bool return values.
Martin v. Löwis [Thu, 27 Nov 2003 19:43:12 +0000 (19:43 +0000)] 
Patch #849350: Update to document bool return values.

21 years agoFix a typo introduced at Rev 1.19.8.2
Kurt B. Kaiser [Tue, 25 Nov 2003 05:06:56 +0000 (05:06 +0000)] 
Fix a typo introduced at Rev 1.19.8.2

M IOBinding.py

21 years agoSilence GCC warning when asserts are turned off.
Guido van Rossum [Mon, 24 Nov 2003 04:02:31 +0000 (04:02 +0000)] 
Silence GCC warning when asserts are turned off.

21 years agoBackport:
Kurt B. Kaiser [Mon, 24 Nov 2003 02:34:01 +0000 (02:34 +0000)] 
Backport:

- After an exception, run.py was not setting the exception vector. Noam
  Raphael suggested correcting this so pdb's postmortem pm() would work.
  IDLEfork Patch 844675

Update NEWS and include some items missed in IDLE1.0b2.

Bump the version.

Modified Files:
 Tag: release23-maint
 NEWS.txt idlever.py run.py

21 years agotest_guess_all_types(): Use a more robust test for checking that
Barry Warsaw [Sun, 23 Nov 2003 16:17:42 +0000 (16:17 +0000)] 
test_guess_all_types(): Use a more robust test for checking that
guess_all_extensions() returns (at least) what we expect.  As Jeff
Epler suggests in

http://mail.python.org/pipermail/python-dev/2003-September/038264.html

We use a set to test the results.  This fixes the test when
test_urllib2 is run before test_mimetypes.

21 years agoIndented and repaired the maze of #ifdefs setting USE_RECURSION_LIMIT.
Tim Peters [Sat, 22 Nov 2003 03:46:30 +0000 (03:46 +0000)] 
Indented and repaired the maze of #ifdefs setting USE_RECURSION_LIMIT.
Indented because it was incomprehensible.  "Repaired" means someone
checked in a change that screwed up the multiple nesting levels, causing
USE_RECURSION_LIMIT to stop getting defined on all non-LP64 boxes other
than FreeBSD.  Tried to repair that in a more-robust way.  That error
in turn caused a bogus change to get checked in to test_re.py, which I
repaired earlier.

This needs fresh testing on all non-Win32 platforms (Win32 never used
USE_RECURSION_LIMIT, and still doesn't).  Running the standard test_re.py
is an adequate test.

21 years agoReverted from rev 1.45.6.1 to rev 1.45: deep recursion is still part of
Tim Peters [Sat, 22 Nov 2003 03:25:40 +0000 (03:25 +0000)] 
Reverted from rev 1.45.6.1 to rev 1.45:  deep recursion is still part of
sre in 2.3, and the backport of the 2.4 version of the tests should not
have been done.  It got confused because someone else checked a bad
change into _sre.c that caused the tests that are *supposed* to raise
a recursion exception to stop doing so on some (most?) platforms.

test_re passes again on Windows now.  Until the bad change to _sre gets
fixed, it will fail on platforms other than Windows and FreeBSD, either
by "Test Failed", or by bad consequences of C stack overflow.

21 years agoMore words: gave more motivation, and added cautions about the special
Tim Peters [Fri, 21 Nov 2003 22:21:19 +0000 (22:21 +0000)] 
More words:  gave more motivation, and added cautions about the special
dangers of trying to iterate over weak dicts.

21 years agoAdd a missing import. Closes SF # 816344. Will forward port.
Barry Warsaw [Fri, 21 Nov 2003 20:26:59 +0000 (20:26 +0000)] 
Add a missing import.  Closes SF # 816344.  Will forward port.

21 years agoSF bug 839548: Bug in type's GC handling causes segfaults.
Tim Peters [Thu, 20 Nov 2003 22:13:51 +0000 (22:13 +0000)] 
SF bug 839548:  Bug in type's GC handling causes segfaults.
Also SF patch 843455.

This is a critical bugfix, backported from 2.4 development.
I don't intend to backport beyond 2.3 maint.  The bugs this fixes
have been there since weakrefs were introduced.

21 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Thu, 20 Nov 2003 22:13:51 +0000 (22:13 +0000)] 
This commit was manufactured by cvs2svn to create branch
'release23-maint'.

21 years agoBackport checkin:
Walter Dörwald [Thu, 20 Nov 2003 13:38:57 +0000 (13:38 +0000)] 
Backport checkin:
Fix typo fix.

21 years agoBackport checkin:
Walter Dörwald [Wed, 19 Nov 2003 13:37:01 +0000 (13:37 +0000)] 
Backport checkin:
Fix typos.

21 years agoGenerator's constructor: The documentation was incorrect regarding how
Barry Warsaw [Wed, 19 Nov 2003 02:20:14 +0000 (02:20 +0000)] 
Generator's constructor: The documentation was incorrect regarding how
header wrapping gets done when maxheaderlen <> 0.  The header really
gets wrapped via the email.Header.Header class, which has a more
sophisticated algorithm than just splitting on semi-colons.

21 years ago__init__(): The docstring was incorrect regarding how header wrapping
Barry Warsaw [Wed, 19 Nov 2003 02:19:43 +0000 (02:19 +0000)] 
__init__(): The docstring was incorrect regarding how header wrapping
gets done when maxheaderlen <> 0.  The header really gets wrapped via
the email.Header.Header class, which has a more sophisticated
algorithm than just splitting on semi-colons.

21 years agoBackport of fix for [ 765456 ]: testAFakeZlib failed on platforms that use
Just van Rossum [Tue, 18 Nov 2003 23:04:28 +0000 (23:04 +0000)] 
Backport of fix for [ 765456 ]: testAFakeZlib failed on platforms that use
a statically linked zlib module, but since the problem it tests can't
exist on these systems, simply skip it then.

21 years agoBackport of fix for [ 782686 ]: new files used \r as the default line
Just van Rossum [Tue, 18 Nov 2003 22:46:08 +0000 (22:46 +0000)] 
Backport of fix for [ 782686 ]: new files used \r as the default line
separator instead of os.linesep.

21 years agoPatch #836434: Use dlopen/dlsym on AIX if available. Also disable
Martin v. Löwis [Tue, 18 Nov 2003 19:59:39 +0000 (19:59 +0000)] 
Patch #836434: Use dlopen/dlsym on AIX if available. Also disable
_XOPEN_SOURCE on AIX 4.

21 years agoPatch #841807: Check whether a versioned libpython.so symlink is needed
Martin v. Löwis [Tue, 18 Nov 2003 19:54:00 +0000 (19:54 +0000)] 
Patch #841807: Check whether a versioned libpython.so symlink is needed
in altbininstall.

21 years agoPatch #843088: Fix typos.
Martin v. Löwis [Tue, 18 Nov 2003 19:48:41 +0000 (19:48 +0000)] 
Patch #843088: Fix typos.

21 years agoFix typo
Raymond Hettinger [Sun, 16 Nov 2003 13:45:21 +0000 (13:45 +0000)] 
Fix typo

21 years agoSet version to 2.3.3a0.
Thomas Heller [Fri, 14 Nov 2003 19:07:21 +0000 (19:07 +0000)] 
Set version to 2.3.3a0.

It would be better if this would be done immediately after a release
is out ;-)

21 years agoSet version to 2.3.3a0.
Thomas Heller [Fri, 14 Nov 2003 18:33:13 +0000 (18:33 +0000)] 
Set version to 2.3.3a0.

It would be better if this would be done immediately after a release
is out ;-)

22 years agoMention patch #841977: modulefinder didn't find extension modules in packages
Thomas Heller [Fri, 14 Nov 2003 10:27:26 +0000 (10:27 +0000)] 
Mention patch #841977: modulefinder didn't find extension modules in packages

22 years agoSF #841977 - modulefinder fails to find extension modules in packages
Thomas Heller [Fri, 14 Nov 2003 10:23:03 +0000 (10:23 +0000)] 
SF #841977 - modulefinder fails to find extension modules in packages

The find_all_submodules() method in modulefinder only
looks for *.py, *.pyc, and *.pyo files.  Python
extension modules are only found if they are referenced
in import statements somewhere.

This patch uses the actual list from imp.get_suffixes().

Backported to release-maint23.

22 years agosubtype_dealloc(): A more complete fix for critical bug 840829 +
Tim Peters [Thu, 13 Nov 2003 22:48:42 +0000 (22:48 +0000)] 
subtype_dealloc():  A more complete fix for critical bug 840829 +
expanded the test case with a piece that needs the more-complete fix.

I don't intend to backport this beyond 2.3 maint.  It's a critical
bugfix, and should be backported to 2.2, 2.1, ..., if more releases in
those lines get made.

22 years ago#define HAVE_MEMMOVE on the cmdline for the pyexpat project; it doesn't
Tim Peters [Thu, 13 Nov 2003 15:52:25 +0000 (15:52 +0000)] 
#define HAVE_MEMMOVE on the cmdline for the pyexpat project; it doesn't
include Python.h, Fred doesn't want the source code changed, and it
won't compile on Windows otherwise.

22 years agoPatch #804543: strdup saved locales.
Martin v. Löwis [Thu, 13 Nov 2003 07:42:13 +0000 (07:42 +0000)] 
Patch #804543: strdup saved locales.

22 years agoBackport of fix for SF bug 840829, memory corruption in some cases of
Tim Peters [Thu, 13 Nov 2003 01:17:55 +0000 (01:17 +0000)] 
Backport of fix for SF bug 840829, memory corruption in some cases of
weakref callbacks.

This is a critical bugfix.  It's already been fixed on the trunk (2.4
development).  I don't intend to backport it to the 22 line, but if a
2.2.4 ever gets released, this should be in it.

22 years agoImprove backwards compatibility code to handle True/False.
Raymond Hettinger [Wed, 12 Nov 2003 15:21:57 +0000 (15:21 +0000)] 
Improve backwards compatibility code to handle True/False.

22 years agoadd missing "if"
Fred Drake [Mon, 10 Nov 2003 14:42:58 +0000 (14:42 +0000)] 
add missing "if"

22 years agoSF bug #835457: Small typo in logging documentation
Raymond Hettinger [Sat, 8 Nov 2003 11:41:32 +0000 (11:41 +0000)] 
SF bug #835457: Small typo in logging documentation

22 years agoBackport of 1.26:
Michael W. Hudson [Fri, 7 Nov 2003 12:11:16 +0000 (12:11 +0000)] 
Backport of 1.26:

Fix the problem addressed by patch

[ 819012 ] Fix for former/latter confusion in Extending documentation

although not by using supplied patch.

22 years agoPatch #837322: Clarify owning, borrowing, stealing.
Martin v. Löwis [Thu, 6 Nov 2003 21:07:47 +0000 (21:07 +0000)] 
Patch #837322: Clarify owning, borrowing, stealing.

22 years agoOverallocate target buffer for normalization more early. Fixes #834676.
Martin v. Löwis [Thu, 6 Nov 2003 20:47:43 +0000 (20:47 +0000)] 
Overallocate target buffer for normalization more early. Fixes #834676.

22 years agoOn RH10, the PIE additions to gcc mean that id() can sometimes be a very
Anthony Baxter [Thu, 6 Nov 2003 13:57:49 +0000 (13:57 +0000)] 
On RH10, the PIE additions to gcc mean that id() can sometimes be a very
large 32 bit int, which comes out as a negative int. Workaround this to
prevent warnings from the test suite and the std lib.

22 years agoOn RH10, the PIE additions to gcc mean that id() can sometimes be a very
Anthony Baxter [Thu, 6 Nov 2003 13:40:46 +0000 (13:40 +0000)] 
On RH10, the PIE additions to gcc mean that id() can sometimes be a very
large 32 bit int, which comes out as a negative int. Workaround this to
prevent warnings from the test suite.

22 years agoTemporary "fix" for the fact that pbxbuild is replaced with xcodebuild
Jack Jansen [Tue, 4 Nov 2003 22:45:16 +0000 (22:45 +0000)] 
Temporary "fix" for the fact that pbxbuild is replaced with xcodebuild
on Panther: make it a variable. Changing the variable has to be done
by hand, for now, that remains to be worked on.

22 years ago$(prefix) wasn't communicated to Mac/OSX/Makefile for all targets. Fixed.
Jack Jansen [Tue, 4 Nov 2003 21:15:22 +0000 (21:15 +0000)] 
$(prefix) wasn't communicated to Mac/OSX/Makefile for all targets. Fixed.

22 years agoVarious fixes to make the standard applets have a correct version number,
Jack Jansen [Tue, 4 Nov 2003 21:04:22 +0000 (21:04 +0000)] 
Various fixes to make the standard applets have a correct version number,
and to make BuildApplet have an icon again (albeit a quickly converted
OS9 icon).

22 years agoFiles used for second build of MacPython for Panther additions.
Jack Jansen [Tue, 4 Nov 2003 21:03:01 +0000 (21:03 +0000)] 
Files used for second build of MacPython for Panther additions.

22 years agoInfoPlist.strings files should be UTF-16, not plain ASCII.
Jack Jansen [Tue, 4 Nov 2003 20:33:06 +0000 (20:33 +0000)] 
InfoPlist.strings files should be UTF-16, not plain ASCII.

22 years agoinclude bug number
Anthony Baxter [Tue, 4 Nov 2003 14:40:39 +0000 (14:40 +0000)] 
include bug number

22 years agonote new sre algorithm
Anthony Baxter [Tue, 4 Nov 2003 14:38:51 +0000 (14:38 +0000)] 
note new sre algorithm

22 years agoget tests working again. partial backport of 1.46 - I fixed the
Anthony Baxter [Tue, 4 Nov 2003 14:11:01 +0000 (14:11 +0000)] 
get tests working again. partial backport of 1.46 - I fixed the
recursive tests that used to fail, but left test_re_groupref_exists
disabled, as it fails on the release23-maint branch. Maybe something
else needs to be backported?

22 years agobackport of 1.56
Anthony Baxter [Tue, 4 Nov 2003 13:53:38 +0000 (13:53 +0000)] 
backport of 1.56
Apply patch 823328 -- support for rfc 2617 digestion authentication.

This fixes the current (broken) digest auth code.

22 years agofix comments/docstring problems related to SF bug # 821818
Alex Martelli [Sun, 2 Nov 2003 19:39:14 +0000 (19:39 +0000)] 
fix comments/docstring problems related to SF bug # 821818

22 years agofix SF bug # 812818
Alex Martelli [Sun, 2 Nov 2003 19:38:24 +0000 (19:38 +0000)] 
fix SF bug # 812818

22 years agofixed wrong error checking on fcntl call as per SF bug # 821896
Alex Martelli [Sun, 2 Nov 2003 18:11:53 +0000 (18:11 +0000)] 
fixed wrong error checking on fcntl call as per SF bug # 821896

22 years agofixed buggy comment as per SF bug #827856
Alex Martelli [Sun, 2 Nov 2003 17:11:03 +0000 (17:11 +0000)] 
fixed buggy comment as per SF bug #827856

22 years agofixed obvious bug in _send_header as per SF bug #831271
Alex Martelli [Sun, 2 Nov 2003 16:51:38 +0000 (16:51 +0000)] 
fixed obvious bug in _send_header as per SF bug #831271

22 years agoAvoid giving advice that's bad for security, as per SF bug #823515
Alex Martelli [Sun, 2 Nov 2003 16:31:22 +0000 (16:31 +0000)] 
Avoid giving advice that's bad for security, as per SF bug #823515

22 years agoclarified (in the 5.14 summary) that tests and comparisons all chain,
Alex Martelli [Sun, 2 Nov 2003 16:11:48 +0000 (16:11 +0000)] 
clarified (in the 5.14 summary) that tests and comparisons all chain,
added a specific \ref to 5.9 in lieu of previous vague "see above".

22 years agoSF patch #834444: add versionadd to new functions
Raymond Hettinger [Sun, 2 Nov 2003 09:52:38 +0000 (09:52 +0000)] 
SF patch #834444:  add versionadd to new functions
(Contributed by George Yoshida.)

22 years agoRemember the scroll position when rebuilding the browser (as we do far
Jack Jansen [Sun, 2 Nov 2003 01:11:09 +0000 (01:11 +0000)] 
Remember the scroll position when rebuilding the browser (as we do far
too often). Fixes #824430.

22 years agoAllow for the documentation to be inside PythonIDE as well as in
Jack Jansen [Sat, 1 Nov 2003 23:14:41 +0000 (23:14 +0000)] 
Allow for the documentation to be inside PythonIDE as well as in
the Python.app inside the framework (the original location for 2.3).

This enables us to install the documentation on Panther too.

22 years ago- In PythonIDE, add the Tools/IDE directory as the second entry in
Jack Jansen [Sat, 1 Nov 2003 22:30:50 +0000 (22:30 +0000)] 
- In PythonIDE, add the Tools/IDE directory as the second entry in
sys.path in stead of as the first, leaving PythonIDE.app/Contents/Resources
as the first one.
- When building the IDE for use with Apple-provided MacPython add
PythonIDEMain.py to the Resources folder.

Together these two makes fixes to PythonIDEMain available to Panther
users.

22 years agoTwo related fixes:
Jack Jansen [Sat, 1 Nov 2003 22:28:19 +0000 (22:28 +0000)] 
Two related fixes:
- The code for setting the working directory to $HOME was both incorrect
and in the wrong place, fixed.
- On OSX the default location for IDE scripts is now
$HOME/Library/Python/IDE-Scripts.

Together, these solve the problem that some people had (but, curiously
enough, only some) that the IDE crashed at startup because it couldn't
create "/Scripts".

22 years ago[Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy
Andrew M. Kuchling [Fri, 31 Oct 2003 19:52:42 +0000 (19:52 +0000)] 
[Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy

22 years agoPatch #833710: Set INSTSONAME on Solaris.
Martin v. Löwis [Fri, 31 Oct 2003 15:41:49 +0000 (15:41 +0000)] 
Patch #833710: Set INSTSONAME on Solaris.

22 years agoPatch #830858: Correct the number of is-functions.
Martin v. Löwis [Fri, 31 Oct 2003 15:34:16 +0000 (15:34 +0000)] 
Patch #830858: Correct the number of is-functions.

22 years agoPatch #785689: Use basename in usage.
Martin v. Löwis [Fri, 31 Oct 2003 13:05:04 +0000 (13:05 +0000)] 
Patch #785689: Use basename in usage.

22 years agoPatch #787189: Explicitly define CTRL on SGI.
Martin v. Löwis [Fri, 31 Oct 2003 13:01:08 +0000 (13:01 +0000)] 
Patch #787189: Explicitly define CTRL on SGI.

22 years agoPatch #788404: ignore "b" and "t" mode modifiers in posix_popen.
Martin v. Löwis [Fri, 31 Oct 2003 10:01:37 +0000 (10:01 +0000)] 
Patch #788404: ignore "b" and "t" mode modifiers in posix_popen.
Fixes #703198.

22 years agoSF bug #827902: ctime is not creation time
Raymond Hettinger [Wed, 29 Oct 2003 00:47:11 +0000 (00:47 +0000)] 
SF bug #827902: ctime is not creation time

New fix for this bug recognizes differing definitions on various systems.

22 years agoSF #775057, fix IDLE problem in about dialog
Neal Norwitz [Tue, 28 Oct 2003 21:58:26 +0000 (21:58 +0000)] 
SF #775057, fix IDLE problem in about dialog

If the file doesn't exist, the code to display an error message was broken

22 years agoSF bug #827902: ctime is not creation time
Raymond Hettinger [Mon, 27 Oct 2003 20:03:22 +0000 (20:03 +0000)] 
SF bug #827902:  ctime is not creation time

Document the correct definition of os.path.getctime()

22 years agoPatch #803998: Correctly check for error in SSL_write.
Martin v. Löwis [Mon, 27 Oct 2003 14:24:41 +0000 (14:24 +0000)] 
Patch #803998: Correctly check for error in SSL_write.

22 years agoPatch #817854: Add missing operations for SSLFile. Fixes #792101.
Martin v. Löwis [Mon, 27 Oct 2003 14:07:43 +0000 (14:07 +0000)] 
Patch #817854: Add missing operations for SSLFile. Fixes #792101.

22 years agoDocument that varlist can be NULL.
Raymond Hettinger [Sun, 26 Oct 2003 17:21:56 +0000 (17:21 +0000)] 
Document that varlist can be NULL.

22 years agoregressing the performance bugfix -- Guido wants the performance bug left
Alex Martelli [Sat, 25 Oct 2003 23:22:55 +0000 (23:22 +0000)] 
regressing the performance bugfix -- Guido wants the performance bug left
alone, because there can be no guarantee re the semantics of += vs + .

22 years agoSF #829941, update tutorial, built-in types can be base classes since 2.2
Neal Norwitz [Sat, 25 Oct 2003 14:17:15 +0000 (14:17 +0000)] 
SF #829941, update tutorial, built-in types can be base classes since 2.2

22 years agodocument the performance fix to builtin_sum().
Alex Martelli [Sat, 25 Oct 2003 13:02:24 +0000 (13:02 +0000)] 
document the performance fix to builtin_sum().

22 years agochanged builtin_sum to use PyNumber_InPlaceAdd -- unchanged semantics but
Alex Martelli [Sat, 25 Oct 2003 12:47:09 +0000 (12:47 +0000)] 
changed builtin_sum to use PyNumber_InPlaceAdd -- unchanged semantics but
fixes performance bug with sum(lotsoflists, []).

22 years ago[Backport fix for bug #822668] gzip filesize should be written out mod 2**32
Andrew M. Kuchling [Fri, 24 Oct 2003 17:47:57 +0000 (17:47 +0000)] 
[Backport fix for bug #822668] gzip filesize should be written out mod 2**32

22 years agoBackport checkin:
Walter Dörwald [Fri, 24 Oct 2003 15:05:29 +0000 (15:05 +0000)] 
Backport checkin:
Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap().
charmaptranslate_makespace() allocates more memory than required for the
next replacement but didn't remember that fact, so memory size was growing
exponentially every time a replacement string is longer that one character.
This fixes SF bug #828737.

22 years agoPatch #813200: Quote executable path on Windows. Fixes #811082.
Martin v. Löwis [Thu, 23 Oct 2003 15:55:03 +0000 (15:55 +0000)] 
Patch #813200: Quote executable path on Windows. Fixes #811082.

22 years agoBackport from the trunk.
Thomas Heller [Wed, 22 Oct 2003 19:38:10 +0000 (19:38 +0000)] 
Backport from the trunk.

To build on windows, the manual editing of the python_nt.rc file to
change the version number is no longer required.

Instead, a make_versioninfo.exe is compiled, which spits out an
include file for python_nt.rc.

22 years agoAvoid confusing name for the 3rd argument to str.replace().
Fred Drake [Wed, 22 Oct 2003 02:57:23 +0000 (02:57 +0000)] 
Avoid confusing name for the 3rd argument to str.replace().
This closes SF bug #827260.

22 years agoNote the update to Expat 1.95.7.
Fred Drake [Tue, 21 Oct 2003 20:02:46 +0000 (20:02 +0000)] 
Note the update to Expat 1.95.7.

22 years agoUpdate to Expat 1.95.7; there are no changes to the Expat sources.
Fred Drake [Tue, 21 Oct 2003 20:02:35 +0000 (20:02 +0000)] 
Update to Expat 1.95.7; there are no changes to the Expat sources.

22 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Tue, 21 Oct 2003 20:02:35 +0000 (20:02 +0000)] 
This commit was manufactured by cvs2svn to create branch
'release23-maint'.

22 years agoProvide a bit more information to the compiler when building Expat.
Fred Drake [Tue, 21 Oct 2003 20:01:21 +0000 (20:01 +0000)] 
Provide a bit more information to the compiler when building Expat.
This avoids having to modify the Expat sources in any way starting
with Expat 1.95.7.

22 years agoDon't make promises about about the visibility of the induction variable.
Raymond Hettinger [Tue, 21 Oct 2003 18:43:15 +0000 (18:43 +0000)] 
Don't make promises about about the visibility of the induction variable.

22 years agoBackport removal of bogus Py_DECREF() and indentation fix.
Jeremy Hylton [Tue, 21 Oct 2003 18:15:44 +0000 (18:15 +0000)] 
Backport removal of bogus Py_DECREF() and indentation fix.

22 years agoConfigParser.items() and SafeConfigParser.items() no longer return a
Fred Drake [Tue, 21 Oct 2003 16:51:40 +0000 (16:51 +0000)] 
ConfigParser.items() and SafeConfigParser.items() no longer return a
generator.  See SF bug #818861.

22 years agoMake both items() methods return lists; one had changed to return an
Fred Drake [Tue, 21 Oct 2003 16:46:52 +0000 (16:46 +0000)] 
Make both items() methods return lists; one had changed to return an
iterator where it probably shouldn't have.
Closes SF bug #818861.

22 years agoPatch #813391: Reduce limits for amd64 and sparc64.
Martin v. Löwis [Mon, 20 Oct 2003 20:59:45 +0000 (20:59 +0000)] 
Patch #813391: Reduce limits for amd64 and sparc64.

22 years agoBackport 1.19:
Raymond Hettinger [Mon, 20 Oct 2003 20:45:33 +0000 (20:45 +0000)] 
Backport 1.19:

   Use 'predicate = bool' as the default predicate for ifilter[false].