21487 Commits

Author SHA1 Message Date
cvs2svn
cb7f6544f0 This commit was manufactured by cvs2svn to create tag 'r221c2'. v2.2.1c2 2002-03-26 13:47:16 +00:00
Jack Jansen
8b9a781fce Ready for 2.2c2. 2002-03-26 13:47:16 +00:00
Jack Jansen
38d966b9da Build MacOSX _Scrap module. IDE now works under MachoPython!
(Checked in after conferring with Michael).
2002-03-26 13:43:04 +00:00
Michael W. Hudson
a4f46e7a2f Detlef Lannert noticed that I can't type. 2002-03-26 13:22:23 +00:00
Jack Jansen
195ad1b116 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.
2002-03-26 12:50:40 +00:00
Jack Jansen
54a8e1cfda 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.
2002-03-26 12:49:24 +00:00
Jack Jansen
5d7252d841 File was missing from 2.2.1 subtree. 2002-03-26 12:34:49 +00:00
Michael W. Hudson
308e78c9d2 People who tested 2.2.1c1. 2002-03-26 12:21:23 +00:00
Michael W. Hudson
4c92fa0eed Add another line. 2002-03-26 11:51:46 +00:00
Michael W. Hudson
39511d330a A stab at NEWS. 2002-03-26 10:31:36 +00:00
Michael W. Hudson
3318529149 Make license refer to 2.2.1 2002-03-26 10:22:09 +00:00
Michael W. Hudson
4f0c5d4b4b 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).
2002-03-26 09:57:13 +00:00
Fred Drake
f1b26ba2bf 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.
2002-03-25 20:22:28 +00:00
Tim Peters
7fae881568 Embed the right 2.2.1c2 identification strings in the Windows installer. 2002-03-25 20:17:19 +00:00
Fred Drake
d252555413 Bump version numbers. 2002-03-25 19:38:17 +00:00
Tim Peters
4f2636d557 Bump Windows build number to 33. 2002-03-25 19:30:40 +00:00
Tim Peters
1f92d72b9c Bump release to 2.2.1c2. 2002-03-25 19:28:43 +00:00
Michael W. Hudson
6403be2c00 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.
2002-03-25 17:40:43 +00:00
Fred Drake
23d91adecc Added description of binhex.Error. 2002-03-25 16:37:39 +00:00
Jack Jansen
468e011c33 Added a note about preference file problems for non-privileged OSX
users. Stopgap for bug #534158.
2002-03-25 14:53:11 +00:00
Michael W. Hudson
7ab5923df5 nnorwitz's fix for:
[ 532618 ] install fails if build .so fails
2002-03-25 13:59:28 +00:00
Michael W. Hudson
dcddbc3a26 Backport akuchling's netrc test. 2002-03-25 13:23:53 +00:00
cvs2svn
1f87903b31 This commit was manufactured by cvs2svn to create branch
'release22-maint'.
2002-03-25 13:23:53 +00:00
Michael W. Hudson
1635ea193a 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.
2002-03-25 13:22:14 +00:00
Michael W. Hudson
e99c99389c 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.
2002-03-25 13:21:41 +00:00