]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
23 years agoAdd notes to the asctime() and ctime() descriptions to make it
Fred Drake [Wed, 30 Oct 2002 18:18:08 +0000 (18:18 +0000)] 
Add notes to the asctime() and ctime() descriptions to make it
explicit that locale information is not used.  There wasn't anything
that implied it was, but this has confused users.

23 years agoAdded missing names to __all__.
Raymond Hettinger [Wed, 30 Oct 2002 06:33:33 +0000 (06:33 +0000)] 
Added missing names to __all__.

23 years agoPatrick K. O'Brien noticed that kwlist was missing from __all__.
Raymond Hettinger [Wed, 30 Oct 2002 05:26:45 +0000 (05:26 +0000)] 
Patrick K. O'Brien noticed that kwlist was missing from __all__.
Added because it is part of the documented interface.

23 years agoFiles used for MacPython 2.2.2 distribution.
Jack Jansen [Tue, 29 Oct 2002 22:06:28 +0000 (22:06 +0000)] 
Files used for MacPython 2.2.2 distribution.

23 years agoAdded a few printfs in case of unexpected situations during application startup.
Jack Jansen [Tue, 29 Oct 2002 22:03:45 +0000 (22:03 +0000)] 
Added a few printfs in case of unexpected situations during application startup.

23 years agoStop-gap to forestall test_email failing in MacPython: disable the line-ending test.
Jack Jansen [Tue, 29 Oct 2002 22:01:06 +0000 (22:01 +0000)] 
Stop-gap to forestall test_email failing in MacPython: disable the line-ending test.

23 years agoThe previous patch needed a little massaging for 2.2.
Jack Jansen [Tue, 29 Oct 2002 22:00:06 +0000 (22:00 +0000)] 
The previous patch needed a little massaging for 2.2.

23 years agoFixed silly typo in previous fix. Needs to be ported forward.
Jack Jansen [Tue, 29 Oct 2002 21:59:20 +0000 (21:59 +0000)] 
Fixed silly typo in previous fix. Needs to be ported forward.

23 years agoChapter titles that get split over multiple lines in the typeset
Fred Drake [Mon, 28 Oct 2002 19:30:45 +0000 (19:30 +0000)] 
Chapter titles that get split over multiple lines in the typeset
formats can't have whitespace after the last non-blank character (bug
in LaTeX?); fix up a couple of instances of this.

Update an email address.

23 years agoClarify packages in tutorial. Closes SF bug #616211.
Raymond Hettinger [Sat, 26 Oct 2002 03:15:03 +0000 (03:15 +0000)] 
Clarify packages in tutorial.  Closes SF bug #616211.

23 years agoBackport of 1.25:
Jack Jansen [Fri, 25 Oct 2002 20:37:43 +0000 (20:37 +0000)] 
Backport of 1.25:
'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.

23 years agoBackport of 1.5:
Jack Jansen [Fri, 25 Oct 2002 20:36:53 +0000 (20:36 +0000)] 
Backport of 1.5:
Under Jaguar it seems that 'errn' return value keyword parameters don't
(or don't always?) show up with missed(). I think this is a bug in
Jaguar, but as it is a potential dangerous problem (the OSA event has
failed, but the Python code isn't told about this and happily continues)
this is a quick workaround.

23 years ago- The "-" format flag overrides the "0" flag, not the "-" flag.
Fred Drake [Fri, 25 Oct 2002 16:56:16 +0000 (16:56 +0000)] 
- The "-" format flag overrides the "0" flag, not the "-" flag.
- Documented the alternate forms, which were claimed to be documented
  but were not.

23 years agoCorrect the description of PyErr_Restore().
Fred Drake [Thu, 24 Oct 2002 20:55:07 +0000 (20:55 +0000)] 
Correct the description of PyErr_Restore().
Closes SF bug #577000.

23 years agoRelocate an index entry so named anchors are not generated in a section head.
Fred Drake [Thu, 24 Oct 2002 19:58:03 +0000 (19:58 +0000)] 
Relocate an index entry so named anchors are not generated in a section head.
Closes SF bug #546579.

23 years agoUpdate an example to use the DOM implementation object. Explain that
Fred Drake [Thu, 24 Oct 2002 19:36:41 +0000 (19:36 +0000)] 
Update an example to use the DOM implementation object.  Explain that
the parse() and parseString() functions use a separate parser, not
actually implement a parser.  (This is a common question.)

23 years agoDeal with a FAQ:
Fred Drake [Wed, 23 Oct 2002 20:24:46 +0000 (20:24 +0000)] 
Deal with a FAQ:
Explain that the "xml" package requires that at least one
SAX-compliant XML parser be installed, and why this may not be
available by default.  Point to the PyXML package as an extended
version of the "xml" package that can provide this fuctionality.

Note that the docs for the xml.dom and xml.sax packages are the
definitiona of the Python bindings for the DOM and SAX interfaces.

23 years agoMoved description of _urlopener adjacent to the related functions.
Fred Drake [Tue, 22 Oct 2002 21:58:39 +0000 (21:58 +0000)] 
Moved description of _urlopener adjacent to the related functions.
Added missing import to example code.

Added documentation for pathname2url(), url2pathname().
Closes SF bug #623196.

23 years agoYes, we have moved past 2.2.2.
Fred Drake [Tue, 22 Oct 2002 21:20:24 +0000 (21:20 +0000)] 
Yes, we have moved past 2.2.2.

23 years agoWork around the fact that "maint" alone is a symlink now.
Fred Drake [Tue, 22 Oct 2002 21:06:24 +0000 (21:06 +0000)] 
Work around the fact that "maint" alone is a symlink now.

23 years agoDescribe __path__ along with the rest of the package description.
Fred Drake [Tue, 22 Oct 2002 21:01:33 +0000 (21:01 +0000)] 
Describe __path__ along with the rest of the package description.
Closes SF bug #626554.

23 years agoClarified the error cases and Unicode handling of PyString_AsString(),
Fred Drake [Tue, 22 Oct 2002 20:21:06 +0000 (20:21 +0000)] 
Clarified the error cases and Unicode handling of PyString_AsString(),
PyString_AsStringAndSize(), and PyString_AS_STRING().
Closes SF bug #606463.

23 years agoClarify what versions of Windows are supported, and add Linux
Fred Drake [Tue, 22 Oct 2002 15:06:01 +0000 (15:06 +0000)] 
Clarify what versions of Windows are supported, and add Linux
specifically.

23 years agoFix markup for tilde in URL.
Fred Drake [Fri, 18 Oct 2002 18:16:47 +0000 (18:16 +0000)] 
Fix markup for tilde in URL.

23 years agoFix reference to the Fetchmail FAQ:
Fred Drake [Fri, 18 Oct 2002 16:50:39 +0000 (16:50 +0000)] 
Fix reference to the Fetchmail FAQ:
- URL was missing an "m"
- markup for tilde was wrong
- URL was marked as the title
- actual title was omitted

"make webcheck" didn't catch this; not sure why.

Removed some spurious end-of-line whitespace.

23 years agoBackport:
Neal Norwitz [Fri, 18 Oct 2002 16:45:39 +0000 (16:45 +0000)] 
Backport:
Fix SF # 624982, Potential AV in slot_sq_item, by Greg Chapman

Don't crash when getting value of a property raises an exception

23 years agoFix markup for tilde in URL.
Fred Drake [Fri, 18 Oct 2002 16:34:26 +0000 (16:34 +0000)] 
Fix markup for tilde in URL.

23 years agoAdded cross-references to related material on exceptions.
Fred Drake [Fri, 18 Oct 2002 15:21:29 +0000 (15:21 +0000)] 
Added cross-references to related material on exceptions.
Closes SF bug #217195.

Make sure section numbers wrap together with the preceeding word
("section").

23 years agoAdded cross-references to related material on exceptions.
Fred Drake [Fri, 18 Oct 2002 15:19:11 +0000 (15:19 +0000)] 
Added cross-references to related material on exceptions.
Closes SF bug #217195.

23 years agoBackport Neal Norwitz's patch from revision 1.14:
Fred Drake [Fri, 18 Oct 2002 14:38:25 +0000 (14:38 +0000)] 
Backport Neal Norwitz's patch from revision 1.14:
Don't screw up the names of the nodes we're looking up.

This fixes two SF bugs:
217195 - Broken \ref link in documentation
484967 - bad links at Ref Guide

23 years agoFix (real! :-) memory leaks in half_cmp and half_binop.
Guido van Rossum [Fri, 18 Oct 2002 14:06:02 +0000 (14:06 +0000)] 
Fix (real! :-) memory leaks in half_cmp and half_binop.
Perhaps found by NealN and valgrind.  Will forward port.

23 years agoSigh. That wasn't a memory leak, that was Guido committing before
Guido van Rossum [Fri, 18 Oct 2002 13:52:42 +0000 (13:52 +0000)] 
Sigh.  That wasn't a memory leak, that was Guido committing before
running tests.  Withdraw 2.183 and its backport.

23 years agoBackport of 2.183:
Guido van Rossum [Fri, 18 Oct 2002 13:42:21 +0000 (13:42 +0000)] 
Backport of 2.183:
Fix memory leak in add_subclass() found by NealN with valgrind.

23 years agoAdd new encoding for Ukrainian Cyrillic
Neal Norwitz [Thu, 17 Oct 2002 22:17:43 +0000 (22:17 +0000)] 
Add new encoding for Ukrainian Cyrillic

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

23 years agoDocument urldefrag().
Fred Drake [Wed, 16 Oct 2002 21:26:01 +0000 (21:26 +0000)] 
Document urldefrag().

23 years agoAdded missing entries to __all__.
Fred Drake [Wed, 16 Oct 2002 21:24:52 +0000 (21:24 +0000)] 
Added missing entries to __all__.

23 years agoThis commit was manufactured by cvs2svn to create tag 'r222'. v2.2.2
cvs2svn [Mon, 14 Oct 2002 20:11:50 +0000 (20:11 +0000)] 
This commit was manufactured by cvs2svn to create tag 'r222'.

23 years agoNews about last-minute fix for SF bug 620705 (urlparse).
Guido van Rossum [Mon, 14 Oct 2002 20:11:50 +0000 (20:11 +0000)] 
News about last-minute fix for SF bug 620705 (urlparse).

23 years agoBackporting urlparse.py:1.34, test_urlparse.py:1.8:
Guido van Rossum [Mon, 14 Oct 2002 20:08:50 +0000 (20:08 +0000)] 
Backporting urlparse.py:1.34, test_urlparse.py:1.8:

Fix for 1.33: urlsplit() should only add '//' if scheme != ''.
[SF bug 620705]

23 years agoI'd forgotten that tcsh was the default for 10.1, but SF's 10.1 system
Barry Warsaw [Mon, 14 Oct 2002 18:21:49 +0000 (18:21 +0000)] 
I'd forgotten that tcsh was the default for 10.1, but SF's 10.1 system
uses bash and so does my 10.2 system.  "limit stacksize 2048" is the
right invocation for tcsh/csh.

23 years agoI'd forgotten that tcsh was the default for 10.1, but SF's 10.1 system
Barry Warsaw [Mon, 14 Oct 2002 18:13:24 +0000 (18:13 +0000)] 
I'd forgotten that tcsh was the default for 10.1, but SF's 10.1 system
uses bash and so does my 10.2 system.  "limit stacksize 2048" is the
right invocation for tcsh/csh.

23 years agoAdd a note about how to successfully complete the tests on MacOSX.
Barry Warsaw [Mon, 14 Oct 2002 18:03:52 +0000 (18:03 +0000)] 
Add a note about how to successfully complete the tests on MacOSX.

23 years agoThere was a typo in the MacOSX section regarding the stacksize issue.
Barry Warsaw [Mon, 14 Oct 2002 18:03:04 +0000 (18:03 +0000)] 
There was a typo in the MacOSX section regarding the stacksize issue.
There's no limit command near as I can tell.  Should be the bash
builtin ulimit command.

23 years agoBackport bugfix microrelease of email 2.4.3 from cvs trunk.
Barry Warsaw [Mon, 14 Oct 2002 17:26:03 +0000 (17:26 +0000)] 
Backport bugfix microrelease of email 2.4.3 from cvs trunk.

23 years agoAdded all the non-doc news for 2.2.2 (final).
Guido van Rossum [Mon, 14 Oct 2002 16:03:55 +0000 (16:03 +0000)] 
Added all the non-doc news for 2.2.2 (final).

Barry may want to update the news item about email 2.4.3 with more
details.

23 years agoAdd boilerplate for 2.2.2 final. (Will add actual news next.)
Guido van Rossum [Mon, 14 Oct 2002 15:37:08 +0000 (15:37 +0000)] 
Add boilerplate for 2.2.2 final.  (Will add actual news next.)

23 years agoUpdate version strings in Windows installer for 2.2.2.
Tim Peters [Mon, 14 Oct 2002 15:09:12 +0000 (15:09 +0000)] 
Update version strings in Windows installer for 2.2.2.

23 years agoUpdate FIELD3 of Windows 64-bit binary version # for 2.2.2.
Tim Peters [Mon, 14 Oct 2002 15:07:34 +0000 (15:07 +0000)] 
Update FIELD3 of Windows 64-bit binary version # for 2.2.2.

23 years agoUpdate Windows buildno for 2.2.2 final.
Tim Peters [Mon, 14 Oct 2002 15:03:43 +0000 (15:03 +0000)] 
Update Windows buildno for 2.2.2 final.

23 years agoUpdate list of Windows buildnos for 2.2.2 final.
Tim Peters [Mon, 14 Oct 2002 15:02:11 +0000 (15:02 +0000)] 
Update list of Windows buildnos for 2.2.2 final.

23 years agoUpdate release information for 2.2.2 final.
Fred Drake [Mon, 14 Oct 2002 14:33:39 +0000 (14:33 +0000)] 
Update release information for 2.2.2 final.

23 years agoBump release version to 2.2.2 -- the final release is imminent.
Guido van Rossum [Mon, 14 Oct 2002 12:35:53 +0000 (12:35 +0000)] 
Bump release version to 2.2.2 -- the final release is imminent.

23 years agoBump release version to 2.2.2 -- the final release is imminent.
Guido van Rossum [Mon, 14 Oct 2002 12:25:20 +0000 (12:25 +0000)] 
Bump release version to 2.2.2 -- the final release is imminent.

23 years agoAdd finditer to __all__ (when defining it at all).
Guido van Rossum [Mon, 14 Oct 2002 12:21:16 +0000 (12:21 +0000)] 
Add finditer to __all__ (when defining it at all).
SF bug 585882.  Will forward-port.

23 years agoFix tildes in URLs. Closes SF bug #614821.
Fred Drake [Sat, 12 Oct 2002 15:03:24 +0000 (15:03 +0000)] 
Fix tildes in URLs.  Closes SF bug #614821.

23 years agoDarn! Don't divide by zero. Bad fix. :-)
Guido van Rossum [Fri, 11 Oct 2002 23:39:54 +0000 (23:39 +0000)] 
Darn!  Don't divide by zero.  Bad fix. :-)

23 years agoBackport 1.34.
Neal Norwitz [Fri, 11 Oct 2002 22:06:12 +0000 (22:06 +0000)] 
Backport 1.34.

SF # 539360, webbrowser.py and konqueror, by Andy McKay

Fix Konqueror so it can start when calling open().
The assert needed to be on the raw URL, not openURL 'url...'

23 years agoBackport 2.34. SF #621948, update docstring for md5 by David M. Cooke
Neal Norwitz [Fri, 11 Oct 2002 21:55:13 +0000 (21:55 +0000)] 
Backport 2.34.  SF #621948, update docstring for md5 by David M. Cooke

23 years agoBackport listobject.c 2.137 and tupleobject.c 2.75:
Guido van Rossum [Fri, 11 Oct 2002 21:13:14 +0000 (21:13 +0000)] 
Backport listobject.c 2.137 and tupleobject.c 2.75:

Add checks for size overflow on list*n, list+list, tuple+tuple.

23 years agoClarify impending deprecation of the floor div operator, modulo operator,
Raymond Hettinger [Fri, 11 Oct 2002 20:59:57 +0000 (20:59 +0000)] 
Clarify impending deprecation of the floor div operator, modulo operator,
and divmod() function for complex numbers.

Closes SF Bug 621708: Unclear deprecation.

23 years agoBackport 2.193:
Guido van Rossum [Fri, 11 Oct 2002 20:37:58 +0000 (20:37 +0000)] 
Backport 2.193:

PyObject_Init[Var] is almost always called from the PyObject_NEW[_VAR]
macros.  The 'op' argument is then the result from PyObject_MALLOC,
and that can of course be NULL.  In that case, PyObject_Init[Var]
would raise a SystemError with "NULL object passed to
PyObject_Init[Var]".  But there's nothing the caller of the macro can
do about this.  So PyObject_Init[Var] should call just PyErr_NoMemory.

23 years agoSF bug 621507: python22.dll incorrect "File version".
Tim Peters [Fri, 11 Oct 2002 18:38:20 +0000 (18:38 +0000)] 
SF bug 621507:  python22.dll incorrect "File version".
The MS resource compiler can't do arithmetic.  Fixed it by hand.  Note
that the new PCbuild\field3.py was added to help with this, and injects
another manual step into the Python Windows release process.

23 years agoBackporting a new file from 2.3 needed to worm around that MS's
Tim Peters [Fri, 11 Oct 2002 18:29:54 +0000 (18:29 +0000)] 
Backporting a new file from 2.3 needed to worm around that MS's
resource compiler can't do correct arithmetic.  The 3rd 16-bit int
in the "binary file version" we produce on Windows has been nonsense
as a result.  I'll fix that next.

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

23 years agoAdded a debug target for PythonCoreCarbon
Jack Jansen [Fri, 11 Oct 2002 14:59:36 +0000 (14:59 +0000)] 
Added a debug target for PythonCoreCarbon

23 years agoBackport stringobject.c 2.194 and unicodeobject.c 2.172:
Guido van Rossum [Fri, 11 Oct 2002 00:47:20 +0000 (00:47 +0000)] 
Backport stringobject.c 2.194 and unicodeobject.c 2.172:

Fix a nasty endcase reported by Armin Rigo in SF bug 618623:
'%2147483647d' % -123 segfaults.  This was because an integer overflow
in a comparison caused the string resize to be skipped.  After fixing
the overflow, this could call _PyString_Resize() with a negative size,
so I (1) test for that and raise MemoryError instead; (2) also added a
test for negative newsize to _PyString_Resize(), raising SystemError
as for all bad arguments.

An identical bug existed in unicodeobject.c, of course.

23 years agoNew in 2.2.2!
Guido van Rossum [Fri, 11 Oct 2002 00:22:22 +0000 (00:22 +0000)] 
New in 2.2.2!

In inherit_slots(), get rid of the COPYSLOT(tp_dictoffset).  Copying
the offset from a non-dominant base makes no sense: either the
non-dominant base has a nonzero tp_dictoffset, and then we should have
already copied it from the dominant base (at the very end of
inherit_special()), or the non-dominant base has no tp_dictoffset and
for some reason type_new() decided not to add one.  The tp_dictoffset
from a non-dominant base is likely to conflict with the instance
layout of the dominant base, so copying the tp_dictoffset from the
non-dominant base would be a really bad idea in that case.  This bug
can only be triggered by multiple inheritance from an extension class
that doesn't set tp_dictoffset and a new-style user-level class that
does have one.  There are no such extension classes in the
distribution, but there are 3rd party ones.  (Zope3 now has one,
that's how I found this. :-)

I've asked a few heavy users of new-style classes, extension classes
and metaclasses (David Abrahams and Kevin Jacobs), and neither of them
found any problems in their test suite after applying this fix, so I
assume it's safe.

23 years agoBackport the relevant part of 2.192:
Guido van Rossum [Fri, 11 Oct 2002 00:09:51 +0000 (00:09 +0000)] 
Backport the relevant part of 2.192:

The string formatting code has a test to switch to Unicode when %s
sees a Unicode argument.  Unfortunately this test was also executed
for %r, because %s and %r share almost all of their code.  This meant
that, if u is a unicode object while repr(u) is an 8-bit string
containing ASCII characters, '%r' % u is a *unicode* string containing
only ASCII characters!

Fixed by executing the test only for %s.

23 years agoUpdated for VISE 8, and for 2.2.2b1 distribution.
Jack Jansen [Thu, 10 Oct 2002 22:18:48 +0000 (22:18 +0000)] 
Updated for VISE 8, and for 2.2.2b1 distribution.

23 years agoUpped the stack limit to 256K to make test_class pass.
Jack Jansen [Thu, 10 Oct 2002 21:16:04 +0000 (21:16 +0000)] 
Upped the stack limit to 256K to make test_class pass.

23 years agoUse \n as line separator in stead of \r\n, which causes problems in MacPython 2.2.
Jack Jansen [Thu, 10 Oct 2002 21:13:53 +0000 (21:13 +0000)] 
Use \n as line separator in stead of \r\n, which causes problems in MacPython 2.2.

23 years agoBackport of 1.7:
Jack Jansen [Thu, 10 Oct 2002 20:46:33 +0000 (20:46 +0000)] 
Backport of 1.7:
Reorganized so the test is skipped if os.popen() doesn't exist (in stead of fail
ing).

23 years agoBackport email 2.4.2 changes from Python 2.3.
Barry Warsaw [Thu, 10 Oct 2002 19:10:45 +0000 (19:10 +0000)] 
Backport email 2.4.2 changes from Python 2.3.

23 years agoDocument when unittest was added to Python.
Fred Drake [Thu, 10 Oct 2002 16:16:03 +0000 (16:16 +0000)] 
Document when unittest was added to Python.

23 years agoExpand AC_CHECK_SIZEOF inline to overcome a autoconf 2.13 weakness.
Martin v. Löwis [Thu, 10 Oct 2002 15:26:46 +0000 (15:26 +0000)] 
Expand AC_CHECK_SIZEOF inline to overcome a autoconf 2.13 weakness.
Fixes #620791.

23 years agodetect_modules(): Be more conservative about adding
Barry Warsaw [Thu, 10 Oct 2002 00:59:16 +0000 (00:59 +0000)] 
detect_modules(): Be more conservative about adding
runtime_library_dirs (i.e. -R flags) when building the _socket.so
module.  Whitelist only the platforms we know need the flags, which
are only sunos (aka Solaris) platforms at the moment.  Tested on
RH7.3, OSX 10.2, and Solaris 8.

Forward port candidate for Python 2.3.

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.