Commit Graph

21229 Commits

Author SHA1 Message Date
Michael W. Hudson
dcaab1fb1b 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)
2002-02-22 13:55:28 +00:00
Michael W. Hudson
45c44fbd0d 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.
2002-02-22 13:50:51 +00:00
Michael W. Hudson
6c7078b582 Fix the problem reported in
[ #495401 ] Build troubles: --with-pymalloc

in a slightly different manner to the trunk, as discussed on python-dev.
2002-02-22 13:44:43 +00:00
Michael W. Hudson
62f0734077 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.
2002-02-22 13:31:18 +00:00
Michael W. Hudson
a9793cb94a 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.
2002-02-22 13:30:17 +00:00
Michael W. Hudson
bccffe226a 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.
2002-02-22 13:29:32 +00:00
Michael W. Hudson
c22d45922f 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.
2002-02-22 13:26:54 +00:00
Michael W. Hudson
03474c5c5d 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!
2002-02-22 13:23:33 +00:00
Michael W. Hudson
35bbe56667 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.
2002-02-22 13:22:55 +00:00
Michael W. Hudson
fffbde7480 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.
2002-02-22 13:22:31 +00:00
Michael W. Hudson
94e5000367 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...
2002-02-22 13:19:54 +00:00
Fred Drake
2d677d29e2 Correct the refcount information for the PyWeakref_GetObject() function.
This closes SF bug #520087.
2002-02-20 05:08:02 +00:00
Michael W. Hudson
c42fc65a63 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.
2002-02-19 14:17:02 +00:00
Michael W. Hudson
82d3c7da8b 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
2002-02-19 14:15:40 +00:00
Neal Norwitz
0970905f99 SF #515023. Make _DummyThread.join() signature match base class (Thread) 2002-02-19 03:02:33 +00:00
Neal Norwitz
87ed3feae6 SF #515041, Update path for 2.2 2002-02-19 02:57:05 +00:00
Martin v. Löwis
8096219e75 Patch #508038: Do not use a type as a variable name. 2002-02-16 23:41:39 +00:00
Martin v. Löwis
f0c3827c50 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.
2002-02-16 23:08:25 +00:00
Fred Drake
3b841e9b4b Add an availability statement for alarm(). 2002-02-15 21:00:17 +00:00
Fred Drake
c57a51c66c Added deprecatioon information for mac.xstat().
This closes SF bug #505150.
2002-02-15 14:40:52 +00:00
Fred Drake
a0c1ac40c4 The "%" character does not need to be escaped in verbatim environments.
This closes SF bug #517811.
2002-02-15 04:21:45 +00:00
Fred Drake
129c59261c Consistently use \textasciicircum to produce a ^ character.
LaTeX really falls flat on this one!
2002-02-14 15:22:04 +00:00
Fred Drake
8ce1cd34ef Added regression test for start()/stop() returning bogus NULL. 2002-02-08 21:31:47 +00:00
Fred Drake
68726f5384 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.
2002-02-08 21:31:23 +00:00
Fred Drake
f217829fd4 Python 10 was a success, commemorate it\!
This includes Guido's whitespace cleanup.
2002-02-08 20:47:47 +00:00