]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
23 years agoAccept Armin's documentation patch for SF bug #558179.
Fred Drake [Wed, 9 Oct 2002 22:34:39 +0000 (22:34 +0000)] 
Accept Armin's documentation patch for SF bug #558179.
Adjusted some markup to make the descriptions more consistent.

23 years agoMake this file identical to the version on the trunk.
Guido van Rossum [Wed, 9 Oct 2002 16:38:18 +0000 (16:38 +0000)] 
Make this file identical to the version on the trunk.

23 years agoList specific updates for IDLE.
Raymond Hettinger [Wed, 9 Oct 2002 03:53:10 +0000 (03:53 +0000)] 
List specific updates for IDLE.

23 years agoThe
Tim Peters [Tue, 8 Oct 2002 21:03:26 +0000 (21:03 +0000)] 
The
        list(xrange(sys.maxint / 4))
test.  Changed 4 to 2.

The belief is that this test intended to trigger a bit of code in
listobject.c's NRESIZE macro that's looking for arithmetic overflow.  As
written, it doesn't achieve that, though, and leaves it up to the platform
realloc() as to whether it wants to allocate 2 gigabytes.  Some platforms
say "sure!", although they don't appear to mean it, and disaster ensues.

Changing 4 to 2 (just barely) manages to trigger the arithmetic overflow
test instead, leaving the platform realloc() out of it.

23 years agoFix some code that was added to the r22-maint branch to allow it to work with
Fred Drake [Tue, 8 Oct 2002 19:49:36 +0000 (19:49 +0000)] 
Fix some code that was added to the r22-maint branch to allow it to work with
arbitrary versions of Expat.
Not applicable to Python 2.3, which will incorporate an Expat that does not
need this crutch.

23 years agoFix a few typos: an extra space; typo in filename; capitalization error
Andrew M. Kuchling [Tue, 8 Oct 2002 17:00:41 +0000 (17:00 +0000)] 
Fix a few typos: an extra space; typo in filename; capitalization error
    in method name

23 years agoPut a do-nothing set_python_build() back.
Michael W. Hudson [Tue, 8 Oct 2002 14:59:43 +0000 (14:59 +0000)] 
Put a do-nothing set_python_build() back.

23 years agoInitialize tick_counter to 0. Found by Neal Norwitz.
Guido van Rossum [Tue, 8 Oct 2002 14:50:55 +0000 (14:50 +0000)] 
Initialize tick_counter to 0.  Found by Neal Norwitz.

23 years agoFix typo. Prepare headers for 2.2.2 final release.
Guido van Rossum [Tue, 8 Oct 2002 14:49:38 +0000 (14:49 +0000)] 
Fix typo.  Prepare headers for 2.2.2 final release.

23 years agoUpgrade the version *string* by adding a '+'. This marks the first
Guido van Rossum [Tue, 8 Oct 2002 01:04:34 +0000 (01:04 +0000)] 
Upgrade the version *string* by adding a '+'.  This marks the first
checkin since 2.2.2b1 was released.

23 years agoThis commit was manufactured by cvs2svn to create tag 'r222b1'. v2.2.2b1
cvs2svn [Mon, 7 Oct 2002 21:38:58 +0000 (21:38 +0000)] 
This commit was manufactured by cvs2svn to create tag 'r222b1'.

23 years agoNews for 2.2.2b1. I'm exhausted -- this was a multi-hour job of
Guido van Rossum [Mon, 7 Oct 2002 21:38:58 +0000 (21:38 +0000)] 
News for 2.2.2b1.  I'm exhausted -- this was a multi-hour job of
poring over the logs.  Quite likely I've forgotten some things,
introduced typos, and organized things less than ideally.

23 years agoFix up the release number for the 2.2.2b1 documentation release.
Fred Drake [Mon, 7 Oct 2002 18:47:48 +0000 (18:47 +0000)] 
Fix up the release number for the 2.2.2b1 documentation release.
This is what was actually used.

23 years agoUpdate version to 2.2.2b1.
Guido van Rossum [Mon, 7 Oct 2002 18:14:18 +0000 (18:14 +0000)] 
Update version to 2.2.2b1.

23 years agoBackport, at the reqest of Kevin Jacobs:
Guido van Rossum [Mon, 7 Oct 2002 18:08:27 +0000 (18:08 +0000)] 
Backport, at the reqest of Kevin Jacobs:

- Changed new-style class instantiation so that when C's __new__
  method returns something that's not a C instance, its __init__ is
  not called.  [SF bug #537450]

XXX This is arguably a semantic change, but it's hard to imagine a
reason for wanting to depend on the old behavior.  If problems with
this are reported within a week of the release of 2.2.2 beta 1, we may
revert this change.

23 years agoUpdate the email package version number.
Barry Warsaw [Mon, 7 Oct 2002 17:19:41 +0000 (17:19 +0000)] 
Update the email package version number.

23 years agoBump the version to 2.4.1 (not 2.5 as previously mentioned) to sync it
Barry Warsaw [Mon, 7 Oct 2002 17:18:52 +0000 (17:18 +0000)] 
Bump the version to 2.4.1 (not 2.5 as previously mentioned) to sync it
with the standalone mimelib package.

23 years agoBackport 1.68:
Guido van Rossum [Mon, 7 Oct 2002 17:09:25 +0000 (17:09 +0000)] 
Backport 1.68:

Extend stripid() to handle strings ending in more than one '>'.
Add resolve() to handle looking up objects and names (fix SF bug 586931).
Add a nicer error message when given a filename that doesn't exist.

23 years agoopenfile(): Go back to opening the files in text mode. This undoes
Barry Warsaw [Mon, 7 Oct 2002 17:05:28 +0000 (17:05 +0000)] 
openfile(): Go back to opening the files in text mode.  This undoes
the change in revision 1.11 (test_email.py) in response to SF bug
#609988.  We now think that was the wrong fix and that WinZip was the
real culprit there.

This and the Parser.py patch will be forward ported into Python 2.3
and email 2.5.

23 years ago_parsebody(): Use get_content_type() instead of the deprecated
Barry Warsaw [Mon, 7 Oct 2002 17:02:40 +0000 (17:02 +0000)] 
_parsebody(): Use get_content_type() instead of the deprecated
get_type().  Also, one of the regular expressions is constant so might
as well make it a module global.  And, when splitting up digests,
handle lineseps that are longer than 1 character in length
(e.g. \r\n).

23 years agoBackport patches from trunk revisions 1.62, 1.63. Modified to be
Fred Drake [Mon, 7 Oct 2002 16:26:28 +0000 (16:26 +0000)] 
Backport patches from trunk revisions 1.62, 1.63.  Modified to be
easier to read for both HTML and typeset renderings.  Relies on
../perl/python.perl revision 1.116.4.4.

23 years agoBack-port part of 1.128 from the trunk:
Fred Drake [Mon, 7 Oct 2002 16:18:57 +0000 (16:18 +0000)] 
Back-port part of 1.128 from the trunk:
\productioncont:  Replace leading spaces with   so that it's
    possible to control the indentation of continuation lines.

23 years agoBackport 1.63:
Guido van Rossum [Mon, 7 Oct 2002 13:24:02 +0000 (13:24 +0000)] 
Backport 1.63:

In both spilldata() functions, pretend that the docstring for
non-callable objects is always None.  This makes for less confusing
output and fixes the problem reported in SF patch #550290.

23 years agoDarn. Fix stupid typo in whichmodule() backport.
Guido van Rossum [Mon, 7 Oct 2002 13:18:23 +0000 (13:18 +0000)] 
Darn. Fix stupid typo in whichmodule() backport.

23 years agoBackport 1.70 and 1.71 (which really go together):
Guido van Rossum [Mon, 7 Oct 2002 13:09:25 +0000 (13:09 +0000)] 
Backport 1.70 and 1.71 (which really go together):

1.70:
whichmodule() should skip dummy package entries in sys.modules.

This fixes the charming, but unhelpful error message for
>>> pickle.dumps(type.__new__)
Can't pickle <built-in method __new__ of type object at 0x812a440>: it's not the same object as datetime.math.__new__

1.71:
Fiddle comments and variable names in whichmodule().

23 years agoBackport:
Michael W. Hudson [Mon, 7 Oct 2002 12:32:57 +0000 (12:32 +0000)] 
Backport:

2002/08/11 12:23:04 lemburg Python/bltinmodule.c 2.262
2002/08/11 12:23:04 lemburg Objects/unicodeobject.c 2.162
2002/08/11 12:23:03 lemburg Misc/NEWS 1.461
2002/08/11 12:23:03 lemburg Lib/test/test_unicode.py 1.65
2002/08/11 12:23:03 lemburg Include/unicodeobject.h 2.39
Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level.

u'%c' will now raise a ValueError in case the argument is an
integer outside the valid range of Unicode code point ordinals.

Closes SF bug #593581.

23 years agoA couple of fixes for the compiler package:
Michael W. Hudson [Mon, 7 Oct 2002 12:21:09 +0000 (12:21 +0000)] 
A couple of fixes for the compiler package:
 * always write the mtime to a .pyc in little endian format
 * ensure class's docstrings get attached to the class, not the
   enclosing scope!

Rather more fixes are needed for the trunk; these will be done in due
course.

23 years agoPatch #609700: always build with same $(CC) on Linux.
Martin v. Löwis [Mon, 7 Oct 2002 11:57:04 +0000 (11:57 +0000)] 
Patch #609700: always build with same $(CC) on Linux.

23 years agoBackport my checkin of revision 2.264 of Python/compile.c:
Michael W. Hudson [Mon, 7 Oct 2002 11:30:07 +0000 (11:30 +0000)] 
Backport my checkin of revision 2.264 of Python/compile.c:

Clamp code objects' tp_compare result to [-1, 1].

Bugfix candidate.

23 years agoBackport fdrake's
Michael W. Hudson [Mon, 7 Oct 2002 10:38:33 +0000 (10:38 +0000)] 
Backport fdrake's
    revision 1.88 of setup.py
    revision 1.46 of Lib/distutils/sysconfig.py

When using a Python that has not been installed to build 3rd-party
modules, distutils does not understand that the build version of the
source tree is needed.

This patch fixes distutils.sysconfig to understand that the running
Python is part of the build tree and needs to use the appropriate
"shape" of the tree. This does not assume anything about the current
directory, so can be used to build 3rd-party modules using Python's
build tree as well.

This is useful since it allows us to use a non-installed debug-mode
Python with 3rd-party modules for testing. It as the side-effect that
set_python_build() is no longer needed (the hack which was added to
allow distutils to be used to build the "standard" extension modules).

This closes SF patch #547734.

23 years agoThis is Armin Rigo's patch:
Michael W. Hudson [Mon, 7 Oct 2002 09:47:21 +0000 (09:47 +0000)] 
This is Armin Rigo's patch:

[ 617309 ] getframe hook (Psyco #1)

Forward port candidate.

23 years agoThis is Armin Rigo's patch:
Michael W. Hudson [Mon, 7 Oct 2002 09:40:20 +0000 (09:40 +0000)] 
This is Armin Rigo's patch:

[ 617311 ] Tiny profiling info (Psyco #2)

Forward port candidate.

23 years agoThis is Armin Rigo's patch:
Michael W. Hudson [Mon, 7 Oct 2002 09:37:26 +0000 (09:37 +0000)] 
This is Armin Rigo's patch:

[ 617312 ] debugger-controlled jumps (Psyco #3)

Forward port candidate, I guess.

23 years agoFix quoting for Solaris LDSHARED.
Martin v. Löwis [Mon, 7 Oct 2002 06:22:21 +0000 (06:22 +0000)] 
Fix quoting for Solaris LDSHARED.

23 years agoPatch #619493: Prefer rpmbuild over rpm if available.
Martin v. Löwis [Mon, 7 Oct 2002 05:56:42 +0000 (05:56 +0000)] 
Patch #619493: Prefer rpmbuild over rpm if available.

23 years agoPatch #619352: Update for 2.2.2b1. Install python2 and python2.2.
Martin v. Löwis [Mon, 7 Oct 2002 05:53:29 +0000 (05:53 +0000)] 
Patch #619352: Update for 2.2.2b1. Install python2 and python2.2.
Add Makefile.pre.in to -devel.

23 years agoBackport 2.27:
Raymond Hettinger [Mon, 7 Oct 2002 02:33:56 +0000 (02:33 +0000)] 
Backport 2.27:

Fix bug 439992 - [win32] KeyboardInterrupt Not Caught.

This gets us closer to consistent Ctrl+C behaviour on NT and Win9x.
NT now reliably generates KeyboardInterrupt exceptions for NT when a
file IO operation was aborted.  Bugfix candidate

23 years agoThis has no hope of working under -O. Skip it then instead of failing.
Tim Peters [Mon, 7 Oct 2002 01:20:52 +0000 (01:20 +0000)] 
This has no hope of working under -O.  Skip it then instead of failing.

23 years agoWhitespace normalization.
Tim Peters [Mon, 7 Oct 2002 01:18:17 +0000 (01:18 +0000)] 
Whitespace normalization.

23 years agoThey don't work yet, but the installer at least needs to install the
Tim Peters [Mon, 7 Oct 2002 00:59:01 +0000 (00:59 +0000)] 
They don't work yet, but the installer at least needs to install the
email pkg's distinct test suite.

23 years agoBackport 1.34: Changing section reference.
Raymond Hettinger [Sun, 6 Oct 2002 22:47:12 +0000 (22:47 +0000)] 
Backport 1.34:  Changing section reference.

23 years agoBackport 1.33:
Raymond Hettinger [Sun, 6 Oct 2002 22:37:40 +0000 (22:37 +0000)] 
Backport 1.33:

Update programmer's note on nested functions.

23 years agoBackport 1.52:
Raymond Hettinger [Sun, 6 Oct 2002 22:11:13 +0000 (22:11 +0000)] 
Backport 1.52:

SF # 555779, import user doesn't work with CGIs

23 years agoAargh! The 2.3 version of this file requires "from test.test_support
Guido van Rossum [Sun, 6 Oct 2002 20:14:58 +0000 (20:14 +0000)] 
Aargh!  The 2.3 version of this file requires "from test.test_support
import run_suite", but the 2.2.2 version requires "from test_support
import run_suite" ... :-(

23 years agoPatch #572031: AUTH method LOGIN for smtplib.
Martin v. Löwis [Sun, 6 Oct 2002 17:51:10 +0000 (17:51 +0000)] 
Patch #572031: AUTH method LOGIN for smtplib.

23 years agoBackport:
Guido van Rossum [Sun, 6 Oct 2002 14:38:00 +0000 (14:38 +0000)] 
Backport:

Make sure the email test suite can be run both stand-alone and under
supervision of regrtest.py.

23 years agoBackport 2.49:
Raymond Hettinger [Sun, 6 Oct 2002 05:43:47 +0000 (05:43 +0000)] 
Backport 2.49:

SF #558432: Prevent Annoying ' ' from readline (Holker Krekel).

    readline in all python versions is configured
    to append a 'space' character for a successful
    completion. But for almost all python expressions
    'space' is not wanted (see coding conventions PEP 8).
    For example if you have a function 'longfunction'
    and you type 'longf<TAB>' you get 'longfunction '
    as a completion. note the unwanted space at the
    end.

    The patch fixes this behaviour by setting readline's
    append_character to '\0' which means don't append
    anything. This doesn't work with readline < 2.1
    (AFAIK nowadays readline2.2 is in good use).

    An alternative approach would be to make the
    append_character
    accessable from python so that modules like
    the rlcompleter.py can set it to '\0'.

[Ed.: I think expecting readline >= 2.2 is fine.  If a completer wants
another character they can append that to the keyword in the list.]

23 years agoBackport 1.45:
Raymond Hettinger [Sun, 6 Oct 2002 04:34:44 +0000 (04:34 +0000)] 
Backport 1.45:

Allow abspath to still do something sensisble if the nt module can not be imported.

23 years agoAssorted changes needed to release 2.2.2b1.
Tim Peters [Sun, 6 Oct 2002 04:14:18 +0000 (04:14 +0000)] 
Assorted changes needed to release 2.2.2b1.

23 years agoBackport 1.45:
Raymond Hettinger [Sun, 6 Oct 2002 03:52:44 +0000 (03:52 +0000)] 
Backport 1.45:

Fix a problem in site.py which triggers in case sys.path is empty.

Bugfix candidate for 2.2.2.

23 years agoBackport 1.12 and 1.13 and normalize whitespace (remove formfeeds):
Raymond Hettinger [Sun, 6 Oct 2002 03:45:40 +0000 (03:45 +0000)] 
Backport 1.12 and 1.13 and normalize whitespace (remove formfeeds):

SF #515021, print the refused list to the DEBUGSTREAM, so the parameter is used
Note:  There is a TBD (aka FIXME) for how best to handle the refused addresses.

smtp_RCPT(): Removed a somewhat embarrassing debugging line, found by
Scot Stevenson.  Could be a bug fix candidate, but probably doesn't
matter much unless a certain blue-nosed cat suddenly becomes corporeal
and starts emailing some stmp.py (sic) fronted mailer.

23 years agoBackport 1.60 and 1.62:
Raymond Hettinger [Sun, 6 Oct 2002 03:37:00 +0000 (03:37 +0000)] 
Backport 1.60 and 1.62:

Patch #586999: Fix multiline string in sendmail example.

smptlib did not handle empty addresses.
The problem was that it expected rfc822.parseaddr() to return None
upon a parse failure.  The actual, documented return value for a
parse failure is (None, None).
Closes SF bug 602029.

23 years agoBackport 1.151 and 1.152:
Raymond Hettinger [Sun, 6 Oct 2002 03:24:29 +0000 (03:24 +0000)] 
Backport 1.151 and 1.152:

Treat file://localhost/ as local too (same as file:/ and file:///).
Fixes #607789, bugfix candidate.

23 years agoBackport 1.17:
Raymond Hettinger [Sun, 6 Oct 2002 03:18:34 +0000 (03:18 +0000)] 
Backport 1.17:

Ignore IOError exceptions when writing the message.

23 years agoBackport 1.7:
Raymond Hettinger [Sun, 6 Oct 2002 03:13:29 +0000 (03:13 +0000)] 
Backport 1.7:

SF # 555779, import user doesn't work with CGIs

23 years agoBackport 1.28 and 1.29:
Raymond Hettinger [Sun, 6 Oct 2002 03:10:26 +0000 (03:10 +0000)] 
Backport 1.28 and 1.29:

SF #515026, delete global variable that was apparently used only
in a for loop.

23 years agoBackport 1.42 documenting impending deprecation in favor of the email
Raymond Hettinger [Sun, 6 Oct 2002 02:38:46 +0000 (02:38 +0000)] 
Backport 1.42 documenting impending deprecation in favor of the email
module.

23 years agoBackport 1.13 documenting impending deprecation in favor of the email
Raymond Hettinger [Sun, 6 Oct 2002 02:36:36 +0000 (02:36 +0000)] 
Backport 1.13 documenting impending deprecation in favor of the email
module.

23 years agoBackport 1.3 documenting impending deprecation in favor of the email
Raymond Hettinger [Sun, 6 Oct 2002 02:34:15 +0000 (02:34 +0000)] 
Backport 1.3 documenting impending deprecation in favor of the email
module.

23 years agoBackport 1.23 documenting impending deprecation in favor to the email
Raymond Hettinger [Sun, 6 Oct 2002 02:32:34 +0000 (02:32 +0000)] 
Backport 1.23 documenting impending deprecation in favor to the email
package.

23 years agoBackport 1.4 documenting the impending deprecation of xreadlines.
Raymond Hettinger [Sun, 6 Oct 2002 02:29:03 +0000 (02:29 +0000)] 
Backport 1.4 documenting the impending deprecation of xreadlines.

23 years agoBackport 1.36 documenting Py2.3's impending deprecation of the non-tuple
Raymond Hettinger [Sun, 6 Oct 2002 02:24:00 +0000 (02:24 +0000)] 
Backport 1.36 documenting Py2.3's impending deprecation of the non-tuple
form.

23 years agoBackport 1.108 documenting Py2.3's impending deprecation of divmod()
Raymond Hettinger [Sun, 6 Oct 2002 02:16:52 +0000 (02:16 +0000)] 
Backport 1.108 documenting Py2.3's impending deprecation of divmod()
for complex numbers.

23 years agoBackport 2.103:
Raymond Hettinger [Sat, 5 Oct 2002 21:14:12 +0000 (21:14 +0000)] 
Backport 2.103:

Made conversion failure error messages consistent between types.

23 years agoBackport 2.63 and 2.60:
Raymond Hettinger [Sat, 5 Oct 2002 20:43:43 +0000 (20:43 +0000)] 
Backport 2.63 and 2.60:

Call me anal, but there was a particular phrase that was speading to
comments everywhere that bugged me: /* Foo is inlined */ instead of
/* Inline Foo */.  Somehow the "is inlined" phrase always confused me
for half a second (thinking, "No it isn't" until I added the missing
"here").  The new phrase is hopefully unambiguous.

Close SF bug 563740. complex() now finds __complex__() in new style classes.
Made conversion failure error messages consistent between types.
Added related unittests.

23 years agoBackported Jeremy's documentation of nested scopes, execution frames
Raymond Hettinger [Sat, 5 Oct 2002 16:55:11 +0000 (16:55 +0000)] 
Backported Jeremy's documentation of nested scopes, execution frames
and such.

23 years agoTypo
Raymond Hettinger [Sat, 5 Oct 2002 15:52:38 +0000 (15:52 +0000)] 
Typo

23 years agoBackport 1.94:
Raymond Hettinger [Sat, 5 Oct 2002 15:41:56 +0000 (15:41 +0000)] 
Backport 1.94:

Patch 543387.  Document deprecation of complex %, //,and divmod().

23 years agoBackport 1.100: Discussion of Stop Iteration in the Iterator Protocol.
Raymond Hettinger [Sat, 5 Oct 2002 15:38:16 +0000 (15:38 +0000)] 
Backport 1.100:  Discussion of Stop Iteration in the Iterator Protocol.

23 years agoBackport 1.88 and 1.87:
Raymond Hettinger [Sat, 5 Oct 2002 15:25:33 +0000 (15:25 +0000)] 
Backport 1.88 and 1.87:

Update docs to reflect that \b considers underscore to be part of a word.

23 years agoBackport 1.19:
Raymond Hettinger [Sat, 5 Oct 2002 15:14:33 +0000 (15:14 +0000)] 
Backport 1.19:

Document that the key should not contain null bytes.

23 years agoBackport 1.30 and 1.29:
Raymond Hettinger [Sat, 5 Oct 2002 15:00:09 +0000 (15:00 +0000)] 
Backport 1.30 and 1.29:

Markup adjustments; fix the names of modules referenced in an expression.

Deprecated Random.cunifvariate clearing bug 506647.

23 years agoBackport 1.33 (omitting the deprecation warning but keeping the deprecation
Raymond Hettinger [Sat, 5 Oct 2002 14:42:52 +0000 (14:42 +0000)] 
Backport 1.33 (omitting the deprecation warning but keeping the deprecation
comment):

Deprecated Random.cunifvariate clearing bug 506647.
Also, added docstrings.

23 years agoBackport 1.61 (note, the actual deprecation is not backported since it
Raymond Hettinger [Sat, 5 Oct 2002 06:51:34 +0000 (06:51 +0000)] 
Backport 1.61 (note, the actual deprecation is not backported since it
could affect existing code; instead, the documentation of the deprecation
is being backported to provide maximum advance notice):

Patch 543387.  Document deprecation of complex %, //,and divmod().

23 years agoBackport 1.94:
Raymond Hettinger [Sat, 5 Oct 2002 06:40:49 +0000 (06:40 +0000)] 
Backport 1.94:

Clarified that the footnote applies to versions 1.5 and after instead of
just version 1.5.  Closes SF bug 577793.

23 years agoBackport 1.54 1.53 1.52 1.51 1.50 and 1.49:
Raymond Hettinger [Sat, 5 Oct 2002 06:12:08 +0000 (06:12 +0000)] 
Backport 1.54 1.53 1.52 1.51 1.50 and 1.49:

Try to improve the explanation of the "raise" statement and how its arguments
are interpreted.
This closes SF bug #532467.

Fix Typo.

Reword explanation of global statement since an undeclared global is a
free variable and is subject to those rules.

Note the sole case in which the ban on "from ... import *" within a
function is enforced.

Remove the following restriction:
    Names bound by import statements may not occur in global
    statements in the same scope.
Why not?

Note that it is illegal to delete a cell variable.
Note that deleteing an unbound local will raise a NameError.

23 years agoBackport 1.160 on looping idioms. Excludes enumerate(), a Py2.3 feature.
Raymond Hettinger [Sat, 5 Oct 2002 05:14:19 +0000 (05:14 +0000)] 
Backport 1.160 on looping idioms.  Excludes enumerate(), a Py2.3 feature.

23 years agoBackport 1.161: Message for NameError has changed.
Raymond Hettinger [Sat, 5 Oct 2002 05:04:07 +0000 (05:04 +0000)] 
Backport 1.161:  Message for NameError has changed.

23 years agoBackport 1.43:
Raymond Hettinger [Sat, 5 Oct 2002 03:58:16 +0000 (03:58 +0000)] 
Backport 1.43:

Extended IDLE's open module menu item to handle hierarchical module names.
Closes SF patch 600152.

23 years agoVersion number updates for Python 2.2.2.
Fred Drake [Fri, 4 Oct 2002 20:40:45 +0000 (20:40 +0000)] 
Version number updates for Python 2.2.2.

23 years agoRemove some unnecessary dependencies (minor).
Fred Drake [Fri, 4 Oct 2002 19:22:37 +0000 (19:22 +0000)] 
Remove some unnecessary dependencies (minor).

23 years agoAdded refcount information for PyObject_GetIter().
Fred Drake [Fri, 4 Oct 2002 18:59:36 +0000 (18:59 +0000)] 
Added refcount information for PyObject_GetIter().

23 years agoregrtest expects TestSkipped to come from test_support not
Barry Warsaw [Fri, 4 Oct 2002 18:00:13 +0000 (18:00 +0000)] 
regrtest expects TestSkipped to come from test_support not
test.test_support

23 years agoAdd a note about the backport of email 2.4
Barry Warsaw [Fri, 4 Oct 2002 17:57:27 +0000 (17:57 +0000)] 
Add a note about the backport of email 2.4

23 years agoBackporting of email 2.4 from Python 2.3. These are the backported
Barry Warsaw [Fri, 4 Oct 2002 17:40:57 +0000 (17:40 +0000)] 
Backporting of email 2.4 from Python 2.3.  These are the backported
tests and supporting files.

23 years agoBackporting of email 2.4 from Python 2.3. Many newly added modules,
Barry Warsaw [Fri, 4 Oct 2002 17:24:24 +0000 (17:24 +0000)] 
Backporting of email 2.4 from Python 2.3.  Many newly added modules,
some updated modules, updated documentation, and updated tests.  Note
that Lib/test/regrtest.py added test_email_codecs to the expected
skips for all platforms.  Also note that test_email_codecs.py differs
slightly from its Python 2.3 counterpart due to the difference in
package location for TestSkipped.

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Fri, 4 Oct 2002 17:24:24 +0000 (17:24 +0000)] 
This commit was manufactured by cvs2svn to create branch
'release22-maint'.

23 years agoBackport last checkin:
Neal Norwitz [Fri, 4 Oct 2002 12:50:12 +0000 (12:50 +0000)] 
Backport last checkin:
SF # 607253, header file problems, reported by Ralf W. Grosse-Kunstleve

Don't pollute the namespace when protecting against multiple header inclusion.
Prefix with Py_ and use standard naming convention Py_FILENAME_H.

23 years agoBackport patch (also pointed out in SF #607253):
Neal Norwitz [Fri, 4 Oct 2002 12:35:17 +0000 (12:35 +0000)] 
Backport patch (also pointed out in SF #607253):

date: 2002/03/30 08:57:12;  author: loewis;
Patch #536908: Add missing #include guards/extern "C".

23 years agoPatch #618347: Work around Solaris pthread.h bug.
Martin v. Löwis [Fri, 4 Oct 2002 10:16:27 +0000 (10:16 +0000)] 
Patch #618347: Work around Solaris pthread.h bug.

23 years agouse types.StringTypes instead of (str, unicode)
Skip Montanaro [Thu, 3 Oct 2002 15:27:47 +0000 (15:27 +0000)] 
use types.StringTypes instead of (str, unicode)

23 years agoPython 2.2 doesn't have basestring.
Skip Montanaro [Thu, 3 Oct 2002 14:56:08 +0000 (14:56 +0000)] 
Python 2.2 doesn't have basestring.

23 years agoFix for the recursion_level bug Armin Rigo reported in sf
Michael W. Hudson [Wed, 2 Oct 2002 13:13:45 +0000 (13:13 +0000)] 
Fix for the recursion_level bug Armin Rigo reported in sf
patch #617312, both on the trunk and the 22-maint branch.

Also added a test case, and ported the test_trace I wrote for HEAD
to 2.2.2 (with all those horrible extra 'line' events ;-).

23 years agoFix for the recursion_level bug Armin Rigo reported in sf
Michael W. Hudson [Wed, 2 Oct 2002 13:13:45 +0000 (13:13 +0000)] 
Fix for the recursion_level bug Armin Rigo reported in sf
patch #617312, both on the trunk and the 22-maint branch.

Also added a test case, and ported the test_trace I wrote for HEAD
to 2.2.2 (with all those horrible extra 'line' events ;-).

23 years agoRegenerate.
Martin v. Löwis [Mon, 30 Sep 2002 16:17:54 +0000 (16:17 +0000)] 
Regenerate.

23 years agoPatch #615069: Fix build problems on SCO Open Server 5.
Martin v. Löwis [Mon, 30 Sep 2002 16:16:13 +0000 (16:16 +0000)] 
Patch #615069: Fix build problems on SCO Open Server 5.

23 years agoAdd "runtime_library_dirs = ssl_libs" to the _socket Extension
Barry Warsaw [Mon, 30 Sep 2002 14:42:29 +0000 (14:42 +0000)] 
Add "runtime_library_dirs = ssl_libs" to the _socket Extension
specification so that the proper runtime ld.so path gets compiled into
the extension.  This fixes _socket for Solaris systems with libssl and
libcrypto in non-standard locations and should be fine for other
systems as well.  Closes SF bug #565710.

Forward port candidate for Python 2.3 (I'll work on that).

23 years agoBackport all changes from trunk (all cosmetic).
Guido van Rossum [Mon, 30 Sep 2002 13:52:01 +0000 (13:52 +0000)] 
Backport all changes from trunk (all cosmetic).

23 years agoPatch #596576: Always use cc to link on NetBSD.
Martin v. Löwis [Mon, 30 Sep 2002 11:19:12 +0000 (11:19 +0000)] 
Patch #596576: Always use cc to link on NetBSD.

23 years agoBackport loewis' 1.12:
Michael W. Hudson [Mon, 30 Sep 2002 10:54:15 +0000 (10:54 +0000)] 
Backport loewis' 1.12:

Patch #581705: Catch OSError, termios.error in spawn. 2.2 bugfix candidate.