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

23 years agoAdd another line.
Michael W. Hudson [Tue, 26 Mar 2002 11:51:46 +0000 (11:51 +0000)] 
Add another line.

23 years agoA stab at NEWS.
Michael W. Hudson [Tue, 26 Mar 2002 10:31:36 +0000 (10:31 +0000)] 
A stab at NEWS.

23 years agoMake license refer to 2.2.1
Michael W. Hudson [Tue, 26 Mar 2002 10:22:09 +0000 (10:22 +0000)] 
Make license refer to 2.2.1

23 years agoIt made it.
Michael W. Hudson [Tue, 26 Mar 2002 09:57:13 +0000 (09:57 +0000)] 
It made it.

backport gvanrossum's checkin of
    revision 1.58 of pickle.py

Fix for SF 502085.
Don't die when issubclass(t, TypeType) fails.

Bugfix candidate (but I think it's too late for 2.2.1).

23 years agoDocument the finditer() function and method.
Fred Drake [Mon, 25 Mar 2002 20:22:28 +0000 (20:22 +0000)] 
Document the finditer() function and method.
This closes SF bug #520904.

Explain that many of the escapes supported by string literals are also
supported by the RE compiler, and list which ones.
This closes SF bug #529923.

23 years agoEmbed the right 2.2.1c2 identification strings in the Windows installer.
Tim Peters [Mon, 25 Mar 2002 20:17:19 +0000 (20:17 +0000)] 
Embed the right 2.2.1c2 identification strings in the Windows installer.

23 years agoBump version numbers.
Fred Drake [Mon, 25 Mar 2002 19:38:17 +0000 (19:38 +0000)] 
Bump version numbers.

23 years agoBump Windows build number to 33.
Tim Peters [Mon, 25 Mar 2002 19:30:40 +0000 (19:30 +0000)] 
Bump Windows build number to 33.

23 years agoBump release to 2.2.1c2.
Tim Peters [Mon, 25 Mar 2002 19:28:43 +0000 (19:28 +0000)] 
Bump release to 2.2.1c2.

23 years agobackport jackjansen's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 17:40:43 +0000 (17:40 +0000)] 
backport jackjansen's checkin of
    revision 1.211 of socketmodule.c

Due to interaction between the MSL C library and the GUSI I/O library I can get reads from sockets to work consistently either for unbuffered binary files or for buffered binary files, but not for both:-(

The workaround is to force socket.makefile() to disable buffering for binary files.

Fixes bug 534625. 2.2.1 candidate.

23 years agoAdded description of binhex.Error.
Fred Drake [Mon, 25 Mar 2002 16:37:39 +0000 (16:37 +0000)] 
Added description of binhex.Error.

23 years agoAdded a note about preference file problems for non-privileged OSX
Jack Jansen [Mon, 25 Mar 2002 14:53:11 +0000 (14:53 +0000)] 
Added a note about preference file problems for non-privileged OSX
users. Stopgap for bug #534158.

23 years agonnorwitz's fix for:
Michael W. Hudson [Mon, 25 Mar 2002 13:59:28 +0000 (13:59 +0000)] 
nnorwitz's fix for:

[ 532618 ] install fails if build .so fails

23 years agoBackport akuchling's netrc test.
Michael W. Hudson [Mon, 25 Mar 2002 13:23:53 +0000 (13:23 +0000)] 
Backport akuchling's netrc test.

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Mon, 25 Mar 2002 13:23:53 +0000 (13:23 +0000)] 
This commit was manufactured by cvs2svn to create branch
'release22-maint'.

23 years agobackport akuchling's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 13:22:14 +0000 (13:22 +0000)] 
backport akuchling's checkin of
    revision 1.14 of netrc.py

[Bug #532115]  netrc module was broken
   * 'macdef' (macro definition) wasn't parsed correctly
   * account value not reset for a subsequent 'default' line
   * typo: 'whitepace' -> 'whitespace'

Bugfix candidate.

23 years agobackport tim_one's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 13:21:41 +0000 (13:21 +0000)] 
backport tim_one's checkin of
    revision 2.55 of complexobject.c

SF bug 533198:  Complex power underflow raises exception.
Konrad was too kind.  Not only did it raise an exception, the specific
exception it raised made no sense.  These are old bugs in complex_pow()
and friends:

1. Raising 0 to a negative power isn't a range error, it's a domain
   error, so changed c_pow() to set errno to EDOM in that case instead
   of ERANGE.

2. Changed complex_pow() to:

A. Used the Py_ADJUST_ERANGE2 macro to try to clear errno of a spurious
   ERANGE error due to underflow in the libm pow() called by c_pow().

B. Produced different exceptions depending on the errno value:
   i) For errno==EDOM, raise ZeroDivisionError instead of ValueError.
      This is for consistency with the non-complex cases 0.0**-2 and
      0**-2 and 0L**-2.
   ii) For errno==ERANGE, raise OverflowError.

Bugfix candidate.

23 years agobackport akuchling's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 13:15:52 +0000 (13:15 +0000)] 
backport akuchling's checkin of
    revision 1.142 of README

[Bug #532136] Change path in README, as suggested by Ralph Corderoy

Bugfix candidate.

23 years agobackport akuchling's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 13:15:28 +0000 (13:15 +0000)] 
backport akuchling's checkin of
    revision 1.63 of install.py

Revert part of previous patch: several install_* subcommands expect
    .compile to be None, and set it to true if it is.
    Caught by Pearu Peterson.

Bugfix candidate, if the previous change is accepted for
release22-maint.

23 years agobackport akuchling's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 13:15:04 +0000 (13:15 +0000)] 
backport akuchling's checkin of
    revision 1.62 of install.py

Add missing Boolean options
Remove unused no_compile flag
Initialize the Boolean attribute .compile to 0 instead of None

Bugfix candidate.

23 years agoThomas said this was OK.
Michael W. Hudson [Mon, 25 Mar 2002 13:14:23 +0000 (13:14 +0000)] 
Thomas said this was OK.

backport akuchling's checkin of
    revision 1.30 of bdist_wininst.py

Add unlisted Boolean options.  Thomas H., can you please check that I
    got this right?

Bugfix candidate, unless Thomas notes a problem.

23 years agobackport akuchling's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 13:13:45 +0000 (13:13 +0000)] 
backport akuchling's checkin of
    revision 1.28 of bdist_rpm.py

[Bug #517451] bdist_rpm didn't list all of its Boolean options.
   (Someone should check the other commands for this same error.)

Bugfix candidate.

23 years agobackport nascheme's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 13:11:47 +0000 (13:11 +0000)] 
backport nascheme's checkin of
    revision 1.60 of pydoc.py

Quote href properly.

23 years agobackport nascheme's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 13:11:31 +0000 (13:11 +0000)] 
backport nascheme's checkin of
    revision 1.59 of pydoc.py

Remove unnecessary \b.  It was causing the RE to miss the tailing
slash on strings like "http://www.python.org/ is good".

23 years agobackport nascheme's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 12:34:15 +0000 (12:34 +0000)] 
backport nascheme's checkin of
    revision 1.27 of cmd.py

Flush stdout before reading next command.  Closes SF bug 526357.

23 years agobackport nascheme's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 12:33:56 +0000 (12:33 +0000)] 
backport nascheme's checkin of
    revision 2.102 of sysmodule.c

Fix wording of sys.exit docstring.  Close SF bug 534113.

23 years agoBackport of 1.27, 1.29 and 1.30:
Jack Jansen [Mon, 25 Mar 2002 12:33:48 +0000 (12:33 +0000)] 
Backport of 1.27, 1.29 and 1.30:
CodeWarrior includes Waste and Internet Config nowadays, obviating the need for separate downloads.

- Weaklink InterfaceLib in _Res module
- forgot to pass libraryflags and stdlibraryflags on to ppc/carbon
  project generation.

First half of fix to 531398.

Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, inShould finally fix 531398. 2.2.1 candidate.se an exception.

23 years agoRepeat trick with test_calendar.py
Michael W. Hudson [Mon, 25 Mar 2002 12:33:24 +0000 (12:33 +0000)] 
Repeat trick with test_calendar.py

23 years agoSlap HEAD version of calendar.py onto branch.
Michael W. Hudson [Mon, 25 Mar 2002 12:31:48 +0000 (12:31 +0000)] 
Slap HEAD version of calendar.py onto branch.

Hope this was right thing to do.

23 years agobackport akuchling's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 12:25:26 +0000 (12:25 +0000)] 
backport akuchling's checkin of
    revision 2.19 of traceback.h

[Bug #528914] PyTraceBack_Store/Fetch were deleted in 1997, but their
              prototypes remain.  Noted by Yakov Markovitch.

Bugfix candidate.

23 years agobackport akuchling's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 12:24:58 +0000 (12:24 +0000)] 
backport akuchling's checkin of
    revision 1.47 of httplib.py

[Bug #531616] Make HTTPS work again by adding a sendall method to the
FakeSocket class.  Without it, the sendall() call got the method on
the underlying socket object, and that messed up SSL.

Does httplib use other methods of sockets that FakeSocket doesn't support?
Someone should take a look...  (I'll try to give it a once-over.)

2.2.1 bugfix candidate.

23 years agoBackport of _Cmmodule.c 1.8 and cmsupport.py 1.6:
Jack Jansen [Mon, 25 Mar 2002 12:24:50 +0000 (12:24 +0000)] 
Backport of _Cmmodule.c 1.8 and cmsupport.py 1.6:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.

23 years agobackport bwarsaw's checkin of
Michael W. Hudson [Mon, 25 Mar 2002 12:24:24 +0000 (12:24 +0000)] 
backport bwarsaw's checkin of
    revision 4.8 of python-mode.el

(py-temp-directory): Add /var/tmp to the list of directories this
searches.  This is added after /tmp.  Closes SF bug #505488, except
that /var/tmp comes after /tmp instead of the patch's suggestion of
putting it before /usr/tmp.

23 years agoBackport of _Qdmodule.c 1.8, qdsupport.py 1.38:
Jack Jansen [Mon, 25 Mar 2002 12:20:43 +0000 (12:20 +0000)] 
Backport of _Qdmodule.c 1.8, qdsupport.py 1.38:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.

23 years agoBackport of _Dragmodule.c 1.8, dragsupport.py 1.10:
Jack Jansen [Mon, 25 Mar 2002 12:17:28 +0000 (12:17 +0000)] 
Backport of _Dragmodule.c 1.8, dragsupport.py 1.10:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.

23 years agoBackport of _Evtmodule.c 1.6, evtsupport.py 1.15:
Jack Jansen [Mon, 25 Mar 2002 11:14:28 +0000 (11:14 +0000)] 
Backport of _Evtmodule.c 1.6, evtsupport.py 1.15:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.

23 years agoBackport of _Fmmodule.c 1.6 and fmsupport.py 1.6:
Jack Jansen [Mon, 25 Mar 2002 10:56:59 +0000 (10:56 +0000)] 
Backport of _Fmmodule.c 1.6 and fmsupport.py 1.6:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.

23 years agoBackport of _Icnmodule.c 1.5, icnsupport.py 1.7:
Jack Jansen [Mon, 25 Mar 2002 10:45:21 +0000 (10:45 +0000)] 
Backport of _Icnmodule.c 1.5, icnsupport.py 1.7:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.

23 years agoBackport of _Qdoffsmodule.c 1.7, qdoffssupport.py 1.8:
Jack Jansen [Mon, 25 Mar 2002 10:43:35 +0000 (10:43 +0000)] 
Backport of _Qdoffsmodule.c 1.7, qdoffssupport.py 1.8:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.

23 years agoBackport of _TEmodule.c 1.8, tesupport.py 1.10:
Jack Jansen [Mon, 25 Mar 2002 10:41:18 +0000 (10:41 +0000)] 
Backport of _TEmodule.c 1.8, tesupport.py 1.10:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.

23 years agoBackport of _Qtmocule.c 1.7, qtsupport.py 1.19:
Jack Jansen [Mon, 25 Mar 2002 10:38:57 +0000 (10:38 +0000)] 
Backport of _Qtmocule.c 1.7, qtsupport.py 1.19:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.