]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
23 years agobackport tim_one's checkin of
Michael W. Hudson [Fri, 22 Feb 2002 13:29:32 +0000 (13:29 +0000)] 
backport tim_one's checkin of
    revision 1.10 of test_thread.py
    revision 1.5 of test_threaded_import.py

SF bug #516372:  test_thread: unhandled exc. in thread
Fix exit races in test_thread.py and test_threaded_import.py.
I suspect the bug is provokable only under Linux (where child threads
seem to get lots of cycles before they get killed after the main thread
exits), or on multi-processor machines running other OSes.
Bugfix candidate.

23 years agobackport gward's checkin of
Michael W. Hudson [Fri, 22 Feb 2002 13:26:54 +0000 (13:26 +0000)] 
backport gward's checkin of
    revision 1.25 of urllib2.py

Fix bug #511786 (2.2.1 candidate): ensure that custom-supplied headers
are preserved for redirected requests.

23 years agobackport gvanrossum's checkin of
Michael W. Hudson [Fri, 22 Feb 2002 13:23:33 +0000 (13:23 +0000)] 
backport gvanrossum's checkin of
    revision 2.54 of complexobject.c

Declare real and imag as read-only attributes.

This fixes SF bug #514858 (Gregory Smith): complex not entirely
immutable

2.2.1 Bugfix candidate!

23 years agobackport akuchling's checkin of
Michael W. Hudson [Fri, 22 Feb 2002 13:22:55 +0000 (13:22 +0000)] 
backport akuchling's checkin of
    revision 1.12 of file_util.py

[Bug #220993; may also fix bug #479469] Fix flakiness when old
  installations are present, by always unlinking the destination file
  before copying to it.  Without the unlink(), the copied file remains
  owned by its previous UID, causing the subsequent chmod() to fail.

Bugfix candidate, though it may cause changes on platforms where
  file ownership behaves differently.

23 years agobackport gvanrossum's checkin of
Michael W. Hudson [Fri, 22 Feb 2002 13:22:31 +0000 (13:22 +0000)] 
backport gvanrossum's checkin of
    revision 1.21 of CGIHTTPServer.py

date: 2002/02/01 16:27:59;  author: gvanrossum;  state: Exp;  lines: +18 -4
Wesley Chun's SF patch 511380: add CGIHTTPServer error supt for Win32

This uses os.popen3 (if it exists) to ensure that errors from a
non-Python CGI script are logged.

Bugfix candidate.

23 years agobackport akuchling's checkin of
Michael W. Hudson [Fri, 22 Feb 2002 13:19:54 +0000 (13:19 +0000)] 
backport akuchling's checkin of
    revision 1.11 of install_scripts.py

Restrict the mode to the lowest four octal positions; higher positions
   contain the type of the file (regular file, socket, link, &c.).
   This means that install_scripts will now print
   "changing mode of <file> to 775" instead of "... to 100775".

2.2 bugfix candidate, I suppose, though this isn't actually fixing a bug.

This patch was applied by an alarmingly automated system -- I hope it
worked...

23 years agoCorrect the refcount information for the PyWeakref_GetObject() function.
Fred Drake [Wed, 20 Feb 2002 05:08:02 +0000 (05:08 +0000)] 
Correct the refcount information for the PyWeakref_GetObject() function.
This closes SF bug #520087.

23 years agoBackport gvanrossum's checkin of revision 2.80:
Michael W. Hudson [Tue, 19 Feb 2002 14:17:02 +0000 (14:17 +0000)] 
Backport gvanrossum's checkin of revision 2.80:

Bugfix candidate.

Fix SF bug #511603: Error calling str on subclass of int

Explicitly fill in tp_str with the same pointer as tp_repr.

23 years agoBackport theller's checkin of revision 1.35:
Michael W. Hudson [Tue, 19 Feb 2002 14:15:40 +0000 (14:15 +0000)] 
Backport theller's checkin of revision 1.35:

package_dir must be converted from the distutils path conventions to
local conventions before being used by build_py.

Fixes SF bug #509288, probably a candidate for 2.2.1

23 years agoSF #515023. Make _DummyThread.join() signature match base class (Thread)
Neal Norwitz [Tue, 19 Feb 2002 03:02:33 +0000 (03:02 +0000)] 
SF #515023.  Make _DummyThread.join() signature match base class (Thread)

23 years agoSF #515041, Update path for 2.2
Neal Norwitz [Tue, 19 Feb 2002 02:57:05 +0000 (02:57 +0000)] 
SF #515041,  Update path for 2.2

23 years agoPatch #508038: Do not use a type as a variable name.
Martin v. Löwis [Sat, 16 Feb 2002 23:41:39 +0000 (23:41 +0000)] 
Patch #508038: Do not use a type as a variable name.

23 years agoThe Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.
Martin v. Löwis [Sat, 16 Feb 2002 23:08:25 +0000 (23:08 +0000)] 
The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.
Replaces calls to socket.send() (which isn't guaranteed to send all data)
with the new socket.sendall() method.

23 years agoAdd an availability statement for alarm().
Fred Drake [Fri, 15 Feb 2002 21:00:17 +0000 (21:00 +0000)] 
Add an availability statement for alarm().

23 years agoAdded deprecatioon information for mac.xstat().
Fred Drake [Fri, 15 Feb 2002 14:40:52 +0000 (14:40 +0000)] 
Added deprecatioon information for mac.xstat().
This closes SF bug #505150.

23 years agoThe "%" character does not need to be escaped in verbatim environments.
Fred Drake [Fri, 15 Feb 2002 04:21:45 +0000 (04:21 +0000)] 
The "%" character does not need to be escaped in verbatim environments.
This closes SF bug #517811.

23 years agoConsistently use \textasciicircum to produce a ^ character.
Fred Drake [Thu, 14 Feb 2002 15:22:04 +0000 (15:22 +0000)] 
Consistently use \textasciicircum to produce a ^ character.
LaTeX really falls flat on this one!

23 years agoAdded regression test for start()/stop() returning bogus NULL.
Fred Drake [Fri, 8 Feb 2002 21:31:47 +0000 (21:31 +0000)] 
Added regression test for start()/stop() returning bogus NULL.

23 years agostart() and stop() methods: return None where there is no exception;
Fred Drake [Fri, 8 Feb 2002 21:31:23 +0000 (21:31 +0000)] 
start() and stop() methods: return None where there is no exception;
returning NULL causes the interpreter to raise a SystemError.
Noted by Anthony Baxter at Python 10.

23 years agoPython 10 was a success, commemorate it\!
Fred Drake [Fri, 8 Feb 2002 20:47:47 +0000 (20:47 +0000)] 
Python 10 was a success, commemorate it\!
This includes Guido's whitespace cleanup.

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Fri, 8 Feb 2002 20:47:47 +0000 (20:47 +0000)] 
This commit was manufactured by cvs2svn to create branch
'release22-maint'.

23 years agoBackport my fixing up of PyObject_New/PyMem_Del mismatches.
Michael W. Hudson [Wed, 6 Feb 2002 17:11:51 +0000 (17:11 +0000)] 
Backport my fixing up of PyObject_New/PyMem_Del mismatches.

23 years agoBackport loewis' checkin of revision 1.44:
Michael W. Hudson [Wed, 6 Feb 2002 17:09:18 +0000 (17:09 +0000)] 
Backport loewis' checkin of revision 1.44:

Encode MSVC paths as mbcs. Fixes #509117. 2.2.1 candidate.

(apparently 1.5.2 compatibility is still a goal for distutils, but
I'll wait until that gets amended on the trunk...)

23 years agoFix a bunch of typos found by nnorwitz.
Michael W. Hudson [Wed, 6 Feb 2002 17:06:03 +0000 (17:06 +0000)] 
Fix a bunch of typos found by nnorwitz.

23 years agoUpdate the instructions on reporting bugs to reflect that anonymous reports
Fred Drake [Mon, 4 Feb 2002 21:43:44 +0000 (21:43 +0000)] 
Update the instructions on reporting bugs to reflect that anonymous reports
are no longer accepted.

23 years agostring.split() docstring described the interpretation of the maxsplit
Fred Drake [Wed, 30 Jan 2002 16:15:59 +0000 (16:15 +0000)] 
string.split() docstring described the interpretation of the maxsplit
argument incorrectly.
This closes SF bug #505997.

23 years agoRevise cheeseshop example so that the order of the keyword output is
Fred Drake [Tue, 29 Jan 2002 14:54:18 +0000 (14:54 +0000)] 
Revise cheeseshop example so that the order of the keyword output is
completely determined by the example; dict insertion order and the string
hash algorithm no longer affect the output.
This fixes SF bug #509281.

23 years agoIt's merge time! (well, this is the last one for the moment)
Michael W. Hudson [Mon, 28 Jan 2002 16:06:11 +0000 (16:06 +0000)] 
It's merge time!  (well, this is the last one for the moment)

Backport gvanrossum's checkin of revision 2.236:

A tentative fix for SF bug #503837 (Roeland Rengelink):
type.__module__ problems (again?)

This simply initializes the __module__ local in a class statement from
the __name__ global.  I'm not 100% sure that this is the correct fix,
although it usually does the right thing.  The problem is that if the
class statement executes in a custom namespace, the __name__ global
may be taken from __builtins__, in which case it would have the value
__builtin__, or it may not exist at all (if the custom namespace also
has a custom __builtins__), in which case the class statement will
fail.

Nevertheless, unless someone finds a better solution, this is a 2.2.1
bugfix too.

(apparently noone has :()

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:31:14 +0000 (15:31 +0000)] 
It's merge time!

Backport bwarsaw's checkin of revision 1.25:

test_multipart_one_part(): Idempotency test case for a multipart/*
with only one subpart.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:30:05 +0000 (15:30 +0000)] 
It's merge time!

Backport bwarsaw's checkin of revision 1.1:

Test case of a singleton multipart; i.e. a multipart/* with only one
subpart.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:27:20 +0000 (15:27 +0000)] 
It's merge time!

Backport bwarsaw's checkin of revision 1.6:

_parsebody(): When adding subparts to a multipart container, make sure
that the first subpart added makes the payload a list object.
Otherwise, a multipart/* with only one subpart will not have the
proper structure.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:14:57 +0000 (15:14 +0000)] 
It's merge time!

Backport loewis' checkin of revision 1.123:

Encode Unicode arguments to split/splitlist as UTF-8. Fixes #507962.
2.2.1 bugfix candidate.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:13:21 +0000 (15:13 +0000)] 
It's merge time!

Backport loewis' checkin of revision 2.7 (of dynload_hpux.c):

Test for error status of shl_findsym. Fixes #505417. 2.2.1 candiate.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:10:52 +0000 (15:10 +0000)] 
It's merge time!

Tim sez "Bugfix candidate:  the current state of AutoIdent.py
should be in 2.2.1."

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:07:45 +0000 (15:07 +0000)] 
It's merge time!

Backport loewis' checkin of revision 1.74:

Use BLDLIBRARY to build extension modules. Fixes #504252.
2.2.1 candidate.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:05:14 +0000 (15:05 +0000)] 
It's merge time!

Backport gvanrossum's checkin of revision 1.9:

There's no need for typechecks on the second and third argument of
new.instancemethod() -- the instancemethod object is now a perfectly
general container.

This fixes SF bug ##503091 (Pedro Rodriquez): new.instancemethod fails
for new classes

This is a 2.2.1 candidate.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:03:36 +0000 (15:03 +0000)] 
It's merge time!

Backport gvanrossum's checkin of revision 2.38:

There's no need for typechecks on the second and third argument of
new.instancemethod() -- the instancemethod object is now a perfectly
general container.

This fixes SF bug ##503091 (Pedro Rodriquez): new.instancemethod fails
for new classes

This is a 2.2.1 candidate.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:01:42 +0000 (15:01 +0000)] 
It's merge time!

Backport lemburg's checkin of revision 1.11:

Restore Python 2.1 StringIO.py behaviour: support concatenating
Unicode string snippets to larger Unicode strings.

This fix should also go into Python 2.2.1.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 15:00:27 +0000 (15:00 +0000)] 
It's merge time!

Backport lemburg's checkin of revision 1.20:

Restore Python 2.1 StringIO.py behaviour: support concatenating
Unicode string snippets to larger Unicode strings.

This fix should also go into Python 2.2.1.

23 years agoIt's merge time!
Michael W. Hudson [Mon, 28 Jan 2002 14:58:24 +0000 (14:58 +0000)] 
It's merge time!

Backport gvanrossum's checkin:

Checked in Sean Reifschneider's RPM spec file and patches.  Bugfix candidate.

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Mon, 28 Jan 2002 14:58:24 +0000 (14:58 +0000)] 
This commit was manufactured by cvs2svn to create branch
'release22-maint'.

23 years agoAdd keyword.kwlist to the public API.
Fred Drake [Thu, 24 Jan 2002 16:39:43 +0000 (16:39 +0000)] 
Add keyword.kwlist to the public API.

23 years agolibkeyword.tex was missing from the list of dependencies for the
Fred Drake [Thu, 24 Jan 2002 16:39:26 +0000 (16:39 +0000)] 
libkeyword.tex was missing from the list of dependencies for the
Library Reference.

23 years agoFix for
Michael W. Hudson [Wed, 23 Jan 2002 15:53:08 +0000 (15:53 +0000)] 
Fix for

[ #496154 ] Typos in dynload_beos.c

and on the branch.

23 years agoFix typo reported by François Pinard.
Fred Drake [Mon, 21 Jan 2002 16:09:42 +0000 (16:09 +0000)] 
Fix typo reported by François Pinard.

23 years agoUpdated GNU info dir segment from Milan Zamazal.
Fred Drake [Thu, 17 Jan 2002 21:26:44 +0000 (21:26 +0000)] 
Updated GNU info dir segment from Milan Zamazal.

23 years agoUpdate email address.
Fred Drake [Thu, 17 Jan 2002 21:06:19 +0000 (21:06 +0000)] 
Update email address.

23 years agoFix Michael Hudson's email address.
Fred Drake [Thu, 17 Jan 2002 06:18:17 +0000 (06:18 +0000)] 
Fix Michael Hudson's email address.

23 years agoMerge in Thomas Heller's typo fix from revision 1.13.
Fred Drake [Tue, 15 Jan 2002 04:48:59 +0000 (04:48 +0000)] 
Merge in Thomas Heller's typo fix from revision 1.13.

23 years agoInclude <unistd.h> in Python.h. Fixes #500924.
Martin v. Löwis [Sat, 12 Jan 2002 11:13:24 +0000 (11:13 +0000)] 
Include <unistd.h> in Python.h. Fixes #500924.

23 years agoAdd fallback argument to translation(). Set fallback to 1 for install().
Martin v. Löwis [Fri, 11 Jan 2002 06:37:07 +0000 (06:37 +0000)] 
Add fallback argument to translation(). Set fallback to 1 for install().
Fixes #500595.

23 years agoAdded item about the webbrowser security fix.
Fred Drake [Thu, 10 Jan 2002 13:51:05 +0000 (13:51 +0000)] 
Added item about the webbrowser security fix.

23 years agoFix webbrowser.py security bug: be more careful about what we pass to
Fred Drake [Mon, 7 Jan 2002 15:29:33 +0000 (15:29 +0000)] 
Fix webbrowser.py security bug: be more careful about what we pass to
os.system().
This closes Python bug #500401, Debian bug #127507.

23 years agoInitialize err_ret with filename if available. Fixes #498828.
Martin v. Löwis [Sat, 5 Jan 2002 21:41:01 +0000 (21:41 +0000)] 
Initialize err_ret with filename if available. Fixes #498828.

23 years agoTime2Internaldate(): Call isinstance() once for each of the type tests
Fred Drake [Sat, 5 Jan 2002 17:22:20 +0000 (17:22 +0000)] 
Time2Internaldate():  Call isinstance() once for each of the type tests
instead of possibly twice by using a sequence of types to check for.
Add a message to the ValueError that can be raised.

23 years agoCheck for time.struct_time in addition to tuples. Use 3 characters
Martin v. Löwis [Sat, 5 Jan 2002 11:33:55 +0000 (11:33 +0000)] 
Check for time.struct_time in addition to tuples. Use 3 characters
for zone hours. Fixes #499169.

23 years agoImplement PyObject_DelItemString. Fixes #498915.
Martin v. Löwis [Sat, 5 Jan 2002 10:52:38 +0000 (10:52 +0000)] 
Implement PyObject_DelItemString. Fixes #498915.

23 years agoDo not mask the name of a built-in function in example code.
Fred Drake [Sat, 5 Jan 2002 04:04:36 +0000 (04:04 +0000)] 
Do not mask the name of a built-in function in example code.
Based on comment sent to python-docs.

23 years agoFix indentation error in example from the Tkinter Life Preserver.
Fred Drake [Sat, 5 Jan 2002 03:57:19 +0000 (03:57 +0000)] 
Fix indentation error in example from the Tkinter Life Preserver.
This closes SF bug #499505.

23 years agoFix minor typo reported in SF patch #497951.
Fred Drake [Sat, 5 Jan 2002 01:52:23 +0000 (01:52 +0000)] 
Fix minor typo reported in SF patch #497951.

23 years agoBackport gvanrossum's checkin of revision 1.20:
Michael W. Hudson [Fri, 4 Jan 2002 12:29:45 +0000 (12:29 +0000)] 
Backport gvanrossum's checkin of revision 1.20:

Thread.__bootstrap(): ignore exceptions in the self.__delete() call in
the finally clause.  An exception here could happen when a daemon
thread exits after the threading module has already been trashed by
the import finalization, and there's not much of a point in trying to
insist doing the cleanup in that stage.

This should fix SF bug ##497111: active_limbo_lock error at program
exit.

2.1.2 and 2.2.1 Bugfix candidate!

(has this gone into 2.1.2 yet?)

23 years agoBackport gvanrossum's checkin of revisions
Michael W. Hudson [Fri, 4 Jan 2002 12:28:43 +0000 (12:28 +0000)] 
Backport gvanrossum's  checkin of revisions
  copy.py, 1.23 & test_descr.py, 1.114:

Fix for SF bug ##497426: can't deepcopy recursive new objects

deepcopy(), _reconstruct(): pass the memo to the other function, so
that recursive data structures built out of new-style objects may be
deeply copied correctly.

2.2.1 bugfix!

23 years agoAdd fcntl.h constants from glibc 2.2.4. Fixes #496171.
Martin v. Löwis [Fri, 28 Dec 2001 21:09:23 +0000 (21:09 +0000)] 
Add fcntl.h constants from glibc 2.2.4. Fixes #496171.

23 years agoBackport gvanrossum's checkin of version 1.10:
Michael W. Hudson [Fri, 28 Dec 2001 15:48:09 +0000 (15:48 +0000)] 
Backport gvanrossum's checkin of version 1.10:

_reduce(): Avoid infinite recursion in the pickler when self.__class__
doesn't have the _HEAPTYPE flag set, e.g. for time.struct_time and
posix.stat_result.

This fixes the immediate symptoms of SF bug #496873 (cPickle /
time.struct_time loop), replacing the infinite loop with an exception.

23 years agoRemove extend directory and tidy up README as gvanrossum did on the trunk.
Michael W. Hudson [Fri, 28 Dec 2001 10:29:23 +0000 (10:29 +0000)] 
Remove extend directory and tidy up README as gvanrossum did on the trunk.

I'm feeling thorough today :)

23 years agoBackport gvanrossum's checkin of version 2.217:
Michael W. Hudson [Fri, 28 Dec 2001 10:24:44 +0000 (10:24 +0000)] 
Backport gvanrossum's checkin of version 2.217:

Due to a cut-and-paste error, the type object exported under the name
statvfs_result was in fact the stat_result type object. :-(

2.2.1 bugfix!

23 years agoBackport tim_one's checkin of version 2.302:
Michael W. Hudson [Fri, 28 Dec 2001 10:22:15 +0000 (10:22 +0000)] 
Backport tim_one's checkin of version 2.302:

SF bug #496549 -Qnew and in-place division "/=".

eval_frame():  Under -Qnew, INPLACE_DIVIDE wasn't getting handed off to
INPLACE_TRUE_DIVIDE (like BINARY_DIVIDE was getting handed off to
BINARY_TRUE_DIVIDE).

Bugfix candidate.

23 years agoBackport of akuchling's checkin of 1.10:
Michael W. Hudson [Fri, 28 Dec 2001 10:20:06 +0000 (10:20 +0000)] 
Backport of akuchling's checkin of 1.10:

Suggested by Pete Shinners: treat .m and .mm files as source code.

Question for Jack Jansen: is this reasonable?

Candidate for 2.2 release branch (if Jack thinks it's OK).

Not sure how this wasn't on the branch already, seeing as I thought it
went into 2.2.

23 years agoBackport loewis' checkin of version 1.2:
Michael W. Hudson [Fri, 28 Dec 2001 10:17:07 +0000 (10:17 +0000)] 
Backport loewis' checkin of version 1.2:

Regenerated for Linux 2.2.4.

This wasn't flagged as a bugfix candidate, but I think it probably was.
Howl if you disagree.

23 years agoBackport loewis' checkin of version 1.201:
Michael W. Hudson [Fri, 28 Dec 2001 10:12:44 +0000 (10:12 +0000)] 
Backport loewis' checkin of version 1.201:

Add TCP socket options from glibc 2.2.4. Fixes #495680.
2.2.1 bugfix candidate.

23 years agoBackport Guido's checkin of version 1.61:
Michael W. Hudson [Fri, 28 Dec 2001 10:11:32 +0000 (10:11 +0000)] 
Backport Guido's checkin of version 1.61:

Don't set passiveserver to 0 in connect().  See SF bug #495693.

This should definitely be backported to 2.2.1.  I'll leave it to Jack
to decide whether he wants to fix this in MacPython 2.2.

23 years agoAdd note that fromfd() is Unix-specific.
Fred Drake [Fri, 28 Dec 2001 04:42:10 +0000 (04:42 +0000)] 
Add note that fromfd() is Unix-specific.
This fixes SF bug #495896.
Fix up various markup consistency & style guide conformance nits.

23 years agoAdded index entries similar to some recommended by Skip, and used the word
Fred Drake [Fri, 28 Dec 2001 04:37:37 +0000 (04:37 +0000)] 
Added index entries similar to some recommended by Skip, and used the word
"interpolation" in the text, to make the string formatting material easier to
find.
This closes SF bug #487165.

23 years agoMake this do the right thing with entries which start with the percent sign,
Fred Drake [Fri, 28 Dec 2001 04:36:14 +0000 (04:36 +0000)] 
Make this do the right thing with entries which start with the percent sign,
in response to Skip's comments in SF bug #487165.

Make use of string methods instead of string module functions in most places.
Add (and make the default) a way to collapse symbol entries into a single
"Symbols" section in the generated index.  This is similar to what makeindex
does, but does not include entries beginning with an underscore.

23 years agoAdded some missing index entries, noted by L. Peter Deutsch.
Fred Drake [Fri, 28 Dec 2001 04:35:43 +0000 (04:35 +0000)] 
Added some missing index entries, noted by L. Peter Deutsch.

23 years agoFixed up some index entries.
Fred Drake [Fri, 28 Dec 2001 04:35:10 +0000 (04:35 +0000)] 
Fixed up some index entries.

23 years agoElaborate the descriptions for onecmd(), precmd(), and postcmd() so they are
Fred Drake [Fri, 28 Dec 2001 04:33:03 +0000 (04:33 +0000)] 
Elaborate the descriptions for onecmd(), precmd(), and postcmd() so they are
useful.

23 years agoFix wrongly-named formal parameters in three places: begin_y was used twice
Fred Drake [Fri, 28 Dec 2001 04:31:36 +0000 (04:31 +0000)] 
Fix wrongly-named formal parameters in three places: begin_y was used twice
instead of begin_y and begin_x for derwin(), subpad(), and subwin().
Reported for derwin() by Eric Huss.

Added class annotations for the window methods so they would be properly
described in the index.

23 years agoClose an improperly-closed verbatim environment.
Fred Drake [Fri, 28 Dec 2001 04:30:38 +0000 (04:30 +0000)] 
Close an improperly-closed verbatim environment.
This closes SF patch #496215.

Add a little more detail to the example that had not been closed.

23 years agoMerge names added on the trunk (contributions are being merged as well).
Fred Drake [Fri, 28 Dec 2001 04:29:22 +0000 (04:29 +0000)] 
Merge names added on the trunk (contributions are being merged as well).

23 years agoBump version info for maintenance branch.
Fred Drake [Fri, 28 Dec 2001 04:27:46 +0000 (04:27 +0000)] 
Bump version info for maintenance branch.

23 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Fri, 28 Dec 2001 04:27:46 +0000 (04:27 +0000)] 
This commit was manufactured by cvs2svn to create branch
'release22-maint'.

23 years ago1.00 at last!
Andrew M. Kuchling [Fri, 21 Dec 2001 04:39:11 +0000 (04:39 +0000)] 
1.00 at last!
Describe super() very briefly
A few minor reformattings and wording changes
Set the release date (presumably tomorrow...)

23 years agoAdd a reference to the signal module to the os.kill() description.
Fred Drake [Fri, 21 Dec 2001 03:58:47 +0000 (03:58 +0000)] 
Add a reference to the signal module to the os.kill() description.
This closes SF bug #495609.

23 years agoFix typo in httplib example.
Fred Drake [Fri, 21 Dec 2001 03:52:04 +0000 (03:52 +0000)] 
Fix typo in httplib example.
This fixes SF bug #495221.

23 years agoFix up some examples in the tutorial so we don't contradict our own
Fred Drake [Thu, 20 Dec 2001 23:54:56 +0000 (23:54 +0000)] 
Fix up some examples in the tutorial so we don't contradict our own
advice on docstrings.
This fixes SF bug #495601.

23 years agoApplying r22c1 branch mods back to the trunk.
Jack Jansen [Thu, 20 Dec 2001 20:41:45 +0000 (20:41 +0000)] 
Applying r22c1 branch mods back to the trunk.

23 years agoFix the availability statement for the spawn*() functions to reflect the
Fred Drake [Thu, 20 Dec 2001 17:24:11 +0000 (17:24 +0000)] 
Fix the availability statement for the spawn*() functions to reflect the
actual availability on Windows.
This fixes SF bug #495191.

23 years agoRe-commit Ping's patch to the cgi and cgitb documentation, using the
Fred Drake [Thu, 20 Dec 2001 17:13:09 +0000 (17:13 +0000)] 
Re-commit Ping's patch to the cgi and cgitb documentation, using the
right version this time.  Thanks, Ping!
(This was from SF patch #494582, "\index -> \indexii" version.)

23 years agotest_parseaddr_empty(): New test for assuring that
Barry Warsaw [Thu, 20 Dec 2001 16:37:27 +0000 (16:37 +0000)] 
test_parseaddr_empty(): New test for assuring that
Utils.parseaddr('<>') -- i.e. on an empty address, returns the empty
string.  Built on rfc822, this used to return None.

23 years agoUpdate the documentation links
Andrew M. Kuchling [Thu, 20 Dec 2001 16:33:45 +0000 (16:33 +0000)] 
Update the documentation links
Remove reference to this being a draft

23 years agoUse the final patch/bug numbers
Andrew M. Kuchling [Thu, 20 Dec 2001 16:04:24 +0000 (16:04 +0000)] 
Use the final patch/bug numbers

23 years agoZZZ.
Guido van Rossum [Thu, 20 Dec 2001 15:56:23 +0000 (15:56 +0000)] 
ZZZ.

23 years agoSF patch #495358 (Artur Zaprzala): rfc822.AddressList and "<>" address
Guido van Rossum [Thu, 20 Dec 2001 15:54:48 +0000 (15:54 +0000)] 
SF patch #495358 (Artur Zaprzala): rfc822.AddressList and "<>" address

    rfc822.AddressList incorrectly handles empty address.
    "<>" is converted to None and should be "".
    AddressList.__str__() fails on None.
    I got an email with such an address and my program
    failed processing it.

    Example:
    >>> import rfc822

    >>> rfc822.AddressList("<>").addresslist
    [('', None)]
    >>> str(rfc822.AddressList("<>"))
    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    File "/usr/lib/python2.1/rfc822.py", line 753, in __str__
    return ", ".join(map(dump_address_pair,
    self.addresslist))
    TypeError: sequence item 0: expected string, None found

[His solution: in the internal routine AddrlistClass.getrouteaddr(),
initialize adlist to "".]

23 years agoAnother contributor.
Guido van Rossum [Thu, 20 Dec 2001 13:19:36 +0000 (13:19 +0000)] 
Another contributor.

23 years agoWhitespace normalization.
Tim Peters [Thu, 20 Dec 2001 06:18:15 +0000 (06:18 +0000)] 
Whitespace normalization.

23 years agoApparently it's Cygwin with a capital C.
Michael W. Hudson [Wed, 19 Dec 2001 22:09:09 +0000 (22:09 +0000)] 
Apparently it's Cygwin with a capital C.

23 years agopartial merge with current pythonware codebase:
Fredrik Lundh [Wed, 19 Dec 2001 21:40:04 +0000 (21:40 +0000)] 
partial merge with current pythonware codebase:
- use repr instead of implied str for doubles
- updated version number to 1.0.0 (for 2.2 final)

23 years agoFix a typo
Neal Norwitz [Wed, 19 Dec 2001 20:44:13 +0000 (20:44 +0000)] 
Fix a typo

23 years agoMore cygwin news. This section is getting a bit long. Oh well.
Michael W. Hudson [Wed, 19 Dec 2001 19:49:58 +0000 (19:49 +0000)] 
More cygwin news.  This section is getting a bit long.  Oh well.