]> granicus.if.org Git - python/log
python
22 years ago(py-goto-statement-below): Watch out for landing in a triple quoted
Barry Warsaw [Thu, 23 May 2002 19:42:16 +0000 (19:42 +0000)]
(py-goto-statement-below): Watch out for landing in a triple quoted
string with text in column zero.  Skip that stuff when looking for the
"first statement following the statement containing point".

22 years agoAdded missing dependency on the refcount data file.
Fred Drake [Thu, 23 May 2002 19:41:25 +0000 (19:41 +0000)]
Added missing dependency on the refcount data file.

22 years agoLink with the right C library! This has always been wrong (& my fault).
Tim Peters [Thu, 23 May 2002 19:25:59 +0000 (19:25 +0000)]
Link with the right C library!  This has always been wrong (& my fault).

22 years agoUse Perl function prototypes to help avoid definition/usage mismatches
Fred Drake [Thu, 23 May 2002 17:59:16 +0000 (17:59 +0000)]
Use Perl function prototypes to help avoid definition/usage mismatches
while modifying these files.
Minor style changes to make the use of "my" with arrays more consistent.

22 years agoAdd refcount information for PySequence_ITEM().
Fred Drake [Thu, 23 May 2002 16:03:16 +0000 (16:03 +0000)]
Add refcount information for PySequence_ITEM().

22 years agoAdd version annotation for PySequence_ITEM().
Fred Drake [Thu, 23 May 2002 16:02:28 +0000 (16:02 +0000)]
Add version annotation for PySequence_ITEM().

22 years agoUse function instead of macro spellings for PyObject_memorystuff.
Tim Peters [Thu, 23 May 2002 15:51:20 +0000 (15:51 +0000)]
Use function instead of macro spellings for PyObject_memorystuff.

22 years agoWhitespace normalization.
Tim Peters [Thu, 23 May 2002 15:49:38 +0000 (15:49 +0000)]
Whitespace normalization.

22 years agoWhitespace normalization.
Tim Peters [Thu, 23 May 2002 15:15:30 +0000 (15:15 +0000)]
Whitespace normalization.

22 years agoparseaddr(): Fixed in the same way that Message.getaddrlist() was
Barry Warsaw [Thu, 23 May 2002 03:21:01 +0000 (03:21 +0000)]
parseaddr(): Fixed in the same way that Message.getaddrlist() was
fixed (re: SF bug #555035).  Include a unittest.

22 years agoforce gzip module to open files using 'b'inary mode.
Skip Montanaro [Thu, 23 May 2002 01:43:05 +0000 (01:43 +0000)]
force gzip module to open files using 'b'inary mode.
closes patch #536278.

22 years agoCloses: #556025 seg fault when doing list(xrange(1e9))
Neal Norwitz [Wed, 22 May 2002 23:19:17 +0000 (23:19 +0000)]
Closes: #556025 seg fault when doing list(xrange(1e9))
A MemoryError is now raised when the list cannot be created.
There is a test, but as the comment says, it really only
works for 32 bit systems.  I don't know how to improve
the test for other systems (ie, 64 bit or systems
where the data size != addressable size,
e.g. 64 bit data, but 48 bit addressable memory)

22 years agoRemove spurious "()" from the __str__() description.
Fred Drake [Wed, 22 May 2002 20:44:03 +0000 (20:44 +0000)]
Remove spurious "()" from the __str__() description.

22 years agoJack's documentation for the U mode character on the file()
Barry Warsaw [Wed, 22 May 2002 20:39:43 +0000 (20:39 +0000)]
Jack's documentation for the U mode character on the file()
constructor, vetted by Barry.

22 years agofile_doc: Add some description of the U mode character, but only when
Barry Warsaw [Wed, 22 May 2002 20:37:53 +0000 (20:37 +0000)]
file_doc: Add some description of the U mode character, but only when
WITH_UNIVERSAL_NEWLINES is enabled.

22 years agoPatch #491107: Cygwin setup.py import workaround patch
Jason Tishler [Wed, 22 May 2002 16:46:15 +0000 (16:46 +0000)]
Patch #491107: Cygwin setup.py import workaround patch

mwh wrote:
> Jason, feel free to complain if you think this isn't
> the right thing to do.

I guess that I would like to complain and reopen this
issue. :,)  I cannot build a Python 2.2.1 with threads
under Cygwin without this patch even though I'm using
Michael's static _socket workaround.  This is due to the
Cygwin fork() problem with DLL base address conflicts
that are triggered by importing many modules during the
setup.py run.  Similar problems can also be caused by
regrtest.py.

Even after my rebase patch is accepted into Cygwin's
setup.exe, I feel this patch will still be necessary.
This is because during the build process, the shared
extensions (i.e., DLLs) will not be rebased yet.  Hence,
the potential for DLL base address conflicts will exist.

One way to obviate this patch is to push the rebase
functionality into Cygwin's ld.  Unfortunately, I don't
think this is likely to happen.  Another possible way,
is to use the yet to be defined and implemented unload
module functionality:

    http://mail.python.org/pipermail/python-dev/2001-December/019028.html

22 years agoRegenerated from new Universal Headers.
Jack Jansen [Wed, 22 May 2002 15:08:58 +0000 (15:08 +0000)]
Regenerated from new Universal Headers.

22 years agoAllow the script to have not only a TEXT filetype but also a null filetype (to enable...
Jack Jansen [Wed, 22 May 2002 15:02:08 +0000 (15:02 +0000)]
Allow the script to have not only a TEXT filetype but also a null filetype (to enable files to be created from the Unix side of OSX to be droppable on the MacPython interpreter).

22 years agoReplaced lots of PyMem_DEL() calls with PyObject_DEL().
Jack Jansen [Wed, 22 May 2002 14:31:48 +0000 (14:31 +0000)]
Replaced lots of PyMem_DEL() calls with PyObject_DEL().

22 years agoEnable WITH_PYMALLOC.
Jack Jansen [Wed, 22 May 2002 14:31:10 +0000 (14:31 +0000)]
Enable WITH_PYMALLOC.

22 years agoAdded 2 more addresses to send release notifications to.
Jack Jansen [Wed, 22 May 2002 14:30:37 +0000 (14:30 +0000)]
Added 2 more addresses to send release notifications to.

22 years agoAdded a version annotation for StringTypes.
Fred Drake [Wed, 22 May 2002 02:44:24 +0000 (02:44 +0000)]
Added a version annotation for StringTypes.
Added documentation for BooleanType.

22 years agoBump to version 2.0.4
Barry Warsaw [Wed, 22 May 2002 01:52:33 +0000 (01:52 +0000)]
Bump to version 2.0.4

22 years agogetaddresses(): Like the change in rfc822.py, this one needs to access
Barry Warsaw [Wed, 22 May 2002 01:52:10 +0000 (01:52 +0000)]
getaddresses(): Like the change in rfc822.py, this one needs to access
the AddressList.addresslist attribute directly.

Also, add a test case for the email.Utils.getaddresses() interface.

22 years agoMinor typo: Message.getall() -> Message.get_all()
Barry Warsaw [Wed, 22 May 2002 01:22:46 +0000 (01:22 +0000)]
Minor typo: Message.getall() -> Message.get_all()

22 years agoadd BooleanType
Skip Montanaro [Tue, 21 May 2002 23:17:12 +0000 (23:17 +0000)]
add BooleanType

22 years agoIn both spilldata() functions, pretend that the docstring for
Guido van Rossum [Tue, 21 May 2002 20:56:15 +0000 (20:56 +0000)]
In both spilldata() functions, pretend that the docstring for
non-callable objects is always None.  This makes for less confusing
output and fixes the problem reported in SF patch #550290.

22 years agoMessage.getaddrlist(): Use the AddressList.addresslist attribute
Barry Warsaw [Tue, 21 May 2002 19:46:13 +0000 (19:46 +0000)]
Message.getaddrlist(): Use the AddressList.addresslist attribute
instead of calling the getaddrlist() method, since the latter doesn't
work with multiple calls (it will return the empty list for the second
and subsequent calls).

Closes SF bug #555035.  Include a unittest.

22 years agoPatch 543387. Document deprecation of complex %, //,and divmod().
Raymond Hettinger [Tue, 21 May 2002 18:19:49 +0000 (18:19 +0000)]
Patch 543387.  Document deprecation of complex %, //,and divmod().

22 years agoPatch 533291. Deprecate None return form of __reduce__.
Raymond Hettinger [Tue, 21 May 2002 17:22:02 +0000 (17:22 +0000)]
Patch 533291.  Deprecate None return form of __reduce__.

22 years agoPatch 543222. Disable script bindings in shell window.
Raymond Hettinger [Tue, 21 May 2002 17:00:20 +0000 (17:00 +0000)]
Patch 543222. Disable script bindings in shell window.

22 years agoAdd additional comments on the use of \deprecated.
Fred Drake [Tue, 21 May 2002 16:27:20 +0000 (16:27 +0000)]
Add additional comments on the use of \deprecated.

22 years agoAdd IS_TRACKED and IS_MOVED macros. This makes the logic a little more clear.
Neil Schemenauer [Tue, 21 May 2002 15:53:24 +0000 (15:53 +0000)]
Add IS_TRACKED and IS_MOVED macros.  This makes the logic a little more clear.

22 years agoPatch 549187. Improve string formatting error message.
Raymond Hettinger [Tue, 21 May 2002 15:14:57 +0000 (15:14 +0000)]
Patch 549187.  Improve string formatting error message.

22 years agoAdd availability information for a couple of the types, and notes on writing
Fred Drake [Tue, 21 May 2002 14:28:22 +0000 (14:28 +0000)]
Add availability information for a couple of the types, and notes on writing
string-type tests for versions of Python built without Unicode support.

22 years agoAnother one.
Guido van Rossum [Tue, 21 May 2002 12:38:46 +0000 (12:38 +0000)]
Another one.

22 years agoPatches 558535. The standard Windows binding for Edit Select All
Raymond Hettinger [Tue, 21 May 2002 12:26:59 +0000 (12:26 +0000)]
Patches 558535.  The standard Windows binding for Edit Select All
is Control-A rather than Alt-A.

22 years agoMunge the RCS keywords to avoid updates, so the version number matches that
Fred Drake [Tue, 21 May 2002 03:49:00 +0000 (03:49 +0000)]
Munge the RCS keywords to avoid updates, so the version number matches that
of the PyUNIT version of the same file.  This helps people understand that
this version is the same as the version from the independent PyUNIT
release (confusion was indicated on the PyUNIT mailing list).

22 years agoUse types.StringTypes instead of explicit (str, unicode) list
Michael W. Hudson [Mon, 20 May 2002 17:29:46 +0000 (17:29 +0000)]
Use types.StringTypes instead of explicit (str, unicode) list

22 years agoGuess what? --disable-unicode proofing.
Michael W. Hudson [Mon, 20 May 2002 14:54:17 +0000 (14:54 +0000)]
Guess what?  --disable-unicode proofing.

This is a strange test.

22 years agoMore --disable-unicode stuff.
Michael W. Hudson [Mon, 20 May 2002 14:48:16 +0000 (14:48 +0000)]
More --disable-unicode stuff.

I'm getting better at vi!

22 years agoUse types.StringTypes instead of (types.StringType, types.UnicodeType) --
Michael W. Hudson [Mon, 20 May 2002 14:30:06 +0000 (14:30 +0000)]
Use types.StringTypes instead of (types.StringType, types.UnicodeType) --
works better (at all!) in --disable-unicode builds.

Bugfix candidate, probably.

22 years agotolerate --disable-unicode...
Michael W. Hudson [Mon, 20 May 2002 14:24:53 +0000 (14:24 +0000)]
tolerate --disable-unicode...

22 years agoMore mindless --disable-unicode proofing.
Michael W. Hudson [Mon, 20 May 2002 14:22:28 +0000 (14:22 +0000)]
More mindless --disable-unicode proofing.

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.