]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Raymond Hettinger [Mon, 1 Sep 2003 22:34:31 +0000 (22:34 +0000)]
SF patch #798534: Windows os.popen needlessly gets a reference to tuple ()
(Contributed by Andrew Gaul.)
Fixes a minor leak.
Raymond Hettinger [Mon, 1 Sep 2003 22:17:18 +0000 (22:17 +0000)]
SF patch #798467: Update docstring of has_key for bool changes
(Contributed by George Yoshida.)
Jack Jansen [Sun, 31 Aug 2003 23:40:51 +0000 (23:40 +0000)]
First stab at build script for distribution for Panther. Unfortunately
at the moment it crashes the kernel:-)
Raymond Hettinger [Sun, 31 Aug 2003 05:46:43 +0000 (05:46 +0000)]
SF bug #797853: Small problems with the csv module's documentation
Raymond Hettinger [Sun, 31 Aug 2003 05:30:18 +0000 (05:30 +0000)]
SF bug #732120:An extended definition of "non-overlapping" would save time.
Clarified the meaning of non-overlapping in patterns with zero length
matches.
Raymond Hettinger [Sun, 31 Aug 2003 05:11:15 +0000 (05:11 +0000)]
SF patch #797157: Bug 794658: os.chmod docs, stat constants
(Contributed by Christos Georgiou.)
Reference the symbol definitions in the stat module.
Raymond Hettinger [Sun, 31 Aug 2003 04:37:25 +0000 (04:37 +0000)]
SF bug #785222: zlib monotonic test
For smaller datasets, it is not always true the increasing the compression
level always results in better compression. Removed the test which made
this invalid assumption.
Raymond Hettinger [Sun, 31 Aug 2003 04:21:42 +0000 (04:21 +0000)]
SF bug 798006: Fix long option markup.
Raymond Hettinger [Sat, 30 Aug 2003 23:58:20 +0000 (23:58 +0000)]
Remove 'e.g.' from error message
Raymond Hettinger [Sat, 30 Aug 2003 23:35:56 +0000 (23:35 +0000)]
SF patch #797180: Bug 792656: slicing explained
Raymond Hettinger [Sat, 30 Aug 2003 23:24:37 +0000 (23:24 +0000)]
SF patch #797868: Tutorial, sec. 5.1.4 could contain an extra example
(Revised from the original patch contributed by Michal Pasternak.)
Also, make a couple minor fixups elsewhere.
Raymond Hettinger [Sat, 30 Aug 2003 22:16:59 +0000 (22:16 +0000)]
* Add news item for the previous bugfix
* Backport itertoolsmodule.c 1.19 to re-sync Py2.3.1 with Py2.4.
Raymond Hettinger [Sat, 30 Aug 2003 14:52:35 +0000 (14:52 +0000)]
SF bug 797650: Infinite loop in textwrap.py
When the indents were set to longer than the width and long word breaking
was enabled, an infinite loop would result because the inner loop did not
assure that at least one character was stripped off on every pass.
Raymond Hettinger [Sat, 30 Aug 2003 00:16:08 +0000 (00:16 +0000)]
SF bug #793826: using itertools.izip to mutate tuples
Avoid Armin Rigo's dastardly exercise in re-entrancy.
Raymond Hettinger [Sat, 30 Aug 2003 00:11:16 +0000 (00:11 +0000)]
For safety, replace a tuple entry before decreffing it.
Raymond Hettinger [Fri, 29 Aug 2003 23:13:16 +0000 (23:13 +0000)]
SF bug #793826: using itertools.izip to mutate tuples
Avoid Armin Rigo's dastardly exercise in re-entrancy.
Jack Jansen [Fri, 29 Aug 2003 22:46:25 +0000 (22:46 +0000)]
A makefile and setup script to create the bits that are part of
MacPython but not of Apple's Panther distribution: the waste module,
the IDE and BuildApplet applets.
Brett Cannon [Fri, 29 Aug 2003 02:34:22 +0000 (02:34 +0000)]
_strptime.srptime() escaped parentheses in the format string properly.
Closes bug #796149 .
Thomas Heller [Wed, 27 Aug 2003 20:21:06 +0000 (20:21 +0000)]
Fix typo in docstring: The switch is '-x', not '-s'.
Fred Drake [Wed, 27 Aug 2003 15:10:54 +0000 (15:10 +0000)]
remove extra word occurance; reported to webmaster
Thomas Heller [Wed, 27 Aug 2003 10:49:34 +0000 (10:49 +0000)]
Remove a typo.
Raymond Hettinger [Wed, 27 Aug 2003 05:08:19 +0000 (05:08 +0000)]
SF bug #795506: Wrong handling of string format code for float values.
Added missing support for '%F' as had been documented.
Jason Tishler [Tue, 26 Aug 2003 11:59:41 +0000 (11:59 +0000)]
test_largefile can leave its temp file open if one of many tests fail. On
platforms (e.g., Cygwin) that are "particular" about open files, this will
cause other regression tests that use the same temp file to fail:
$ ./python.exe -E -tt Lib/test/regrtest.py -l
test_largefile test_mmap test_mutants
test_largefile
test test_largefile failed -- got -1794967295L, but expected 2500000001L
test_mmap
test test_mmap crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'
test_mutants
test test_mutants crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'
This patch solves the problem by adding missing "try/finally" blocks. Note
that the "large" size of this patch is due to many white space changes --
otherwise, the patch is small.
I tested this patch under Red Hat Linux 8.0 too.
Raymond Hettinger [Mon, 25 Aug 2003 05:04:22 +0000 (05:04 +0000)]
Make the derived tools amendable to cut and paste.
Raymond Hettinger [Mon, 25 Aug 2003 04:44:33 +0000 (04:44 +0000)]
Fixed doubled word typos.
Raymond Hettinger [Mon, 25 Aug 2003 04:34:46 +0000 (04:34 +0000)]
Fix double word typos.
Raymond Hettinger [Mon, 25 Aug 2003 03:31:05 +0000 (03:31 +0000)]
SF bug #793702: Section 13.1 HTMLParser documentation error
The -- is special to TeX and was printing as just -.
Raymond Hettinger [Sat, 23 Aug 2003 03:47:56 +0000 (03:47 +0000)]
Fix typo.
Thou shalt not count to two unless proceeding to the number three.
Raymond Hettinger [Sat, 23 Aug 2003 03:39:28 +0000 (03:39 +0000)]
Fix typo.
Raymond Hettinger [Fri, 22 Aug 2003 16:27:03 +0000 (16:27 +0000)]
Missing "if".
Barry Warsaw [Tue, 19 Aug 2003 04:56:46 +0000 (04:56 +0000)]
Backporting email 2.5.4 fixes from the trunk.
Barry Warsaw [Tue, 19 Aug 2003 04:51:25 +0000 (04:51 +0000)]
Update get_param() description to reflect changes to the docstring.
Barry Warsaw [Tue, 19 Aug 2003 04:50:31 +0000 (04:50 +0000)]
Describe the fix to the email package.
Walter Dörwald [Mon, 18 Aug 2003 18:34:09 +0000 (18:34 +0000)]
Backport checkin:
Fix a crash: when sq_item failed the code continued blindly and used the
NULL pointer. (Detected by Michael Hudson, patch provided by Neal Norwitz).
Fix refcounting leak in filtertuple().
Thomas Heller [Mon, 18 Aug 2003 17:54:10 +0000 (17:54 +0000)]
Remove a stray single quote.
Raymond Hettinger [Sun, 17 Aug 2003 22:08:58 +0000 (22:08 +0000)]
Backport improvements to set.py so that the interface will remain
consistent across versions.
* Relaxed the argument restrictions for non-operator methods. They now
allow any iterable instead of requiring a set. This makes the module
a little easier to use and paves the way for an efficient C
implementation which can take better advantage of iterable arguments
while screening out immutables.
* Added a PendingDeprecationWarning for Set.update() because it now
duplicates Set.union_update()
* Adapted the tests and docs to include the above changes.
* Added more test coverage including testing identities and checking
to make sure non-restartable generators work as arguments.
Raymond Hettinger [Sun, 17 Aug 2003 21:29:32 +0000 (21:29 +0000)]
SF #784031: Byte-order bug in socket-module getaddrinfo.c
Fred Drake [Sat, 16 Aug 2003 06:31:21 +0000 (06:31 +0000)]
Adjust some horizontal indentation to be consistent with the style used
throughout the documentation.
Raymond Hettinger [Fri, 15 Aug 2003 21:14:51 +0000 (21:14 +0000)]
Make sets.py compatible with Py2.2
Walter Dörwald [Fri, 15 Aug 2003 17:36:25 +0000 (17:36 +0000)]
Backport checkin:
Make a copy of L before appending, so the global L remains
unchanged (and sys.gettotalrefcount() remains constant).
Fix a few typos.
Walter Dörwald [Fri, 15 Aug 2003 16:52:33 +0000 (16:52 +0000)]
Backport checkin:
Fix refcounting leak in charmaptranslate_lookup()
Walter Dörwald [Fri, 15 Aug 2003 16:27:32 +0000 (16:27 +0000)]
Backport checkin:
Fix another refcounting leak in PyUnicode_EncodeCharmap().
Walter Dörwald [Fri, 15 Aug 2003 15:01:26 +0000 (15:01 +0000)]
Backport checkin:
Fix another refcounting leak (in PyUnicode_DecodeUnicodeEscape()).
Michael W. Hudson [Fri, 15 Aug 2003 12:26:05 +0000 (12:26 +0000)]
Backport my fix to my fix:
My last fix left n used unitialized in tha a==b case.
Fix, by not using n at all in that case.
Walter Dörwald [Thu, 14 Aug 2003 21:00:28 +0000 (21:00 +0000)]
Backport checkin:
Fix refcount leak in the UnicodeError constructor:
When parsing the constructor arguments failed, a
reference to the argument tuple was leaked.
Walter Dörwald [Thu, 14 Aug 2003 20:26:44 +0000 (20:26 +0000)]
Backport checkins:
Fix refcount leak in PyUnicode_EncodeCharmap(). The bug surfaces
when an encoding error occurs and the callback name is unknown,
i.e. when the callback has to be called. The problem was that
the fact that the callback has already been looked up was only
recorded in a local variable in charmap_encoding_error(), because
charmap_encoding_error() got it's own copy of the errorHandler
pointer instead of a pointer to the pointer in
PyUnicode_EncodeCharmap().
Raymond Hettinger [Thu, 14 Aug 2003 20:01:40 +0000 (20:01 +0000)]
SF patch #787929: reflect the introduce of boolean type(libcfgparser.tex)
(Contributed by George Yoshida.)
Michael W. Hudson [Thu, 14 Aug 2003 17:25:59 +0000 (17:25 +0000)]
And backport-2-3-4:
Fix reference leak noted in test_types:
Check for a[:] = a _before_ calling PySequence_Fast on a.
Kurt B. Kaiser [Thu, 14 Aug 2003 15:15:02 +0000 (15:15 +0000)]
- IDLE didn't start correctly when Python was installed in "Program Files"
on W2K and XP. Python Bugs 780451, 784183
Walter Dörwald [Tue, 12 Aug 2003 17:38:22 +0000 (17:38 +0000)]
Backport checkins:
* Enhance message for UnicodeEncodeError and UnicodeTranslateError.
If there is only one bad character it will now be printed in a
form that is a valid Python string.
* Add a unicode prefix to the characters in the UnicodeEncodeError
and UnicodeTranslateError message.
Raymond Hettinger [Tue, 12 Aug 2003 00:01:16 +0000 (00:01 +0000)]
SF patch#786531 'the the' typo. Contributed by George Yoshida
Raymond Hettinger [Mon, 11 Aug 2003 23:43:04 +0000 (23:43 +0000)]
SF patch#786531 'the the' typo. Contributed by George Yoshida
Michael W. Hudson [Mon, 11 Aug 2003 12:21:40 +0000 (12:21 +0000)]
Repeat my refcount & cut&paste fixes on the branch.
Jason Tishler [Mon, 11 Aug 2003 12:13:45 +0000 (12:13 +0000)]
Unconditionally opening the temp file in text mode causes this test to fail
under Cygwin. The attached patch corrects this problem.
I tested this patch under Red Hat Linux 8.0 too.
Jack Jansen [Mon, 11 Aug 2003 11:16:09 +0000 (11:16 +0000)]
Version number was wrong (2.3b1). Fixed.
Brett Cannon [Mon, 11 Aug 2003 07:21:03 +0000 (07:21 +0000)]
Add note of closing of bug #783952.
Brett Cannon [Mon, 11 Aug 2003 07:19:06 +0000 (07:19 +0000)]
Fix bug where handling issue of time.tzname[0] == time.tzname[1] and
time.daylight were all true. Add an explicit test for this issue.
Closes bug #783952 .
Raymond Hettinger [Sat, 9 Aug 2003 18:20:16 +0000 (18:20 +0000)]
SF bug #778964: bad seed in python 2.3 random
The default seed is time.time().
Multiplied by 256 before truncating so that fractional seconds are used.
This way, two consequetive calls to random.seed() are much more likely
to produce different sequences.
Martin v. Löwis [Sat, 9 Aug 2003 09:53:51 +0000 (09:53 +0000)]
Add HIDDEN. Fixes #777664.
Martin v. Löwis [Sat, 9 Aug 2003 09:53:51 +0000 (09:53 +0000)]
Add HIDDEN. Fixes #777664.
Martin v. Löwis [Sat, 9 Aug 2003 09:48:29 +0000 (09:48 +0000)]
Move initialization of sys.std{in,out}.encoding to Py_Initialize.
Verify that the encoding actually exists. Fixes #775985.
Martin v. Löwis [Sat, 9 Aug 2003 09:07:56 +0000 (09:07 +0000)]
Patch #771998: Put braces around variables.
Raymond Hettinger [Sat, 9 Aug 2003 04:38:25 +0000 (04:38 +0000)]
SF patch #783807: Clarify PySequence_Setitem ref counting
(Contributed by Jay T Miller.)
Kurt B. Kaiser [Sat, 9 Aug 2003 03:10:01 +0000 (03:10 +0000)]
IDLEfork Bug 782759 config-main.def user configuration doc incorrect
Raymond Hettinger [Fri, 8 Aug 2003 23:31:35 +0000 (23:31 +0000)]
Explain argument unpacking
Raymond Hettinger [Fri, 8 Aug 2003 12:22:30 +0000 (12:22 +0000)]
SF bug #770485: cStringIO does not set closed attr
Raymond Hettinger [Fri, 8 Aug 2003 11:05:59 +0000 (11:05 +0000)]
SF bug #775836: change 0,1 to False,True in dict.has_key doc
Raymond Hettinger [Fri, 8 Aug 2003 02:41:53 +0000 (02:41 +0000)]
Improve docs:
* Simplify the pure python examples
* Add a quantify() example
Brett Cannon [Fri, 8 Aug 2003 01:52:08 +0000 (01:52 +0000)]
Fix docstring for LocaleTime.
Fred Drake [Thu, 7 Aug 2003 16:10:28 +0000 (16:10 +0000)]
Fix hyperlinks and one class reference.
Backported from trunk, but to the right branch this time.
Fred Drake [Thu, 7 Aug 2003 16:05:08 +0000 (16:05 +0000)]
control where this lands by default in dev/doc/ on python.org,
but check it in on the right branch this time
Michael W. Hudson [Thu, 7 Aug 2003 15:08:55 +0000 (15:08 +0000)]
As penance for forgetting to flag my last checkins as bugfix candidates,
just do the backport.
These changes do not apply to release22-maint.
Martin v. Löwis [Thu, 7 Aug 2003 11:56:23 +0000 (11:56 +0000)]
Release host name memory. Fixes #783312.
Brett Cannon [Thu, 7 Aug 2003 05:27:42 +0000 (05:27 +0000)]
Fix wording of cache announcement.
Brett Cannon [Wed, 6 Aug 2003 21:17:09 +0000 (21:17 +0000)]
Re-introduction of caching. Not thread-safe against the changing of locale
in the middle of executing time.strptime . Added new tests for caching
mechanism; taken from 2.4 branch and tweaked appropriately.
Raymond Hettinger [Wed, 6 Aug 2003 06:57:38 +0000 (06:57 +0000)]
Backport doc update:
Clarified that TypeErrors can be raised by any
function (not just builtins).
The issue arose in a thread on comp.lang.python.
Raymond Hettinger [Wed, 6 Aug 2003 06:55:09 +0000 (06:55 +0000)]
Backport SF bug #782369: Massive memory leak in array module
Fixed leak caused by switching from PyList_GetItem to PySequence_GetItem.
Added missing NULL check.
Clarified code by converting an "if" to an "else if".
Raymond Hettinger [Wed, 6 Aug 2003 06:47:15 +0000 (06:47 +0000)]
Backport typo fix
Mark Hammond [Wed, 6 Aug 2003 02:47:57 +0000 (02:47 +0000)]
Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.
Also checked in on trunk.
Walter Dörwald [Tue, 5 Aug 2003 16:12:09 +0000 (16:12 +0000)]
Remove __floordiv__ test, as it's deprecated.
Walter Dörwald [Tue, 5 Aug 2003 16:01:08 +0000 (16:01 +0000)]
Backport:
* Check both __div__ and __truediv__ in division tests.
(From SF patch #543867)
* Remove useless import.
Martin v. Löwis [Tue, 5 Aug 2003 06:26:46 +0000 (06:26 +0000)]
Patch #781722: Reject AF_INET6 if IPv6 is disabled.
Martin v. Löwis [Tue, 5 Aug 2003 06:20:23 +0000 (06:20 +0000)]
Support trailing dots in DNS names. Fixes #782510.
Martin v. Löwis [Tue, 5 Aug 2003 06:06:18 +0000 (06:06 +0000)]
List recently-fixed bugs.
Martin v. Löwis [Tue, 5 Aug 2003 05:59:47 +0000 (05:59 +0000)]
Correct URL for normalization file. Fixes #781065.
Martin v. Löwis [Tue, 5 Aug 2003 05:54:48 +0000 (05:54 +0000)]
Patch #781126: Fix markup for add_fallback.
Martin v. Löwis [Tue, 5 Aug 2003 05:52:18 +0000 (05:52 +0000)]
Make sure eol_convention is an ASCII string. Fixes #774680.
Barry Warsaw [Mon, 4 Aug 2003 22:53:49 +0000 (22:53 +0000)]
Boilerplate for Python 2.3.1
Barry Warsaw [Mon, 4 Aug 2003 22:52:27 +0000 (22:52 +0000)]
Bump version string.
Barry Warsaw [Mon, 4 Aug 2003 22:49:46 +0000 (22:49 +0000)]
Merging release23-branch into the long-term Python 2.3 maintenance branch
cvs2svn [Mon, 4 Aug 2003 22:49:46 +0000 (22:49 +0000)]
This commit was manufactured by cvs2svn to create branch
'release23-maint'.
Barry Warsaw [Tue, 29 Jul 2003 22:11:31 +0000 (22:11 +0000)]
Get rid of empty sections
Tim Peters [Tue, 29 Jul 2003 17:22:57 +0000 (17:22 +0000)]
SF bug 778400: IDLE hangs when selecting "Edit with IDLE".
The fix is confined to the Windows installer.
Not a bugfix candidate: the need for the new -n switch added here was
introduced by moving to the idlefork IDLE (so this change isn't needed
or helpful before 2.3).
Andrew M. Kuchling [Tue, 29 Jul 2003 12:06:32 +0000 (12:06 +0000)]
Bump version number; record 2.3 release date
Fred Drake [Tue, 29 Jul 2003 03:20:32 +0000 (03:20 +0000)]
Update release information.
Fred Drake [Tue, 29 Jul 2003 03:11:34 +0000 (03:11 +0000)]
Bump version information.
Tim Peters [Tue, 29 Jul 2003 00:29:44 +0000 (00:29 +0000)]
Updated Windows installer for 2.3 final.
Tim Peters [Tue, 29 Jul 2003 00:25:20 +0000 (00:25 +0000)]
Repaired botched release serial number.
Tim Peters [Tue, 29 Jul 2003 00:21:36 +0000 (00:21 +0000)]
Repair botched release serial number.
Tim Peters [Tue, 29 Jul 2003 00:18:44 +0000 (00:18 +0000)]
Bump Windows build number for 2.3 final.