]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
23 years agoThe "Up" link should point to index.html, not ./, since these
Fred Drake [Thu, 14 Nov 2002 22:49:20 +0000 (22:49 +0000)] 
The "Up" link should point to index.html, not ./, since these
documents are used from local filesystems as well as through
webservers.
Closes SF bug #624024; not needed on the trunk.

23 years agoUpdate the docstring to match the code.
Neal Norwitz [Thu, 14 Nov 2002 03:32:08 +0000 (03:32 +0000)] 
Update the docstring to match the code.

23 years agoFix SF # 505427, socket module fails to build on HPUX10
Neal Norwitz [Thu, 14 Nov 2002 02:22:34 +0000 (02:22 +0000)] 
Fix SF # 505427, socket module fails to build on HPUX10

h_errno is not defined on HPUX with the 2.2 build env't
(ie, _XOPEN_SOURCE_EXTENDED is not defined)

23 years agoDocument struct_time and the field names.
Fred Drake [Wed, 13 Nov 2002 19:06:00 +0000 (19:06 +0000)] 
Document struct_time and the field names.

23 years agoAdd \funcline, \funclineni, and \methodlineni to the list of functions
Fred Drake [Wed, 13 Nov 2002 17:56:23 +0000 (17:56 +0000)] 
Add \funcline, \funclineni, and \methodlineni to the list of functions
that are processed before their arguments.
Closes SF bug #637807.

23 years agoFix broken markup.
Fred Drake [Wed, 13 Nov 2002 17:47:53 +0000 (17:47 +0000)] 
Fix broken markup.
Closes SF bug #637807.

23 years agoTypo: it's --> its
Fred Drake [Wed, 13 Nov 2002 15:53:23 +0000 (15:53 +0000)] 
Typo: it's --> its
Closes SF bug #637810.

23 years agoUpdate: Older versions of Python crashed when calling repr()
Fred Drake [Wed, 13 Nov 2002 15:33:13 +0000 (15:33 +0000)] 
Update:  Older versions of Python crashed when calling repr()
(including the implied call using back-ticks) of a recursive object,
but this is no longer the case.
Reported by Manus Hand via email.

23 years agoClarify that PyImport_AddModule() and PyImport_ExecCodeModule() don't
Fred Drake [Wed, 13 Nov 2002 15:15:11 +0000 (15:15 +0000)] 
Clarify that PyImport_AddModule() and PyImport_ExecCodeModule() don't
add any package support structure even if a dotted-name is passed for
the module.
Closes SF bug #424106.

23 years agoClarified meaning of \w and \W with respect to the UNICODE and LOCALE flags.
Fred Drake [Tue, 12 Nov 2002 23:13:40 +0000 (23:13 +0000)] 
Clarified meaning of \w and \W with respect to the UNICODE and LOCALE flags.
Closes SF bug #635595.

23 years agoSF # 627900, Bytecode copy bug in freeze
Neal Norwitz [Tue, 12 Nov 2002 23:10:31 +0000 (23:10 +0000)] 
SF # 627900, Bytecode copy bug in freeze

Pass co_freevars and co_cellvars to new.code().

23 years agoHandle the Content-Type header a little more appropriately: if it
Fred Drake [Tue, 12 Nov 2002 22:21:01 +0000 (22:21 +0000)] 
Handle the Content-Type header a little more appropriately:  if it
contains options, drop them to get the major/minor content type.
Modified from the supplied patch to support more whitespace variation.
Closes SF patch #613605.

23 years agoClarified documentation of tempnam().
Fred Drake [Tue, 12 Nov 2002 22:07:48 +0000 (22:07 +0000)] 
Clarified documentation of tempnam().
Closes SF bug #635656.

23 years agoCommit version 1.02 (CVS revision 1.59) of whatsnew22.tex, which
Andrew M. Kuchling [Tue, 12 Nov 2002 19:01:04 +0000 (19:01 +0000)] 
Commit version 1.02 (CVS revision 1.59) of whatsnew22.tex, which
   fixes various small errors and adds mention of the 2.2.1 and 2.2.2 releases.

23 years agoSearch for tix subdirectories. Fixes #564729.
Martin v. Löwis [Sat, 9 Nov 2002 19:02:34 +0000 (19:02 +0000)] 
Search for tix subdirectories. Fixes #564729.

23 years agoMake strip work as documented.
Martin v. Löwis [Fri, 8 Nov 2002 12:11:03 +0000 (12:11 +0000)] 
Make strip work as documented.

23 years agoFix typo only present in the r22-maint branch.
Fred Drake [Fri, 8 Nov 2002 07:42:58 +0000 (07:42 +0000)] 
Fix typo only present in the r22-maint branch.

23 years agoClarify what it means to require Python 1.5.2.
Raymond Hettinger [Fri, 8 Nov 2002 05:48:11 +0000 (05:48 +0000)] 
Clarify what it means to require Python 1.5.2.

23 years agoBackport 1.72:
Neal Norwitz [Thu, 7 Nov 2002 00:28:54 +0000 (00:28 +0000)] 
Backport 1.72:
SF bug 630824:  pydoc Helper keywords missing 'yield'
Wow, what a brittle subsystem!  Fixed, maybe, provided Fred doesn't
shuffle the docs around.

23 years agoBackport 1.72:
Neal Norwitz [Thu, 7 Nov 2002 00:23:38 +0000 (00:23 +0000)] 
Backport 1.72:
Fix for bug #626172:  crash using unicode latin1 single char

23 years agoBackport 2.173:
Neal Norwitz [Thu, 7 Nov 2002 00:22:53 +0000 (00:22 +0000)] 
Backport 2.173:
Fix for bug #626172:  crash using unicode latin1 single char

23 years agoBackport 1.6->1.7: Skip the test_nocaret test when running as jython.
Finn Bock [Wed, 6 Nov 2002 11:45:51 +0000 (11:45 +0000)] 
Backport 1.6->1.7: Skip the test_nocaret test when running as jython.
Jython happens to add a caret in this case too.

23 years agoBackport 1.8->1.9: Make the test pass for jython where there are no
Finn Bock [Wed, 6 Nov 2002 11:41:48 +0000 (11:41 +0000)] 
Backport 1.8->1.9: Make the test pass for jython where there are no
sys.executable.

23 years agoMinor cleanups, markup.
Fred Drake [Tue, 5 Nov 2002 22:19:27 +0000 (22:19 +0000)] 
Minor cleanups, markup.

23 years agoFix minor markup nits.
Fred Drake [Tue, 5 Nov 2002 16:53:15 +0000 (16:53 +0000)] 
Fix minor markup nits.

23 years agoSF 633560: tokenize.__all__ needs "generate_tokens"
Raymond Hettinger [Tue, 5 Nov 2002 06:08:11 +0000 (06:08 +0000)] 
SF 633560:  tokenize.__all__ needs "generate_tokens"

23 years agoBackport last checkin:
Neal Norwitz [Mon, 4 Nov 2002 23:40:47 +0000 (23:40 +0000)] 
Backport last checkin:
SF #633013, Fix NIS causing interpreter core dump

Prevent the lengths passed to PyString_FromStringAndSize()
from being negative in some cases.

23 years agoUpdate config.h to pyconfig.h and config.h.in to pyconfig.h.in.
Fred Drake [Mon, 4 Nov 2002 20:50:39 +0000 (20:50 +0000)] 
Update config.h to pyconfig.h and config.h.in to pyconfig.h.in.

23 years agoBackport to 2.2: [Bug #570655] Fix misleading option text
Andrew M. Kuchling [Mon, 4 Nov 2002 13:33:47 +0000 (13:33 +0000)] 
Backport to 2.2: [Bug #570655] Fix misleading option text

23 years agoSupport @euro modifiers. Fixes #554676.
Martin v. Löwis [Sun, 3 Nov 2002 17:23:14 +0000 (17:23 +0000)] 
Support @euro modifiers. Fixes #554676.

23 years agoFix SF #632864, Typo string instead of sting in LibDoc.
Neal Norwitz [Sun, 3 Nov 2002 13:13:54 +0000 (13:13 +0000)] 
Fix SF #632864, Typo string instead of sting in LibDoc.

23 years agoFix SF # 518775, buffer object API description truncated
Neal Norwitz [Sun, 3 Nov 2002 02:57:24 +0000 (02:57 +0000)] 
Fix SF # 518775, buffer object API description truncated

23 years agoFix SF # 631066, running regrtest in user mode fails
Neal Norwitz [Sun, 3 Nov 2002 00:37:57 +0000 (00:37 +0000)] 
Fix SF # 631066, running regrtest in user mode fails

Try to write to TESTFN, if that fails, try TESTFN in /tmp
If that fails, print a warning and go on.

23 years agoFix SF #618146, overflow error in calendar module
Neal Norwitz [Sun, 3 Nov 2002 00:15:46 +0000 (00:15 +0000)] 
Fix SF #618146, overflow error in calendar module

23 years agoUpdate example for the type() function to use the currently accepted
Fred Drake [Fri, 1 Nov 2002 21:34:39 +0000 (21:34 +0000)] 
Update example for the type() function to use the currently accepted
preference of using "is" instead of "==" to compare types, use
built-in names where available, and point to the isinstance()
function.
Closes SF bug #632196.

23 years agoPatch #631972: Adds an is_jython flag.
Finn Bock [Fri, 1 Nov 2002 19:12:55 +0000 (19:12 +0000)] 
Patch #631972: Adds an is_jython flag.

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.