]> granicus.if.org Git - python/log
python
22 years agoeasy --disable-unicode proofing.
Michael W. Hudson [Mon, 20 May 2002 14:15:42 +0000 (14:15 +0000)]
easy --disable-unicode proofing.

22 years agoFix for
Michael W. Hudson [Mon, 20 May 2002 13:56:11 +0000 (13:56 +0000)]
Fix for

[ 558249 ] softspace vs --disable-unicode

And #endif was in the wrong place.

Bugfix candidate, almost surely.

I think I will embark on squashing test failures in --disable-unicode builds --
a Real Bug was hiding under them.

22 years agoAdd a bit of news about the email package fixes.
Barry Warsaw [Mon, 20 May 2002 00:14:24 +0000 (00:14 +0000)]
Add a bit of news about the email package fixes.

22 years agoA test message w/ CRLF line endings
Barry Warsaw [Sun, 19 May 2002 23:53:38 +0000 (23:53 +0000)]
A test message w/ CRLF line endings

22 years agoAdd two new tests of recent email package fixes: CRLF line endings,
Barry Warsaw [Sun, 19 May 2002 23:52:54 +0000 (23:52 +0000)]
Add two new tests of recent email package fixes: CRLF line endings,
and explicit maxlinelen arguments to the Header constructor.

22 years agoI've thought about it some more, and I believe it is proper for the
Barry Warsaw [Sun, 19 May 2002 23:51:50 +0000 (23:51 +0000)]
I've thought about it some more, and I believe it is proper for the
email package's Parser to handle the three common line endings.
Certain protocols such as IMAP define CRLF line endings and it doesn't
make sense for the client app to have to normalize the line endings
before handing it message off to the Parser.

_parsebody(): Be more flexible in the matching of line endings for
finding the MIME separators.  Accept any of \r, \n and \r\n.  Note
that we do /not/ change the line endings in the payloads, we just
accept any of those three around MIME boundaries.

22 years agoFixed a bug in the splitting of lines, and improved the splitting for
Barry Warsaw [Sun, 19 May 2002 23:47:53 +0000 (23:47 +0000)]
Fixed a bug in the splitting of lines, and improved the splitting for
single byte character sets.  Also fixed a semantic problem with the
constructor's default arguments.  Specifically,

__init__(): Change the maxlinelen argument default to None instead of
MAXLINELEN.  The semantics should have been (and now are) that if
maxlinelen is given it is always honored.  If it isn't given, but
header_name is given, then the maximum line length is calculated.  If
neither are given then the default 76 characters is used.

_split(): If the character set is a single byte character set then we
can split the line at the maxlinelen because we know that encoding the
header won't increase its length.  If the charset isn't a single byte
charset then we use the quicker divide-and-conquer line splitting
algorithm as before.

22 years agoComplete a merge of the mimelib project and the Python cvs codebases
Barry Warsaw [Sun, 19 May 2002 23:44:19 +0000 (23:44 +0000)]
Complete a merge of the mimelib project and the Python cvs codebases
for the email package.  The former is now just a shell project that
has some extra files for packaging for independent use (e.g. setup.py
and README).

Added a compatibility layer so that the same API can be used in Python
2.1 and 2.2/2.3 with the major differences shuffled off into helper
modules (_compat21.py and _compat22.py).

Also bumped the package version number to 2.0.3 for some fixes to be
checked in momentarily.

22 years agoAdded Mitchell Surface's regression tests for base64. Closes patch #550002.
Raymond Hettinger [Sat, 18 May 2002 00:25:10 +0000 (00:25 +0000)]
Added Mitchell Surface's regression tests for base64.  Closes patch #550002.

22 years agoTypo.
Guido van Rossum [Thu, 16 May 2002 14:45:37 +0000 (14:45 +0000)]
Typo.

22 years agoFix broken reference, minor clarification.
Fred Drake [Thu, 16 May 2002 13:48:14 +0000 (13:48 +0000)]
Fix broken reference, minor clarification.

22 years agoTypo: build -> built
Fred Drake [Thu, 16 May 2002 13:48:01 +0000 (13:48 +0000)]
Typo: build -> built

22 years agoAdded (with GvR's endorsement) Matthew Dixon Cowles
Raymond Hettinger [Thu, 16 May 2002 13:42:48 +0000 (13:42 +0000)]
Added (with GvR's endorsement) Matthew Dixon Cowles
for his service on the Python-Help maillist.

22 years agoPatch 547037. Corrected documentation to match
Raymond Hettinger [Thu, 16 May 2002 04:28:44 +0000 (04:28 +0000)]
Patch 547037.  Corrected documentation to match
actual module behavior for adding newlines.

22 years agoBack out #555929
Martin v. Löwis [Wed, 15 May 2002 18:24:06 +0000 (18:24 +0000)]
Back out #555929

22 years agoAdded missing index entries for mapping methods. Closes patch #548693.
Raymond Hettinger [Wed, 15 May 2002 15:45:25 +0000 (15:45 +0000)]
Added missing index entries for mapping methods.  Closes patch #548693.

22 years agoThis is patch
Michael W. Hudson [Wed, 15 May 2002 13:04:53 +0000 (13:04 +0000)]
This is patch

[ 555382 ] test_array v.s. --disable-unicode

+ MvL's suggestions.  Just the 32 failing tests in --disable-unicode builds
now...

22 years agoPatch #555929: Cygwin AH_BOTTOM cleanup patch
Jason Tishler [Wed, 15 May 2002 11:51:33 +0000 (11:51 +0000)]
Patch #555929: Cygwin AH_BOTTOM cleanup patch

This patch complies with the following request found
near the top of configure.in:

# This is for stuff that absolutely must end up in pyconfig.h.
# Please use pyport.h instead, if possible.

I tested this patch under Cygwin, Win32, and Red
Hat Linux. Python built and ran successfully on
each of these platforms.

22 years agoPatch #553678: Cygwin Makefile.pre.in vestige patch
Jason Tishler [Wed, 15 May 2002 11:32:35 +0000 (11:32 +0000)]
Patch #553678: Cygwin Makefile.pre.in vestige patch

This patch removes a vestige part of the Cygwin make rules
that didn't quite make it over during the flattening of the
Makefiles. In its current form, it creates a def file but
incorrectly calls it libpython$(VERSION).dll.a which
immediately gets overwritten by the next command.
Obviously, this is useless. It appears, it was useless
in the old nested Makefile structure too. :,)

22 years agoAdded docstrings excerpted from Python Library Reference.
Raymond Hettinger [Wed, 15 May 2002 02:56:03 +0000 (02:56 +0000)]
Added docstrings excerpted from Python Library Reference.
Closes patch 556161.

22 years agoFixed bug: Split RPC message into two parts instead of three
Chui Tey [Tue, 14 May 2002 23:45:14 +0000 (23:45 +0000)]
Fixed bug: Split RPC message into two parts instead of three

22 years agoMinor wording changes, plus correct a typo.
Fred Drake [Tue, 14 May 2002 22:02:07 +0000 (22:02 +0000)]
Minor wording changes, plus correct a typo.

22 years agoSimplify code to remove an unnecessary test.
Fred Drake [Tue, 14 May 2002 15:50:11 +0000 (15:50 +0000)]
Simplify code to remove an unnecessary test.

22 years agoUse spaces, not tabs for indents.
Guido van Rossum [Tue, 14 May 2002 14:08:12 +0000 (14:08 +0000)]
Use spaces, not tabs for indents.

Raymond Hettinger, beware!  This caused the Unix install to fail!

22 years agoAdded tests for new degree/radian conversions.
Raymond Hettinger [Tue, 14 May 2002 08:51:33 +0000 (08:51 +0000)]
Added tests for new degree/radian conversions.

22 years agoCloses patch 529408 deprecating random.stdgamma().
Raymond Hettinger [Tue, 14 May 2002 06:40:34 +0000 (06:40 +0000)]
Closes patch 529408 deprecating random.stdgamma().

22 years agosmtp_RCPT(): Removed a somewhat embarrassing debugging line, found by
Barry Warsaw [Tue, 14 May 2002 02:13:30 +0000 (02:13 +0000)]
smtp_RCPT(): Removed a somewhat embarrassing debugging line, found by
Scot Stevenson.  Could be a bug fix candidate, but probably doesn't
matter much unless a certain blue-nosed cat suddenly becomes corporeal
and starts emailing some stmp.py (sic) fronted mailer.

22 years agoCloses SF bug 527139. Brings docs inline with random.py 1.29
Raymond Hettinger [Mon, 13 May 2002 23:49:13 +0000 (23:49 +0000)]
Closes SF bug 527139.  Brings docs inline with random.py 1.29
which fixes the unnecessarily restricted method domain.

22 years agoCloses SF bug 527139. Moved temp variables inside guard.
Raymond Hettinger [Mon, 13 May 2002 23:40:14 +0000 (23:40 +0000)]
Closes SF bug 527139.  Moved temp variables inside guard.

22 years agoCorrect gammavariate's method name and domain.
Raymond Hettinger [Mon, 13 May 2002 22:40:38 +0000 (22:40 +0000)]
Correct gammavariate's method name and domain.
Partial solution to SF bug 527139.

22 years agoAdded typechecking to the individual python->CF converters, so we can use them in...
Jack Jansen [Mon, 13 May 2002 21:23:10 +0000 (21:23 +0000)]
Added typechecking to the individual python->CF converters, so we can use them in the CF object initializers safely.

22 years agoAdded CFPreferences support. Added these as functions, not methods, which seemed...
Jack Jansen [Mon, 13 May 2002 21:21:49 +0000 (21:21 +0000)]
Added CFPreferences support. Added these as functions, not methods, which seemed counter-intuitive.

22 years agoJim Fulton reported a segfault in dir(). A heavily proxied object
Guido van Rossum [Mon, 13 May 2002 18:29:46 +0000 (18:29 +0000)]
Jim Fulton reported a segfault in dir().  A heavily proxied object
returned a proxy for __class__ whose __bases__ was also a proxy.  The
merge_class_dict() helper for dir() assumed incorrectly that __bases__
would always be a tuple and used the in-line tuple API on the proxy.

I will backport this to 2.2 as well.

22 years agoSF 554663. Add OpenBSD3. Bugfix candidate if anyone cares.
Guido van Rossum [Mon, 13 May 2002 14:58:02 +0000 (14:58 +0000)]
SF 554663.  Add OpenBSD3.  Bugfix candidate if anyone cares.

22 years agoSF 554073. Fix typo in error reporting of unrecognized character
Guido van Rossum [Mon, 13 May 2002 14:55:33 +0000 (14:55 +0000)]
SF 554073.  Fix typo in error reporting of unrecognized character
following IAC.  Bugfix candidate if anyone cares.

22 years agoarray_tounicode isn't defined in --disable-unicode builds...
Michael W. Hudson [Mon, 13 May 2002 10:14:59 +0000 (10:14 +0000)]
array_tounicode isn't defined in --disable-unicode builds...

I have a patch to make the test work too, but it's not pretty so
I'll submit it to sf.

22 years agoMake StringIO work in --disable-unicode builds...
Michael W. Hudson [Mon, 13 May 2002 09:42:16 +0000 (09:42 +0000)]
Make StringIO work in --disable-unicode builds...

22 years agoAdd #ifdef PY_USING_UNICODE sections, so that
Walter Dörwald [Mon, 13 May 2002 09:00:41 +0000 (09:00 +0000)]
Add #ifdef PY_USING_UNICODE sections, so that
stringobject.c compiles again with --disable-unicode.

Fixes SF bug http://www.python.org/sf/554912

22 years agoNoted SF patch 552452 adding degree/radian conversions to mathmodule.c.
Raymond Hettinger [Mon, 13 May 2002 04:17:32 +0000 (04:17 +0000)]
Noted SF patch 552452 adding degree/radian conversions to mathmodule.c.

22 years agoAdded degrees() and radians() to mathmodule. Closes patch 552452 and
Raymond Hettinger [Mon, 13 May 2002 03:56:10 +0000 (03:56 +0000)]
Added degrees() and radians() to mathmodule.  Closes patch 552452 and
feature request 426539.

22 years agoAdds tests for degrees() and radians() functions added to mathmodule.
Raymond Hettinger [Mon, 13 May 2002 03:55:01 +0000 (03:55 +0000)]
Adds tests for degrees() and radians() functions added to mathmodule.
Closes patch 552452 and feature request 426539.

22 years agoAdded degrees() and radians() to mathmodule. Closing patch 552452 and
Raymond Hettinger [Mon, 13 May 2002 03:52:47 +0000 (03:52 +0000)]
Added degrees() and radians() to mathmodule.  Closing patch 552452 and
feature request 426539.

22 years ago- Better exception when a NULL CF object is encountered.
Jack Jansen [Sun, 12 May 2002 22:04:14 +0000 (22:04 +0000)]
- Better exception when a NULL CF object is encountered.
- Manually generate a routine with funny error semantics.

22 years ago(py-execute-region): Do the blank line skipping inside the
Barry Warsaw [Sun, 12 May 2002 17:37:46 +0000 (17:37 +0000)]
(py-execute-region): Do the blank line skipping inside the
save-excursion so that when the function is complete, point is
preserved.

22 years agoSF bug 555042: zip() may trigger MemoryError.
Tim Peters [Sun, 12 May 2002 07:19:38 +0000 (07:19 +0000)]
SF bug 555042: zip() may trigger MemoryError.
NOT a bugfix candidate:  this is a fix to an optimization introduced
in 2.3.

22 years agoNoted change in ftplib 1.68 closing SF patch 553277.
Raymond Hettinger [Sun, 12 May 2002 06:07:21 +0000 (06:07 +0000)]
Noted change in ftplib 1.68 closing SF patch 553277.

22 years agoCloses SF patch 553277. Per GvR, reverting to original patch -- the way to
Raymond Hettinger [Sun, 12 May 2002 05:53:51 +0000 (05:53 +0000)]
Closes SF patch 553277.  Per GvR, reverting to original patch -- the way to
test if 'callable' has not been supplied is to test for None instead of
False.  The previous correction to 'if callable()' was wrong because an unusable
callback would be ignored rather than raising an exception.

22 years agoCloses SF patch: 552468.
Raymond Hettinger [Sun, 12 May 2002 03:09:25 +0000 (03:09 +0000)]
Closes SF patch: 552468.
Type class unification invalidated the statement:  x.__getitem__[i] is not equivalent to x[i].

22 years agoFix typo: ptread --> pthread
Fred Drake [Sat, 11 May 2002 03:36:26 +0000 (03:36 +0000)]
Fix typo:  ptread --> pthread
Closes SF bug #554644.

22 years ago- Get data from CFData objects as Python strings and vv.
Jack Jansen [Fri, 10 May 2002 22:51:58 +0000 (22:51 +0000)]
- Get data from CFData objects as Python strings and vv.
- Started on supporting CFPropertyLists.

22 years agoUse isinstance() in preference to comparison of type by is.
Jeremy Hylton [Fri, 10 May 2002 21:00:35 +0000 (21:00 +0000)]
Use isinstance() in preference to comparison of type by is.

22 years agoGive the enumerate() PEP a section of its own
Andrew M. Kuchling [Fri, 10 May 2002 21:00:05 +0000 (21:00 +0000)]
Give the enumerate() PEP a section of its own
Add some credits
Fill in a link

22 years ago[from Oct 2000]
Greg Ward [Fri, 10 May 2002 14:45:59 +0000 (14:45 +0000)]
[from Oct 2000]
Start fleshing out the "Examples" section.

22 years ago[from Oct 2000]
Greg Ward [Fri, 10 May 2002 14:42:10 +0000 (14:42 +0000)]
[from Oct 2000]
The zipfile module has been in the standard library for some time now.

22 years ago[from Oct 2000]
Greg Ward [Fri, 10 May 2002 14:40:22 +0000 (14:40 +0000)]
[from Oct 2000]
Clarify explanations of header file search directories.

22 years agoFix markup error that suppressed space.
Fred Drake [Fri, 10 May 2002 12:37:56 +0000 (12:37 +0000)]
Fix markup error that suppressed space.
Closes SF bug #554257.  Not relevant to older releases.

22 years agoFix typo
Andrew M. Kuchling [Thu, 9 May 2002 14:33:18 +0000 (14:33 +0000)]
Fix typo

22 years agoFixed string and dict conversion, and implemented booleans and numbers (int and float...
Jack Jansen [Wed, 8 May 2002 22:13:51 +0000 (22:13 +0000)]
Fixed string and dict conversion, and implemented booleans and numbers (int and float). I think we now have enough CFType support to start on plists and CFpreferences!

Transparent handling of unknown CFType objects still TBD.

22 years agoPartial fix for string handling. Null byte TBD.
Jack Jansen [Wed, 8 May 2002 15:29:33 +0000 (15:29 +0000)]
Partial fix for string handling. Null byte TBD.

22 years agoRemove news about PyMalloc_*. Do we need to say anything about
Neil Schemenauer [Wed, 8 May 2002 14:14:41 +0000 (14:14 +0000)]
Remove news about PyMalloc_*.  Do we need to say anything about
pymalloc?

22 years agoUpdates and rewriting
Andrew M. Kuchling [Wed, 8 May 2002 13:39:03 +0000 (13:39 +0000)]
Updates and rewriting

22 years agoPatch #553230: Create LIBDIR if necessary. Bugfix candidate.
Martin v. Löwis [Wed, 8 May 2002 08:59:59 +0000 (08:59 +0000)]
Patch #553230: Create LIBDIR if necessary. Bugfix candidate.

22 years agoPatch #553277: Accept callbacks that are callable, not callbacks that are true.
Martin v. Löwis [Wed, 8 May 2002 08:56:33 +0000 (08:56 +0000)]
Patch #553277: Accept callbacks that are callable, not callbacks that are true.

22 years agoPatch #553403: Fix typo.
Martin v. Löwis [Wed, 8 May 2002 08:51:29 +0000 (08:51 +0000)]
Patch #553403: Fix typo.

22 years agoPatch #551410: Implement tp_getiter.
Martin v. Löwis [Wed, 8 May 2002 08:49:27 +0000 (08:49 +0000)]
Patch #551410: Implement tp_getiter.

22 years agoPatch #552433: Special-case tuples. Avoid sub-type checking for lists.
Martin v. Löwis [Wed, 8 May 2002 08:44:21 +0000 (08:44 +0000)]
Patch #552433: Special-case tuples. Avoid sub-type checking for lists.
Avoid checks for negative indices and duplicate checks for support of
the sequence protocol.

22 years agoPatch #551011: Fix compilation problems with Cygwin.
Martin v. Löwis [Wed, 8 May 2002 07:16:37 +0000 (07:16 +0000)]
Patch #551011: Fix compilation problems with Cygwin.

22 years agoMore support for bridging between Python and CoreFoundation objects. Still untested.
Jack Jansen [Tue, 7 May 2002 23:00:03 +0000 (23:00 +0000)]
More support for bridging between Python and CoreFoundation objects. Still untested.

22 years agoAdded pycfbridge.c
Jack Jansen [Tue, 7 May 2002 22:59:06 +0000 (22:59 +0000)]
Added pycfbridge.c

22 years agoAdded enumobject.c
Jack Jansen [Tue, 7 May 2002 21:42:08 +0000 (21:42 +0000)]
Added enumobject.c

22 years agoMove 'Tips and Tricks' to be the last section
Andrew M. Kuchling [Tue, 7 May 2002 21:03:45 +0000 (21:03 +0000)]
Move 'Tips and Tricks' to be the last section

22 years agoAdd section on Setup file
Andrew M. Kuchling [Tue, 7 May 2002 21:02:35 +0000 (21:02 +0000)]
Add section on Setup file
Updates for 2.2
Remove references to Makefile.pre.in build method

22 years agoMore filling out
Andrew M. Kuchling [Tue, 7 May 2002 21:01:16 +0000 (21:01 +0000)]
More filling out

22 years agoFix typos
Andrew M. Kuchling [Tue, 7 May 2002 20:58:03 +0000 (20:58 +0000)]
Fix typos

22 years agoFixed a mistake on my part when regenerating: removed a bogus import of Applscript_Suite.
Jack Jansen [Tue, 7 May 2002 20:16:20 +0000 (20:16 +0000)]
Fixed a mistake on my part when regenerating: removed a bogus import of Applscript_Suite.

Bugfix candidate (I'll move it over myself).

22 years agoWrite two sections, and write some partial text for some other sections
Andrew M. Kuchling [Mon, 6 May 2002 17:46:39 +0000 (17:46 +0000)]
Write two sections, and write some partial text for some other sections

22 years agoAdd a note explaining the interaction between unbuffered input and
Fred Drake [Mon, 6 May 2002 16:02:42 +0000 (16:02 +0000)]
Add a note explaining the interaction between unbuffered input and
xreadlines.xreadlines().
This closes SF patch #552804.

22 years agoPrevent convert_path from crashing if the path is an empty string. Bugfix candidate.
Andrew M. Kuchling [Mon, 6 May 2002 13:57:19 +0000 (13:57 +0000)]
Prevent convert_path from crashing if the path is an empty string.  Bugfix candidate.

22 years agoFirst steps towards a generalized converter of Python object
Jack Jansen [Sun, 5 May 2002 21:48:12 +0000 (21:48 +0000)]
First steps towards a generalized converter of Python object
hierarchies to CoreFoundation object hierarchies and vice versa.

22 years agorandom.gauss() uses a piece of hidden state used by nothing else,
Tim Peters [Sun, 5 May 2002 20:40:00 +0000 (20:40 +0000)]
random.gauss() uses a piece of hidden state used by nothing else,
and the .seed() and .whseed() methods failed to reset it.  In other
words, setting the seed didn't completely determine the sequence of
results produced by random.gauss().  It does now.  Programs repeatedly
mixing calls to a seed method with calls to gauss() may see different
results now.

Bugfix candidate (random.gauss() has always been broken in this way),
despite that it may change results.

22 years agoRename posix_WCONTINUED to posix_WIFCONTINUED, call WIFCONTINUED inside,
Martin v. Löwis [Sat, 4 May 2002 13:13:41 +0000 (13:13 +0000)]
Rename posix_WCONTINUED to posix_WIFCONTINUED, call WIFCONTINUED inside,
add it to the posix_methods.

22 years ago_PyGC_generation0 is now a pointer
Neil Schemenauer [Sat, 4 May 2002 05:36:06 +0000 (05:36 +0000)]
_PyGC_generation0 is now a pointer

22 years agoMove all data for a single generation into a structure. The set of
Neil Schemenauer [Sat, 4 May 2002 05:35:20 +0000 (05:35 +0000)]
Move all data for a single generation into a structure.  The set of
generations is now an array.  This cleans up some code and makes it easy
to change the number of generations.  Also, implemented a
gc_list_is_empty() function.  This makes the logic a little clearer in
places.  The performance impact of these changes should be negligible.

One functional change is that allocation/collection counters are always
zeroed at the start of a collection.  This should fix SF bug #551915.
This change is too big for back-porting but the minimal patch on SF
looks good for a bugfix release.

22 years agoPatch #551093: Let cygwin default to --enable-shared.
Martin v. Löwis [Fri, 3 May 2002 05:53:15 +0000 (05:53 +0000)]
Patch #551093: Let cygwin default to --enable-shared.

22 years agoIntegrated SF patch #539487 by Matthias Klose:
Fred Drake [Fri, 3 May 2002 04:50:51 +0000 (04:50 +0000)]
Integrated SF patch #539487 by Matthias Klose:
This patch adds Milan Zamazal's conversion script and
modifies the mkinfo script to build the info doc files
from the LaTeX sources.  Currently, the mac, doc and
inst TeX files are not handled.
Explicitly checks for GNU Emacs 21.

22 years agoBoost the list of stop words, by merging in the little list Jeremy
Tim Peters [Thu, 2 May 2002 21:59:08 +0000 (21:59 +0000)]
Boost the list of stop words, by merging in the little list Jeremy
just checked into Zope's ZCTextIndex branch.  This reduces the size
of the .chm file by about 100KB.

22 years agoUpdate the xrange object description to reflect the removal of deprecated
Fred Drake [Thu, 2 May 2002 21:37:23 +0000 (21:37 +0000)]
Update the xrange object description to reflect the removal of deprecated
features.

22 years agoAdded notes related to the removal of deprecated features of the xrange type.
Fred Drake [Thu, 2 May 2002 21:28:26 +0000 (21:28 +0000)]
Added notes related to the removal of deprecated features of the xrange type.

22 years agoAdded note about using the documentation build tools under Cygwin.
Fred Drake [Thu, 2 May 2002 21:17:00 +0000 (21:17 +0000)]
Added note about using the documentation build tools under Cygwin.

22 years agoRemove the warning about the Cygwin directions not working -- the latest
Fred Drake [Thu, 2 May 2002 21:10:48 +0000 (21:10 +0000)]
Remove the warning about the Cygwin directions not working -- the latest
change to Doc/tools/node2label.pl (revision 1.13) makes this work.

22 years agoWork around limitation of Cygwin Perl: To avoid a permission denial, we need
Fred Drake [Thu, 2 May 2002 20:42:30 +0000 (20:42 +0000)]
Work around limitation of Cygwin Perl:  To avoid a permission denial, we need
to do the inplace-edit with a backup file.  A quick test leads me to
believe this is sufficient to allow building the documentation on Cygwin;
a full test is in progress.

22 years agoIndicate delayed initialization of slots. Suggested by tim.one.
Martin v. Löwis [Thu, 2 May 2002 20:34:12 +0000 (20:34 +0000)]
Indicate delayed initialization of slots. Suggested by tim.one.

22 years agoPatch #551008: DL_IMPORT PyBool_FromLong.
Martin v. Löwis [Thu, 2 May 2002 20:23:27 +0000 (20:23 +0000)]
Patch #551008: DL_IMPORT PyBool_FromLong.

22 years agoPyObject_Realloc(): If a small block is shrinking, bite the expense of
Tim Peters [Thu, 2 May 2002 20:19:34 +0000 (20:19 +0000)]
PyObject_Realloc():  If a small block is shrinking, bite the expense of
copying it if at least 25% of the input block can be reclaimed.

22 years agoPatch #551009: Initialize array type dynamically.
Martin v. Löwis [Thu, 2 May 2002 20:09:59 +0000 (20:09 +0000)]
Patch #551009: Initialize array type dynamically.

22 years agoRemove old deprecated features from the xrange object.
Fred Drake [Thu, 2 May 2002 19:56:55 +0000 (19:56 +0000)]
Remove old deprecated features from the xrange object.

22 years agoRemove all tests that rely on deprecated-in-2.2 features of xrange objects.
Fred Drake [Thu, 2 May 2002 18:40:31 +0000 (18:40 +0000)]
Remove all tests that rely on deprecated-in-2.2 features of xrange objects.
"What's New in Python 2.2" documented that these would be removed in
Python 2.3.

22 years agoMany minor markup adjustments for consistency.
Fred Drake [Thu, 2 May 2002 17:55:26 +0000 (17:55 +0000)]
Many minor markup adjustments for consistency.

22 years agoRemove extra period produced by previous change.
Fred Drake [Thu, 2 May 2002 17:54:18 +0000 (17:54 +0000)]
Remove extra period produced by previous change.

22 years agoPatch 550804: Make os.environ.copy() return a copy.
Martin v. Löwis [Thu, 2 May 2002 17:39:19 +0000 (17:39 +0000)]
Patch 550804: Make os.environ.copy() return a copy.