]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
23 years agobackport:
Anthony Baxter [Tue, 23 Apr 2002 02:21:00 +0000 (02:21 +0000)] 
backport:

don't fail if the audio device is busy, just skip.
SF patch 545486

23 years agoBackport checkin:
Walter Dörwald [Mon, 22 Apr 2002 18:42:45 +0000 (18:42 +0000)] 
Backport checkin:
Apply patch diff.txt from SF feature request
http://www.python.org/sf/444708

This adds the optional argument for str.strip
to unicode.strip too and makes it possible
to call str.strip with a unicode argument
and unicode.strip with a str argument.

23 years agoBackport the following changes:
Walter Dörwald [Mon, 22 Apr 2002 11:57:06 +0000 (11:57 +0000)] 
Backport the following changes:

Misc/NEWS 1.387->1.388
Lib/test/string_tests.py 1.10->1.11, 1.12->1.14,
Lib/test/test_unicode.py 1.50->1.51, 1.53->1.54, 1.55->1.56
Lib/test/test_string.py 1.15->1.16
Lib/string.py 1.61->1.63
Lib/test/test_userstring.py 1.5->1.6, 1.11, 1.12
Objects/stringobject.c 2.156->2.159
Objects/unicodeobject.c 2.137->2.139
Doc/lib/libstdtypes.tec 1.87->1.88

Add a method zfill to str, unicode and UserString
and change Lib/string.py accordingly
(see SF patch http://www.python.org/sf/536241)

This also adds Guido's fix to test_userstring.py
and the subinstance checks in test_string.py
and test_unicode.py.

23 years agobackport mhammond's patch:
Anthony Baxter [Mon, 22 Apr 2002 11:21:59 +0000 (11:21 +0000)] 
backport mhammond's patch:

Fix bug 544473 - "Queue module can deadlock".
Use try/finally to ensure all Queue locks remain stable.
Includes test case.  Bugfix candidate.

(and branchpatch can now handle adding files :)

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Mon, 22 Apr 2002 11:21:59 +0000 (11:21 +0000)] 
This commit was manufactured by cvs2svn to create branch
'release22-maint'.

23 years agoPatch #500311: Work around for buggy https servers. Fixes #494762.
Martin v. Löwis [Sat, 20 Apr 2002 07:45:25 +0000 (07:45 +0000)] 
Patch #500311: Work around for buggy https servers. Fixes #494762.

23 years agobackport fix for SF buf #505315 from trunk
Jeremy Hylton [Sat, 20 Apr 2002 05:07:05 +0000 (05:07 +0000)] 
backport fix for SF buf #505315 from trunk

23 years agoBackport fix for SF #522274 from trunk.
Jeremy Hylton [Fri, 19 Apr 2002 22:58:11 +0000 (22:58 +0000)] 
Backport fix for SF #522274 from trunk.

23 years agoPatch #546194: Check constants individually. Fixes 534143 on OpenBSD.
Martin v. Löwis [Fri, 19 Apr 2002 21:06:13 +0000 (21:06 +0000)] 
Patch #546194: Check constants individually. Fixes 534143 on OpenBSD.

23 years ago[backport bug fix from the trunk]
Jeremy Hylton [Fri, 19 Apr 2002 14:59:08 +0000 (14:59 +0000)] 
[backport bug fix from the trunk]

Fix SF #544995 (zlib crash on second flush call)
Bug fix by mhammond.

Bug fix candidate for 2.2, not present in 2.1.

23 years agoClean up the use of version numbers in filenames; always use an "abstract"
Fred Drake [Fri, 19 Apr 2002 04:06:06 +0000 (04:06 +0000)] 
Clean up the use of version numbers in filenames; always use an "abstract"
version number, and explain what it is at the top of the chapter.
This closes SF bug #225003.

23 years agobackport mhammond's patch:
Anthony Baxter [Fri, 19 Apr 2002 03:54:37 +0000 (03:54 +0000)] 
backport mhammond's patch:

Fix bug 544473 - "Queue module can deadlock".
Use try/finally to ensure all Queue locks remain stable.
Includes test case.  Bugfix candidate.

Original patch(es):
python/dist/src/Lib/Queue.py:1.15

23 years agoTest for --export-dynamic directly to avoid problems with binutils 2.12.
Martin v. Löwis [Thu, 18 Apr 2002 14:55:08 +0000 (14:55 +0000)] 
Test for --export-dynamic directly to avoid problems with binutils 2.12.

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:39:54 +0000 (05:39 +0000)] 
backport gvanrossum's patch:

Deprecate % as well.  The message for deprecation of //, % and divmod
is the same in all three cases (mostly because // calls divmod :-).

Original patches were:
python/dist/src/Objects/complexobject.c:2.59

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:38:53 +0000 (05:38 +0000)] 
backport gvanrossum's patch:

Add news about deprecated complex ops.

Original patches were:
python/dist/src/Misc/NEWS:1.387

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:37:51 +0000 (05:37 +0000)] 
backport gvanrossum's patch:

SF bug #543387.

Complex numbers implement divmod() and //, neither of which makes one
lick of sense.  Unfortunately this is documented, so I'm adding a
deprecation warning now, so we can delete this silliness, oh, around
2005 or so.

Bugfix candidate (At least for 2.2.2, I think.)

Original patches were:
python/dist/src/Objects/complexobject.c:2.58

23 years agobackport fdrake's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:22:33 +0000 (05:22 +0000)] 
backport fdrake's patch:

Document the optional argument to the .strip(), .rstrip(), .strip() string
methods.
Part of SF feature #444708.

Original patches were:
python/dist/src/Doc/lib/libstdtypes.tex:1.87

23 years agoNews for new strip method argument. Made the news message a bit
Anthony Baxter [Thu, 18 Apr 2002 05:21:16 +0000 (05:21 +0000)] 
News for new strip method argument. Made the news message a bit
more informative.

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:18:56 +0000 (05:18 +0000)] 
backport gvanrossum's patch:

Partially implement SF feature request 444708.

Add optional arg to string methods strip(), lstrip(), rstrip().
The optional arg specifies characters to delete.

Also for UserString.

Still to do:

- Misc/NEWS
- LaTeX docs (I did the docstrings though)
- Unicode methods, and Unicode support in the string methods.

Original patches were:
python/dist/src/Lib/test/string_tests.py:1.12

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:17:53 +0000 (05:17 +0000)] 
backport gvanrossum's patch:

Partially implement SF feature request 444708.

Add optional arg to string methods strip(), lstrip(), rstrip().
The optional arg specifies characters to delete.

Also for UserString.

Still to do:

- Misc/NEWS
- LaTeX docs (I did the docstrings though)
- Unicode methods, and Unicode support in the string methods.

Original patches were:
python/dist/src/Lib/UserString.py:1.11

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:16:37 +0000 (05:16 +0000)] 
backport gvanrossum's patch:

Partially implement SF feature request 444708.

Add optional arg to string methods strip(), lstrip(), rstrip().
The optional arg specifies characters to delete.

Also for UserString.

Still to do:

- Misc/NEWS
- LaTeX docs (I did the docstrings though)
- Unicode methods, and Unicode support in the string methods.

Original patches were:
python/dist/src/Objects/stringobject.c:2.156

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:13:41 +0000 (05:13 +0000)] 
backport gvanrossum's patch:

SF bug #543318 (Frank J. Tobin).

In DatagramRequestHandler.setup(), the wfile initialization should be
StringIO.StringIO(), not StringIO.StringIO(slf.packet).

Bugfix candidate (all the way back to Python 1.5.2 :-).

Original patches were:
python/dist/src/Lib/SocketServer.py:1.31

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:11:50 +0000 (05:11 +0000)] 
backport gvanrossum's patch:

SF bug #541883 (Vincent Fiack).

A stupid bug in object_set_class(): didn't check for value==NULL
before checking its type.

Bugfix candidate.

Original patches were:
python/dist/src/Objects/typeobject.c:2.142

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:10:58 +0000 (05:10 +0000)] 
backport gvanrossum's patch:

SF bug #541883 (Vincent Fiack).

A stupid bug in object_set_class(): didn't check for value==NULL
before checking its type.

Bugfix candidate.

Original patches were:
python/dist/src/Lib/test/test_descr.py:1.129

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:08:28 +0000 (05:08 +0000)] 
backport gvanrossum's patch:

Provisional fix for writefile() [SF bug # 541730].

The problem was that an exception can occur in the text.get() call or
in the write() call, when the text buffer contains non-ASCII
characters.  This causes the previous contents of the file to be lost.

The provisional fix is to call str(self.text.get(...)) *before*
opening the file, so that if the exception occurs, we never open the
file.

Two orthogonal better solutions have to wait for policy decisions:

1. We could try to encode the data as Latin-1 or as UTF-8; but that
   would require IDLE to grow a notion of file encoding which requires
   more thought.

2. We could make backups before overwriting a file.  This requires
   more thought because it needs to be fast and cross-platform and
   configurable.

Original patches were:
python/dist/src/Tools/idle/IOBinding.py:1.6

23 years agobackport nnorwitz's patch:
Anthony Baxter [Thu, 18 Apr 2002 05:00:45 +0000 (05:00 +0000)] 
backport nnorwitz's patch:

BDFL agreed with Tim: rehabilitate randint().

23 years agobackport fdrake's patch:
Anthony Baxter [Thu, 18 Apr 2002 04:59:44 +0000 (04:59 +0000)] 
backport fdrake's patch:

BDFL agreed with Tim: rehabilitate randint().

23 years agobackport tim_one's patch:
Anthony Baxter [Thu, 18 Apr 2002 04:52:10 +0000 (04:52 +0000)] 
backport tim_one's patch:

resetwarnings():  change the docstring to reflect what the code
actually does.  Note that the description in the Library Reference
manual is already accurate.

Bugfix candidate.

23 years agobackport bwarsaw's patch:
Anthony Baxter [Thu, 18 Apr 2002 04:48:14 +0000 (04:48 +0000)] 
backport bwarsaw's patch:

test_mktime(): Removed.  This wasn't really testing anything useful
(or platform independent).  Closes SF bug #460357.

Bug fix candidate.

23 years agoDarn. Of course the warning that Tim killed on the trunk must also be
Guido van Rossum [Thu, 18 Apr 2002 04:47:10 +0000 (04:47 +0000)] 
Darn.  Of course the warning that Tim killed on the trunk must also be
killed in the branch.

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 04:46:49 +0000 (04:46 +0000)] 
backport gvanrossum's patch:

SF bug 544647.

PyNumber_InPlaceMultiply insisted on calling sq_inplace_repeat if it
existed, even if nb_inplace_multiply also existed and the arguments
weren't right for sq_inplace_repeat.  Change this to only use
sq_inplace_repeat if nb_inplace_multiply isn't defined.

Bugfix candidate.

23 years agobackport gvanrossum's patch:
Anthony Baxter [Thu, 18 Apr 2002 04:40:05 +0000 (04:40 +0000)] 
backport gvanrossum's patch:

SF bug 544647.

PyNumber_InPlaceMultiply insisted on calling sq_inplace_repeat if it
existed, even if nb_inplace_multiply also existed and the arguments
weren't right for sq_inplace_repeat.  Change this to only use
sq_inplace_repeat if nb_inplace_multiply isn't defined.

Bugfix candidate.

23 years agobackport akuchling's patch:
Anthony Baxter [Thu, 18 Apr 2002 03:47:40 +0000 (03:47 +0000)] 
backport akuchling's patch:

Use 2.1's .hexdigest() method

23 years agocorrected backport. 'patch' made me sad, it got it horribly wrong
Anthony Baxter [Thu, 18 Apr 2002 02:32:25 +0000 (02:32 +0000)] 
corrected backport. 'patch' made me sad, it got it horribly wrong
(no idea why, or how)

backport theller's patch

Set the warn_dir option to 0 before running the install command.
This suppresses bogus warnings about modules installed into a directory
not in sys.path.

Bugfix candidate.

23 years agobackport tim_one's patch:
Anthony Baxter [Thu, 18 Apr 2002 02:19:46 +0000 (02:19 +0000)] 
backport tim_one's patch:

SF bug 543840: complex(string) accepts strings with \0
complex_subtype_from_string():  this stopped parsing at the first 0
byte, as if that were the end of the input string.

23 years agobackport gvanrossum's patch
Anthony Baxter [Thu, 18 Apr 2002 02:19:19 +0000 (02:19 +0000)] 
backport gvanrossum's patch

Fix from SF bug #541980 (Jacques A. Vidrine).

When os.stat() for a file raises OSError, turn it into IOError per
documentation.

23 years agoBackport rev 2.132 (note: some earlier bugfix candidates still TBD).
Guido van Rossum [Thu, 18 Apr 2002 00:37:10 +0000 (00:37 +0000)] 
Backport rev 2.132 (note: some earlier bugfix candidates still TBD).

SF bug 542984.

Change type_get_doc (the get function for __doc__) to look in tp_dict
more often, and if it finds a descriptor in tp_dict, to call it (with
a NULL instance).  This means you can add a __doc__ descriptor to a
new-style class that returns instance docs when called on an instance,
and class docs when called on a class -- or the same docs in either
case, but lazily computed.

I'll also check this into the 2.2 maintenance branch.

23 years agoBackport rev 2.143 (note: some earlier bugfix candidates still TBD).
Guido van Rossum [Thu, 18 Apr 2002 00:36:17 +0000 (00:36 +0000)] 
Backport rev 2.143 (note: some earlier bugfix candidates still TBD).

SF bug 542984.

Change type_get_doc (the get function for __doc__) to look in tp_dict
more often, and if it finds a descriptor in tp_dict, to call it (with
a NULL instance).  This means you can add a __doc__ descriptor to a
new-style class that returns instance docs when called on an instance,
and class docs when called on a class -- or the same docs in either
case, but lazily computed.

I'll also check this into the 2.2 maintenance branch.

23 years agoAdd a version annotation for the help() function.
Fred Drake [Wed, 17 Apr 2002 12:54:56 +0000 (12:54 +0000)] 
Add a version annotation for the help() function.

23 years agoWindows installer: disabled Wise's "delete in-use files" uninstall
Tim Peters [Wed, 17 Apr 2002 04:36:35 +0000 (04:36 +0000)] 
Windows installer:  disabled Wise's "delete in-use files" uninstall
option.  It was the cause of at least one way UNWISE.EXE could vanish
(install a python; uninstall it; install it again; reboot the machine;
abracadabra the uinstaller is gone).

23 years agoAdjust markup to worm around tool limitations; the "m" in "model" was being
Fred Drake [Wed, 17 Apr 2002 03:42:08 +0000 (03:42 +0000)] 
Adjust markup to worm around tool limitations; the "m" in "model" was being
dropped in the HTML formatted version.
Reported by Mike Coleman.

23 years agoPass the -r option to getpagecounts to generate an entry for the "What's
Fred Drake [Wed, 17 Apr 2002 03:31:31 +0000 (03:31 +0000)] 
Pass the -r option to getpagecounts to generate an entry for the "What's
New" document.

23 years agoRemove Emacs turd; not needed with modern Emacs versions.
Fred Drake [Wed, 17 Apr 2002 03:29:26 +0000 (03:29 +0000)] 
Remove Emacs turd; not needed with modern Emacs versions.

Add a -r option; if given with a release number, the "What's New" document
is included with the relevant version number.

Update the text of the README distributed with the PostScript files to
reflect the changes in the user organizations in the Python community.

23 years agoChanged last two remaining uses of "./" to "index.html" when referring to the
Fred Drake [Wed, 17 Apr 2002 01:42:58 +0000 (01:42 +0000)] 
Changed last two remaining uses of "./" to "index.html" when referring to the
index file for the top-level directory.  This makes it easier to use an
unpacked version of the documentation via file: URLs.
This closes SF bug #541257.

23 years agoRemove repeated index entry; adds nothing different.
Fred Drake [Tue, 16 Apr 2002 02:03:31 +0000 (02:03 +0000)] 
Remove repeated index entry; adds nothing different.
Closes SF bug #518985.

23 years agoFix grammar
Neal Norwitz [Mon, 15 Apr 2002 22:59:45 +0000 (22:59 +0000)] 
Fix grammar

23 years agoBetter documentation for GetArgv() and the ProgressBar type.
Fred Drake [Mon, 15 Apr 2002 19:54:08 +0000 (19:54 +0000)] 
Better documentation for GetArgv() and the ProgressBar type.
This closes SF patch #496705.

23 years agoSF bug 543148: Memory leak with stackframes + inspect.
Tim Peters [Sat, 13 Apr 2002 05:25:28 +0000 (05:25 +0000)] 
SF bug 543148:  Memory leak with stackframes + inspect.
Put a bound on the number of frameobjects that can live in the
frameobject free_list.

Also fixed on the trunk.  I don't intend to backport to 2.1 (too
much work -- lots of cyclic structures leak there).

23 years agoUse random instead of whrandom
Andrew M. Kuchling [Wed, 10 Apr 2002 21:14:37 +0000 (21:14 +0000)] 
Use random instead of whrandom

23 years agoUse random module instead of whrandom
Andrew M. Kuchling [Wed, 10 Apr 2002 21:14:02 +0000 (21:14 +0000)] 
Use random module instead of whrandom
Move imports to top

23 years agoDocument PyType_CheckExact(), PyType_IS_GC().
Fred Drake [Wed, 10 Apr 2002 18:00:44 +0000 (18:00 +0000)] 
Document PyType_CheckExact(), PyType_IS_GC().
Update description of PyType_Check().

23 years agoRepair 2.2.1 release date.
Tim Peters [Tue, 9 Apr 2002 21:19:53 +0000 (21:19 +0000)] 
Repair 2.2.1 release date.

23 years agoIgnore an output directory for intermediates here as well.
Fred Drake [Tue, 9 Apr 2002 14:52:44 +0000 (14:52 +0000)] 
Ignore an output directory for intermediates here as well.

23 years agoFix typo: coverted --> converted. Reported by Francois Pinard.
Fred Drake [Tue, 9 Apr 2002 14:38:44 +0000 (14:38 +0000)] 
Fix typo: coverted --> converted.  Reported by Francois Pinard.

23 years agoI always forget the release date in here...
Michael W. Hudson [Tue, 9 Apr 2002 14:21:43 +0000 (14:21 +0000)] 
I always forget the release date in here...

23 years agoThis commit was manufactured by cvs2svn to create tag 'r221'. v2.2.1
cvs2svn [Tue, 9 Apr 2002 09:29:28 +0000 (09:29 +0000)] 
This commit was manufactured by cvs2svn to create tag 'r221'.

23 years agoUpdates from Sean Reifschneider.
Michael W. Hudson [Tue, 9 Apr 2002 09:29:28 +0000 (09:29 +0000)] 
Updates from Sean Reifschneider.

23 years agoReplace "Digital Creations" with Zope Corporation in one place.
Fred Drake [Mon, 8 Apr 2002 21:48:20 +0000 (21:48 +0000)] 
Replace "Digital Creations" with Zope Corporation in one place.
Update the table of releases.

23 years agoUpdate table of releases.
Tim Peters [Mon, 8 Apr 2002 21:37:07 +0000 (21:37 +0000)] 
Update table of releases.

23 years agoThis may well be my final checkin before 2.2.1.
Michael W. Hudson [Mon, 8 Apr 2002 17:00:54 +0000 (17:00 +0000)] 
This may well be my final checkin before 2.2.1.

If you think I've forgotten something, now is a good
time to howl (although I won't read the howl for a good
few hours 'cause I'm going home).

backport lemburg's checkin of
    revision 2.158 of pythonrun.c

Move Unicode finalization further down in the chain.
Fixes bug #525620.

23 years agoAdd bool(), True, False (as ints) for backwards compatibility.
Guido van Rossum [Mon, 8 Apr 2002 13:31:12 +0000 (13:31 +0000)] 
Add bool(), True, False (as ints) for backwards compatibility.

23 years agoDo not call "knee" a standard module.
Fred Drake [Mon, 8 Apr 2002 05:23:22 +0000 (05:23 +0000)] 
Do not call "knee" a standard module.
This addresses the issue in SF bug #515745.

23 years agoSF bug 538827: Python open w/ MSVC6: bad error msgs.
Tim Peters [Mon, 8 Apr 2002 04:19:50 +0000 (04:19 +0000)] 
SF bug 538827:  Python open w/ MSVC6: bad error msgs.
open_the_file:  Some (not all) flavors of Windows set errno to EINVAL
when passed a syntactically invalid filename.  Python turned that into an
incomprehensible complaint about the mode string.  Fixed by special-casing
MSVC.

23 years ago- A type can now inherit its metatype from its base type. Previously,
Guido van Rossum [Mon, 8 Apr 2002 01:39:56 +0000 (01:39 +0000)] 
- A type can now inherit its metatype from its base type.  Previously,
  when PyType_Ready() was called, if ob_type was found to be NULL, it
  was always set to &PyType_Type; now it is set to base->ob_type,
  where base is tp_base, defaulting to &PyObject_Type.

23 years agoFile used for 2.2.1 distribution, unless disaster strikes in next 24 hours.
Jack Jansen [Sun, 7 Apr 2002 21:59:38 +0000 (21:59 +0000)] 
File used for 2.2.1 distribution, unless disaster strikes in next 24 hours.

23 years agoFiles used for 2.2.1 release (unless disaster strikes in the next 24 hours).
Jack Jansen [Sun, 7 Apr 2002 21:59:32 +0000 (21:59 +0000)] 
Files used for 2.2.1 release (unless disaster strikes in the next 24 hours).

23 years agoSome more news. (There's also a fix to _localemodule.c that I don't
Guido van Rossum [Fri, 5 Apr 2002 22:53:16 +0000 (22:53 +0000)] 
Some more news.  (There's also a fix to _localemodule.c that I don't
dare describe, and of course lots of jiggling of the docs and the
Windows installer metadata.)

23 years agoBackport half a patch from the trunk. This inherits tp_is_gc from a
Guido van Rossum [Fri, 5 Apr 2002 22:32:23 +0000 (22:32 +0000)] 
Backport half a patch from the trunk.  This inherits tp_is_gc from a
base class.

23 years agobackport gvanrossum's checkin of
Michael W. Hudson [Fri, 5 Apr 2002 15:42:50 +0000 (15:42 +0000)] 
backport gvanrossum's checkin of
    revision 1.126 of test_descr.py

SF patch 537536 by Phillip J. Eby, fix for SF bug 535444, super()
broken w/ classmethods.

Bugfix candidate.

23 years agobackport gvanrossum's checkin of
Michael W. Hudson [Fri, 5 Apr 2002 15:39:31 +0000 (15:39 +0000)] 
backport gvanrossum's checkin of
    revision 2.133 of typeobject.c

SF patch 537536 by Phillip J. Eby, fix for SF bug 535444, super()
broken w/ classmethods.

Bugfix candidate.

23 years agobackport fdrake's checkin of
Michael W. Hudson [Fri, 5 Apr 2002 15:38:31 +0000 (15:38 +0000)] 
backport fdrake's checkin of
    revision 1.4 of test_commands.py

Make test_commands work on more systems.  This removes much of the dependency
on how a system is configured.
This closes SF bug #497160 (which has the patch) and #460613.

Bugfix candidate.

23 years agoBackport both bits of Guido's fix for bug #503031.
Michael W. Hudson [Fri, 5 Apr 2002 15:35:35 +0000 (15:35 +0000)] 
Backport both bits of Guido's fix for bug #503031.

23 years agobackport loewis' checkin of
Michael W. Hudson [Fri, 5 Apr 2002 15:28:31 +0000 (15:28 +0000)] 
backport loewis' checkin of
    revision 1.6 of turtle.py

Patch #536117: Typo in turtle.py.
2.2.2 candidate.

23 years agobackport loewis' checkin of
Michael W. Hudson [Fri, 5 Apr 2002 15:26:55 +0000 (15:26 +0000)] 
backport loewis' checkin of
    revision 2.28 of _localemodule.c

Don't imply XPG4 constants from CODESET presence. Fixes #534153.
2.2.2 candiate.

23 years agoChange Windows installer strings and resources for 2.2.1 final.
Tim Peters [Thu, 4 Apr 2002 21:53:07 +0000 (21:53 +0000)] 
Change Windows installer strings and resources for 2.2.1 final.

23 years agoFiddle Windows build number for 2.2.1 final.
Tim Peters [Thu, 4 Apr 2002 21:49:28 +0000 (21:49 +0000)] 
Fiddle Windows build number for 2.2.1 final.

23 years agoUpdate patch level and Windows build number for 2.2.1 final.
Tim Peters [Thu, 4 Apr 2002 21:47:49 +0000 (21:47 +0000)] 
Update patch level and Windows build number for 2.2.1 final.

23 years agoAdd note about changes in xml.sax.expatreader.
Fred Drake [Thu, 4 Apr 2002 19:43:47 +0000 (19:43 +0000)] 
Add note about changes in xml.sax.expatreader.

23 years agoSF bug 497854: Short-cuts missing for All Users.
Tim Peters [Thu, 4 Apr 2002 19:29:55 +0000 (19:29 +0000)] 
SF bug 497854:  Short-cuts missing for All Users.
Fixing a Windows-specific installer glitch.

23 years agoNot sure why the regression test missed this, but the PyXML tests caught it.
Fred Drake [Thu, 4 Apr 2002 19:12:50 +0000 (19:12 +0000)] 
Not sure why the regression test missed this, but the PyXML tests caught it.
We should get attributes from the right object.

23 years agoMark the notice about the new development version of the docs as not needing
Fred Drake [Thu, 4 Apr 2002 18:05:19 +0000 (18:05 +0000)] 
Mark the notice about the new development version of the docs as not needing
to be archived.  Most of these are pretty bland.  ;-)

23 years agoAvoid creating circular references between the ExpatParser and the
Fred Drake [Thu, 4 Apr 2002 17:58:53 +0000 (17:58 +0000)] 
Avoid creating circular references between the ExpatParser and the
ContentHandler.  While GC will eventually clean up, it can take longer than
normal for applications that create a lot of strings (or other immutables)
rather without creating many containers.
This closes SF bug #535474.

23 years agoSF 539024, Fix broken link to numpy
Neal Norwitz [Thu, 4 Apr 2002 14:04:03 +0000 (14:04 +0000)] 
SF 539024, Fix broken link to numpy

23 years agoCorrect the descriptions of the PyObject_As*Buffer() return values.
Fred Drake [Thu, 4 Apr 2002 04:11:48 +0000 (04:11 +0000)] 
Correct the descriptions of the PyObject_As*Buffer() return values.
This closes SF bug #539081.

23 years agoAdd another output directory to the ignored list.
Fred Drake [Thu, 4 Apr 2002 04:07:43 +0000 (04:07 +0000)] 
Add another output directory to the ignored list.

23 years agoThe body of_PyObject_GC_UnTrack() should only be compiled #ifdef
Guido van Rossum [Wed, 3 Apr 2002 14:07:32 +0000 (14:07 +0000)] 
The body of_PyObject_GC_UnTrack() should only be compiled #ifdef
WITH_CYCLE_GC.  (Neil pointed this out before the weekend, and I fixed
it right away, but forgot to check it in.)

23 years agoUpdate the PEP URL format to point to python.org.
Fred Drake [Wed, 3 Apr 2002 02:46:17 +0000 (02:46 +0000)] 
Update the PEP URL format to point to python.org.

23 years agoExplain that os.spawn*() return the process handle on Windows.
Fred Drake [Mon, 1 Apr 2002 23:29:02 +0000 (23:29 +0000)] 
Explain that os.spawn*() return the process handle on Windows.
This closes SF bug #537582.

23 years agoThere is no PyArg_ConvertTuple(); call it by the right name.
Fred Drake [Mon, 1 Apr 2002 23:14:30 +0000 (23:14 +0000)] 
There is no PyArg_ConvertTuple(); call it by the right name.
This closes SF bug #537511.

23 years agoFix up the documentation of the type codes to give both the C and Python
Fred Drake [Mon, 1 Apr 2002 23:02:28 +0000 (23:02 +0000)] 
Fix up the documentation of the type codes to give both the C and Python
types for each code, and give the actual C types.

Document the support for slice operations (back-ported from the trunk) and
note when some TypeError exceptions are raised.

This closes SF bugs 518767 and 536469.

23 years agoPrepare for next release.
Fred Drake [Mon, 1 Apr 2002 22:49:51 +0000 (22:49 +0000)] 
Prepare for next release.

23 years agoUpdate to push the docs to python.org instead of python.sf.net.
Fred Drake [Mon, 1 Apr 2002 20:13:50 +0000 (20:13 +0000)] 
Update to push the docs to python.org instead of python.sf.net.

23 years agoUpdate from trunk:
Fred Drake [Mon, 1 Apr 2002 18:59:24 +0000 (18:59 +0000)] 
Update from trunk:
  - make \url force horizontal mode (so it works at the start of a line)
  - make \verbatiminput produce results that look like a verbatim
    environment

23 years agoBackport changes to integrate AMK's "What's New in Python X.Y"
Fred Drake [Mon, 1 Apr 2002 16:11:27 +0000 (16:11 +0000)] 
Backport changes to integrate AMK's "What's New in Python X.Y"
document.  This incorporates the integration of several checkins from the
trunk.

23 years agoPreparing for the next release.
Fred Drake [Fri, 29 Mar 2002 21:32:25 +0000 (21:32 +0000)] 
Preparing for the next release.

23 years agoThis commit was manufactured by cvs2svn to create tag 'r22p1'. v2.2
cvs2svn [Fri, 29 Mar 2002 21:23:40 +0000 (21:23 +0000)] 
This commit was manufactured by cvs2svn to create tag 'r22p1'.

23 years agoSet version info for the emergency "Don't Kill Opera" documentation
Fred Drake [Fri, 29 Mar 2002 21:23:40 +0000 (21:23 +0000)] 
Set version info for the emergency "Don't Kill Opera" documentation
release.

23 years agoBackport to 2.2.1:
Guido van Rossum [Fri, 29 Mar 2002 14:47:18 +0000 (14:47 +0000)] 
Backport to 2.2.1:

This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).

The fix makes it possible to call PyObject_GC_UnTrack() more than once
on the same object, and then move the PyObject_GC_UnTrack() call to
*before* the trashcan code is invoked.

BUGFIX CANDIDATE!

23 years agoNews for SF #535905.
Guido van Rossum [Fri, 29 Mar 2002 01:05:09 +0000 (01:05 +0000)] 
News for SF #535905.

23 years agoBackport of a new test to check the interaction between cyclic GC
Tim Peters [Thu, 28 Mar 2002 23:18:08 +0000 (23:18 +0000)] 
Backport of a new test to check the interaction between cyclic GC
and the trashcan mechanism.