]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
23 years agoBackport of 1.18 through 1.21:
Jack Jansen [Sun, 24 Feb 2002 23:23:52 +0000 (23:23 +0000)] 
Backport of 1.18 through 1.21:
- Get rid of keyword list and use keyword.iskeyword() function (which I wasn't aware of previously).
- Identify() enum values. This was changed in 1.14, but I don't think it is a good idea.

23 years agoBackport of 1.15 and 1.16:
Jack Jansen [Sun, 24 Feb 2002 23:21:35 +0000 (23:21 +0000)] 
Backport of 1.15 and 1.16:
- Added minimal support for floating windows.
- Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
MachoPython. Mainly making sure we don't call routines that don't exist
and representing pathnames in a os.separator-neutral format.

These shouldn't interfere too much with Just's work on the next generation IDE,
I hope.

23 years agoBackport of 1.15 and 1.16:
Jack Jansen [Sun, 24 Feb 2002 23:19:07 +0000 (23:19 +0000)] 
Backport of 1.15 and 1.16:
- Don't append quit menu when on OSX, it is special and automatic there.
- Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
MachoPython. Mainly making sure we don't call routines that don't exist
and representing pathnames in a os.separator-neutral format.

These shouldn't interfere too much with Just's work on the next generation IDE,
I hope.

23 years agoBackport of 1.27 and 1.28:
Jack Jansen [Sun, 24 Feb 2002 23:17:23 +0000 (23:17 +0000)] 
Backport of 1.27 and 1.28:
- Added minimal support for floating windows.
- Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
MachoPython. Mainly making sure we don't call routines that don't exist
and representing pathnames in a os.separator-neutral format.

These shouldn't interfere too much with Just's work on the next generation IDE,
I hope.

23 years agoBackport of 1.9:
Jack Jansen [Sun, 24 Feb 2002 23:16:25 +0000 (23:16 +0000)] 
Backport of 1.9:
Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
MachoPython. Mainly making sure we don't call routines that don't exist
and representing pathnames in a os.separator-neutral format.

These shouldn't interfere too much with Just's work on the next generation IDE,
I hope.

23 years agoBackport of 1.9-1.11:
Jack Jansen [Sun, 24 Feb 2002 23:12:47 +0000 (23:12 +0000)] 
Backport of 1.9-1.11:
- Flush screen buffer upon console.flush() and output.flush().
This fixes bug #511992.
- Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
MachoPython. Mainly making sure we don't call routines that don't exist
and representing pathnames in a os.separator-neutral format.

These shouldn't interfere too much with Just's work on the next generation IDE,
I hope.
- Modified version of patch #496882: echo SimpleStdin readline()
input to stdout.

23 years agoBackport of 1.13:
Jack Jansen [Sun, 24 Feb 2002 23:11:34 +0000 (23:11 +0000)] 
Backport of 1.13:
half-hearted stab at supported the 2.2 object model better.

23 years agobackport of 1.3:
Jack Jansen [Sun, 24 Feb 2002 23:10:14 +0000 (23:10 +0000)] 
backport of 1.3:
made radio button labels readable under OSX

23 years agobackport of 1.4:
Jack Jansen [Sun, 24 Feb 2002 23:07:58 +0000 (23:07 +0000)] 
backport of 1.4:
Don't call PyMac_OutputSeen if we have a custom console. Fix by
Alexandre Parenteau.

23 years agobqackport of 1.73:
Jack Jansen [Sun, 24 Feb 2002 23:07:04 +0000 (23:07 +0000)] 
bqackport of 1.73:
In MachoPython, don't simulate argc/argv unless we have argc=1 and argv[1]
starts with "-psn_". This means the drag-and-drop continues to work as
expected, but we can now also do
/Applications/Python.app/Contents/MacOS/python script.py
from the command line, which is a lot easier with debugging. Pressing <option>
at this point also has the expected effect of opening the options dialog!

23 years agoBackport of 1.5 thru 1.8:
Jack Jansen [Sun, 24 Feb 2002 23:03:47 +0000 (23:03 +0000)] 
Backport of 1.5 thru 1.8:
- Use full paths for Rez and DeRez, which may not be on $PATH. Fixes bug
#509074.
- Also install the Tools directory on "make installmacsubtree".
- Added a note that you have to add Mac/Lib to sys.path after doing
a "make installmacsubtree".
- Include errors.rsrc in the Python.app resource file, so the error strings
are available in MacOS API exceptions.

23 years agoBackport of 1.9:
Jack Jansen [Sun, 24 Feb 2002 22:57:48 +0000 (22:57 +0000)] 
Backport of 1.9:
Ugh, by all means, _do_ report exceptions somehow ;-)

23 years agobackport of 1.52 and 1.53:
Jack Jansen [Sun, 24 Feb 2002 22:55:34 +0000 (22:55 +0000)] 
backport of 1.52 and 1.53:
- Added as_pathname() method to FSRef objects.
- In MachoPython expect Unix-style pathnames for both FSSpec and FSRef
initializers.

23 years agobackport of 1.13:
Jack Jansen [Sun, 24 Feb 2002 22:51:26 +0000 (22:51 +0000)] 
backport of 1.13:
Fixed to work under MachoPython, doing the expected unpacking for applesingle
files.

23 years agobackport of 1.13:
Jack Jansen [Sun, 24 Feb 2002 22:50:03 +0000 (22:50 +0000)] 
backport of 1.13:
Get rid of fsspec type initializer, it wasn't used anyway.

23 years agoBackport of 1.3:
Jack Jansen [Sun, 24 Feb 2002 22:48:51 +0000 (22:48 +0000)] 
Backport of 1.3:
Rename the routine to start the target running _start(), with a compatibility
routine start() calling it.

Some suites declare an event start(), which obscures this method, which
causes the class initializer to fail when called with start=1.

Based on bug report and fix suggestion by Jacob Kaplan-Moss.

23 years agoBackport of 1.3:
Jack Jansen [Sun, 24 Feb 2002 22:47:43 +0000 (22:47 +0000)] 
Backport of 1.3:
Added support for unicode strings (utxt).

23 years agoBackport of 1.47, 1.48 and 1.49:
Jack Jansen [Sun, 24 Feb 2002 22:46:28 +0000 (22:46 +0000)] 
Backport of 1.47, 1.48 and 1.49:
- Added minimal support for floating windows.
- Changes by Donovan Preston (and a few minor ones by me) to make IDE run under
MachoPython. Mainly making sure we don't call routines that don't exist.
- Don't barf when an AppleEvent was not handled. It's ok to ignore.

23 years agoBackport of 1.9 and 1.10:
Jack Jansen [Sun, 24 Feb 2002 22:44:00 +0000 (22:44 +0000)] 
Backport of 1.9 and 1.10:
Rewritten, clarified, corrected and cleaned up by Michael J. Barber.
Some modifications and clarifications (by me) to Michael's mods.

23 years agoBackport jackjansen's checkin of revision 2.37:
Michael W. Hudson [Sat, 23 Feb 2002 08:43:03 +0000 (08:43 +0000)] 
Backport jackjansen's checkin of revision 2.37:

Workaround for what is probably a problem in Apple's gcc: <pthread.h> fails
on a function pointer formal argument called "destructor", which is typedeffed
as a different function pointer type in object.h.

23 years agobackport tim_one's checkin of
Michael W. Hudson [Sat, 23 Feb 2002 08:31:37 +0000 (08:31 +0000)] 
backport tim_one's checkin of
    revision 1.101 of libfuncs.tex

SF bug #501591:  dir() doc is old
Bugfix candidate.

+ Updated dir() description to match actual 2.2 behavior.

+ Replaced the dir(sys) example with dir(struct), because the former
  was way out of date and is bound to change frequently, while the
  latter is stable.

+ Added a note cautioning that dir() is supplied primarily for
  convenience at an interactive prompt (hoping to discourage its
  use as the foundation of introspective code outside the core).

23 years agoMerge trunk.
Greg Ward [Fri, 22 Feb 2002 21:26:49 +0000 (21:26 +0000)] 
Merge trunk.

23 years agoTypo: thsi -> this. Closes SF bug #521450.
Fred Drake [Fri, 22 Feb 2002 15:40:45 +0000 (15:40 +0000)] 
Typo: thsi -> this.  Closes SF bug #521450.

23 years agoBackport theller's check-in of revision 1.45:
Michael W. Hudson [Fri, 22 Feb 2002 13:55:28 +0000 (13:55 +0000)] 
Backport theller's check-in of revision 1.45:

Make it 1.5.2 compatible again.

(I'm not sure how having symlinks around the repository interacts with
branches -- I'm going to tread carefully in here)

23 years agobackport guido's checkin of revision 1.139:
Michael W. Hudson [Fri, 22 Feb 2002 13:50:51 +0000 (13:50 +0000)] 
backport guido's checkin of revision 1.139:

Updates related to Modules/Setup and setup.py.  This addresses SF bug
#512871 (Jon Ribbens): Installation instructions are wrong.

Bugfix candidate.

23 years agoFix the problem reported in
Michael W. Hudson [Fri, 22 Feb 2002 13:44:43 +0000 (13:44 +0000)] 
Fix the problem reported in

[ #495401 ] Build troubles: --with-pymalloc

in a slightly different manner to the trunk, as discussed on python-dev.

23 years agobackport loewis' checkin of
Michael W. Hudson [Fri, 22 Feb 2002 13:31:18 +0000 (13:31 +0000)] 
backport loewis' checkin of
    revision 2.127 of typeobject.c

Allow __doc__ to be of arbitrary type. Patch by James Henstridge,
fixes #504343. 2.2.1 candidate.

23 years agobackport tim_one's checkin of
Michael W. Hudson [Fri, 22 Feb 2002 13:30:17 +0000 (13:30 +0000)] 
backport tim_one's checkin of
    revision 1.3 of reindent.py

SF bug #497839:  reindent chokes on empty first lines.
Reindenter.run():  copy over initial all-whitespace lines (if any, and
after normalizing to remove trailing blanks and tabs).
Bugfix candidate.

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.