]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
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.

23 years agoBackport to 2.2.1:
Guido van Rossum [Thu, 28 Mar 2002 20:36:50 +0000 (20:36 +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 agoBackport to 2.2.1.
Guido van Rossum [Thu, 28 Mar 2002 20:18:48 +0000 (20:18 +0000)] 
Backport to 2.2.1.

Fix an issue that was reported in but unrelated to the main problem of
SF bug 535905 (Evil Trashcan and GC interaction).

The SETLOCAL() macro should not DECREF the local variable in-place and
then store the new value; it should copy the old value to a temporary
value, then store the new value, and then DECREF the temporary value.
This is because it is possible that during the DECREF the frame is
accessed by other code (e.g. a __del__ method or gc.collect()) and the
variable would be pointing to already-freed memory.

BUGFIX CANDIDATE!

23 years agoAdd documentation on the hasfree data object.
Fred Drake [Thu, 28 Mar 2002 19:35:33 +0000 (19:35 +0000)] 
Add documentation on the hasfree data object.

23 years agoBackport Skip's patch for SF bug #534495:
Fred Drake [Wed, 27 Mar 2002 14:08:21 +0000 (14:08 +0000)] 
Backport Skip's patch for SF bug #534495:
    exceptions.tex 1.5

fix a typo in PyErr_Format table and add row for 'p' format char
closes bug 534495

23 years agoFiles used for 2.2.1c2 distribution.
Jack Jansen [Tue, 26 Mar 2002 23:40:33 +0000 (23:40 +0000)] 
Files used for 2.2.1c2 distribution.

23 years agoOops, missed the prefixname optional arg when I applied the previous backport.
Jack Jansen [Tue, 26 Mar 2002 23:38:16 +0000 (23:38 +0000)] 
Oops, missed the prefixname optional arg when I applied the previous backport.

23 years agoThis commit was manufactured by cvs2svn to create tag 'r221c2'. v2.2.1c2
cvs2svn [Tue, 26 Mar 2002 13:47:16 +0000 (13:47 +0000)] 
This commit was manufactured by cvs2svn to create tag 'r221c2'.

23 years agoReady for 2.2c2.
Jack Jansen [Tue, 26 Mar 2002 13:47:16 +0000 (13:47 +0000)] 
Ready for 2.2c2.

23 years agoBuild MacOSX _Scrap module. IDE now works under MachoPython!
Jack Jansen [Tue, 26 Mar 2002 13:43:04 +0000 (13:43 +0000)] 
Build MacOSX _Scrap module. IDE now works under MachoPython!

(Checked in after conferring with Michael).

23 years agoDetlef Lannert noticed that I can't type.
Michael W. Hudson [Tue, 26 Mar 2002 13:22:23 +0000 (13:22 +0000)] 
Detlef Lannert noticed that I can't type.

23 years agoBackport of 1.15 and 1.14:
Jack Jansen [Tue, 26 Mar 2002 12:50:40 +0000 (12:50 +0000)] 
Backport of 1.15 and 1.14:
Make object browser work in OSX (by rewriting the old browser
LDEF in Python). If at all possible, this should go into 2.2.1.

Use the Carbon scrap manager interface if the old interface isn't available.

23 years agoBackport of 1.12:
Jack Jansen [Tue, 26 Mar 2002 12:49:24 +0000 (12:49 +0000)] 
Backport of 1.12:
Make object browser work in OSX (by rewriting the old browser
LDEF in Python). If at all possible, this should go into 2.2.1.

23 years agoFile was missing from 2.2.1 subtree.
Jack Jansen [Tue, 26 Mar 2002 12:34:49 +0000 (12:34 +0000)] 
File was missing from 2.2.1 subtree.

23 years agoPeople who tested 2.2.1c1.
Michael W. Hudson [Tue, 26 Mar 2002 12:21:23 +0000 (12:21 +0000)] 
People who tested 2.2.1c1.