]> granicus.if.org Git - python/log
python
21 years agoUpdated for QuickTime 6.0, Universal Header 3.4.2.
Jack Jansen [Fri, 2 Jan 2004 23:27:42 +0000 (23:27 +0000)]
Updated for QuickTime 6.0, Universal Header 3.4.2.

21 years agoAdd comment to mollify Tim.
Jeremy Hylton [Fri, 2 Jan 2004 23:25:32 +0000 (23:25 +0000)]
Add comment to mollify Tim.

21 years agoMove VC6 project files here.
Martin v. Löwis [Fri, 2 Jan 2004 21:15:07 +0000 (21:15 +0000)]
Move VC6 project files here.

21 years agoUpdate build procedure to VC 7.1; make more modules builtin.
Martin v. Löwis [Fri, 2 Jan 2004 21:14:37 +0000 (21:14 +0000)]
Update build procedure to VC 7.1; make more modules builtin.

21 years agoUpdate build procedure to VC 7.1.
Martin v. Löwis [Fri, 2 Jan 2004 21:13:59 +0000 (21:13 +0000)]
Update build procedure to VC 7.1.

21 years agoUpdate build procedure to VC 7.1 and newer versions of several packages.
Martin v. Löwis [Fri, 2 Jan 2004 21:13:28 +0000 (21:13 +0000)]
Update build procedure to VC 7.1 and newer versions of several packages.

21 years agoThe script now takes an optional command-line argument to specify how many
Alex Martelli [Fri, 2 Jan 2004 17:11:54 +0000 (17:11 +0000)]
The script now takes an optional command-line argument to specify how many
loops to run (default remains 50,000 if no argument is specified).

21 years ago[Bug #812325 ] tarfile.close() can write out more bytes to the output
Andrew M. Kuchling [Fri, 2 Jan 2004 15:44:29 +0000 (15:44 +0000)]
[Bug #812325 ] tarfile.close() can write out more bytes to the output
   than are specified by the buffer size.  The patch calls .__write()
   to ensure that any full blocks are written out.

21 years agolist the Python Software Foundation on all the documents
Fred Drake [Fri, 2 Jan 2004 06:57:50 +0000 (06:57 +0000)]
list the Python Software Foundation on all the documents

21 years agoPythonLabs --> Python Software Foundation
Fred Drake [Fri, 2 Jan 2004 06:52:06 +0000 (06:52 +0000)]
PythonLabs --> Python Software Foundation

21 years ago- Print correct exception even if source file changed since shell was
Kurt B. Kaiser [Fri, 2 Jan 2004 04:04:04 +0000 (04:04 +0000)]
- Print correct exception even if source file changed since shell was
  restarted.  IDLEfork Patch 869012 Noam Raphael

Modified Files:
NEWS.txt run.py

21 years agoUse 'input' as variable name, even though it shadows a built-in
Andrew M. Kuchling [Thu, 1 Jan 2004 18:33:34 +0000 (18:33 +0000)]
Use 'input' as variable name, even though it shadows a built-in
Remove applications of rsplit() and random numbers
Typo fixes; minor tweaks

21 years agoin the section "The interpreter stack":
Fred Drake [Thu, 1 Jan 2004 07:21:14 +0000 (07:21 +0000)]
in the section "The interpreter stack":
- rearranged a bit to avoid duplicated information
- provide more complete (and hopefully less confusing) descriptions of
  the return values for most of these functions
  (close SF bug #563298)

21 years agoAdd sets to list of picklable objects.
Raymond Hettinger [Thu, 1 Jan 2004 05:53:51 +0000 (05:53 +0000)]
Add sets to list of picklable objects.

21 years agoclean up indexing for None, NotImplemented
Fred Drake [Thu, 1 Jan 2004 05:43:53 +0000 (05:43 +0000)]
clean up indexing for None, NotImplemented
closes SF bug #820344

21 years agofix reference to File Object documentation
Fred Drake [Thu, 1 Jan 2004 03:41:27 +0000 (03:41 +0000)]
fix reference to File Object documentation
closes SF bug #825810

21 years agoSF Patch 681780: Faster commonprefix (OS independent)
Raymond Hettinger [Wed, 31 Dec 2003 22:44:29 +0000 (22:44 +0000)]
SF Patch 681780: Faster commonprefix (OS independent)

Improved based on discussions at:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252177
http://groups.google.com/groups?th=fc7b54f11af6b24e&seekm=bss2so$om$00$1@news.t-online.com

21 years agoSF patch #859286: documentation bool change fix
Raymond Hettinger [Wed, 31 Dec 2003 18:37:28 +0000 (18:37 +0000)]
SF patch #859286:  documentation bool change fix
(Contributed by George Yoshida.)

21 years ago* Simplify and speedup logic for tp_print.
Raymond Hettinger [Wed, 31 Dec 2003 14:08:58 +0000 (14:08 +0000)]
* Simplify and speedup logic for tp_print.
* Speed-up intersection whenever PyDict_Next can be used.

21 years agouse conventional whitespace in interactive example
Fred Drake [Wed, 31 Dec 2003 07:41:52 +0000 (07:41 +0000)]
use conventional whitespace in interactive example

21 years agoCorrect misrepresentation of print (it uses str(), not `...` for
Guido van Rossum [Wed, 31 Dec 2003 06:32:38 +0000 (06:32 +0000)]
Correct misrepresentation of print (it uses str(), not `...` for
conversion).  Hopefully I've not messed up the formatting.

21 years ago- general markup cleanup
Fred Drake [Wed, 31 Dec 2003 05:18:46 +0000 (05:18 +0000)]
- general markup cleanup
- rearrange so two small sections become one; this avoids an extra
  page in the HTML format

21 years agogeneral markup improvements
Fred Drake [Wed, 31 Dec 2003 05:01:23 +0000 (05:01 +0000)]
general markup improvements

21 years ago- add link to the datetime module
Fred Drake [Wed, 31 Dec 2003 04:52:36 +0000 (04:52 +0000)]
- add link to the datetime module

21 years ago- update description of isleap()
Fred Drake [Wed, 31 Dec 2003 04:51:56 +0000 (04:51 +0000)]
- update description of isleap()
- add link to the datetime module

21 years ago- use the same markup for the deprecation as for that of
Fred Drake [Wed, 31 Dec 2003 04:41:47 +0000 (04:41 +0000)]
- use the same markup for the deprecation as for that of
  file.xreadlines()

21 years ago- add a "See also" reference to the doctest module
Fred Drake [Wed, 31 Dec 2003 04:34:50 +0000 (04:34 +0000)]
- add a "See also" reference to the doctest module
- slightly simplify a couple of examples
- clean up some markup

21 years agoStrengthen the test for hash effectiveness
Raymond Hettinger [Wed, 31 Dec 2003 02:01:33 +0000 (02:01 +0000)]
Strengthen the test for hash effectiveness

21 years agoVarious fixups:
Raymond Hettinger [Wed, 31 Dec 2003 01:59:18 +0000 (01:59 +0000)]
Various fixups:
* Add comment on the future of the sets module.
* Change a variable from "input" to "data" to avoid shadowing a builtin.
* Added possible applications for str.rsplit() and itertools.tee().
* Repaired the example for sorted().
* Cleaned-up the example for operator.itemgetter().

21 years agofix truly evil markup typo
Fred Drake [Tue, 30 Dec 2003 23:08:14 +0000 (23:08 +0000)]
fix truly evil markup typo

21 years agominor cleanup of example
Fred Drake [Tue, 30 Dec 2003 23:01:19 +0000 (23:01 +0000)]
minor cleanup of example

21 years ago- we *really* don't care about Python 1.5 alphas any more!
Fred Drake [Tue, 30 Dec 2003 22:51:32 +0000 (22:51 +0000)]
- we *really* don't care about Python 1.5 alphas any more!
- note the interpreter's -S option

21 years agofix a variety of markup bugs
Fred Drake [Tue, 30 Dec 2003 22:21:18 +0000 (22:21 +0000)]
fix a variety of markup bugs

21 years agowork around whitespace bugs in the HTML version
Fred Drake [Tue, 30 Dec 2003 22:17:16 +0000 (22:17 +0000)]
work around whitespace bugs in the HTML version

21 years agofix markup errors
Fred Drake [Tue, 30 Dec 2003 20:48:59 +0000 (20:48 +0000)]
fix markup errors

21 years agolots of markup adjustments
Fred Drake [Tue, 30 Dec 2003 20:36:20 +0000 (20:36 +0000)]
lots of markup adjustments

21 years agomarkup fix
Fred Drake [Tue, 30 Dec 2003 17:17:17 +0000 (17:17 +0000)]
markup fix

21 years agoFixes to support CJKCodecs as per SF bug #852347. Actually, this
Barry Warsaw [Tue, 30 Dec 2003 16:52:25 +0000 (16:52 +0000)]
Fixes to support CJKCodecs as per SF bug #852347.  Actually, this
patch removes dependencies on the old unsupported KoreanCodecs package
and the alternative JapaneseCodecs package.  Since both of those
provide aliases for their codecs, this removal just makes the generic
codec names work.

We needed to make slight changes to __init__() as well.

This will be backported to Python 2.3 when its branch freeze is over.

21 years agoBump version number to 2.5.5
Barry Warsaw [Tue, 30 Dec 2003 16:49:40 +0000 (16:49 +0000)]
Bump version number to 2.5.5

21 years agoremove ancient cruft
Fred Drake [Tue, 30 Dec 2003 16:44:45 +0000 (16:44 +0000)]
remove ancient cruft

21 years ago- make "--" in code text not get converted to "-"
Fred Drake [Tue, 30 Dec 2003 16:19:28 +0000 (16:19 +0000)]
- make "--" in code text not get converted to "-"
- fix minor typo in comment

21 years ago- remove crufty markup that's no longer needed to make the
Fred Drake [Tue, 30 Dec 2003 16:18:23 +0000 (16:18 +0000)]
- remove crufty markup that's no longer needed to make the
  presentation work right (and didn't work anyway)
- fix minor typo

21 years agouse consistent email address for Tim
Fred Drake [Tue, 30 Dec 2003 16:15:35 +0000 (16:15 +0000)]
use consistent email address for Tim

21 years ago- update Tim's email address
Fred Drake [Tue, 30 Dec 2003 16:12:27 +0000 (16:12 +0000)]
- update Tim's email address
- remove spurious blank lines

21 years agoAdd IPV6_ socket options from RFCs 3493 and 3542. Fixes #867012.
Martin v. Löwis [Tue, 30 Dec 2003 11:14:01 +0000 (11:14 +0000)]
Add IPV6_ socket options from RFCs 3493 and 3542. Fixes #867012.

21 years agoFix gcc 3.3 warnings related to Py_UNICODE_WIDE.
Hye-Shik Chang [Mon, 29 Dec 2003 01:36:01 +0000 (01:36 +0000)]
Fix gcc 3.3 warnings related to Py_UNICODE_WIDE.

21 years agocomplete backout of listobject.c v2.171
Andrew MacIntyre [Sun, 28 Dec 2003 07:43:56 +0000 (07:43 +0000)]
complete backout of listobject.c v2.171

21 years agoRevert previous two checkins to repair test failure.
Jeremy Hylton [Fri, 26 Dec 2003 19:05:04 +0000 (19:05 +0000)]
Revert previous two checkins to repair test failure.

The special-case code that was removed could return a value indicating
success but leave an exception set.  test_fileinput failed in a debug
build as a result.

21 years agoFix name problem in previous checkin: Dict not List
Jeremy Hylton [Fri, 26 Dec 2003 17:17:49 +0000 (17:17 +0000)]
Fix name problem in previous checkin: Dict not List

21 years agoAt 2.2, the Py<type>_Check() family of API functions (macros) changed
Andrew MacIntyre [Fri, 26 Dec 2003 00:20:53 +0000 (00:20 +0000)]
At 2.2, the Py<type>_Check() family of API functions (macros) changed
semantics to include subtypes.  Most concrete object APIs then had
a Py<type>_CheckExact() macro added to test for an object's type
not including subtypes.

The PyDict_CheckExact() macro wasn't created at that time, so I've added
it for API completeness/symmetry - even though nobody has complained
about its absence in the time since 2.2 was released.

Not a backport candidate.

21 years agoreverting 2.29: the patch was Ok, but the commit msg wrong
Andrew MacIntyre [Fri, 26 Dec 2003 00:19:28 +0000 (00:19 +0000)]
reverting 2.29: the patch was Ok, but the commit msg wrong

21 years agouse the correct macro to access list size
Andrew MacIntyre [Fri, 26 Dec 2003 00:09:04 +0000 (00:09 +0000)]
use the correct macro to access list size

21 years agoAt 2.2, the Py<type>_Check() family of API functions (macros) changed
Andrew MacIntyre [Fri, 26 Dec 2003 00:07:51 +0000 (00:07 +0000)]
At 2.2, the Py<type>_Check() family of API functions (macros) changed
semantics to include subtypes.  Most concrete object APIs then had
a Py<type>_CheckExact() macro added to test for an object's type
not including subtypes.

The PyDict_CheckExact() macro wasn't created at that time, so I've added
it for API completeness/symmetry - even though nobody has complained
about its absence in the time since 2.2 was released.

Not a backport candidate.

21 years agoThe semantics of PyList_Check() and PyDict_Check() changed at 2.2, along
Andrew MacIntyre [Fri, 26 Dec 2003 00:02:23 +0000 (00:02 +0000)]
The semantics of PyList_Check() and PyDict_Check() changed at 2.2, along
with most other concrete object checks, but the docs weren't brought into
line.

PyList_CheckExact() was added at 2.2 but never documented.

backport candidate.

21 years agoThe semantics of PyList_Check() and PyDict_Check() changed at 2.2, along
Andrew MacIntyre [Thu, 25 Dec 2003 23:57:52 +0000 (23:57 +0000)]
The semantics of PyList_Check() and PyDict_Check() changed at 2.2, along
with most other concrete object checks, but the docs weren't brought into
line.

PyList_CheckExact() was added at 2.2 but never documented.

backport candidate.

21 years agoPerformance of list([]) in 2.3 came up in a thread on comp.lang.python,
Andrew MacIntyre [Thu, 25 Dec 2003 13:28:48 +0000 (13:28 +0000)]
Performance of list([]) in 2.3 came up in a thread on comp.lang.python,
which can be reviewed via
http://coding.derkeiler.com/Archive/Python/comp.lang.python/2003-12/1011.html

Duncan Booth investigated, and discovered that an "optimisation" was
in fact a pessimisation for small numbers of elements in a source list,
compared to not having the optimisation, although with large numbers
of elements in the source list the optimisation was quite beneficial.

He posted his change to comp.lang.python (but not to SF).

Further research has confirmed his assessment that the optimisation only
becomes a net win when the source list has more than 100 elements.

I also found that the optimisation could apply to tuples as well,
but the gains only arrive with source tuples larger than about 320
elements and are nowhere near as significant as the gains with lists,
(~95% gain @ 10000 elements for lists, ~20% gain @ 10000 elements for
tuples) so I haven't proceeded with this.

The code as it was applied the optimisation to list subclasses as
well, and this also appears to be a net loss for all reasonable sized
sources (~80-100% for up to 100 elements, ~20% for more than 500
elements; I tested up to 10000 elements).

Duncan also suggested special casing empty lists, which I've extended
to all empty sequences.

On the basis that list_fill() is only ever called with a list for the
result argument, testing for the source being the destination has
now happens before testing source types.

21 years agoadd definitions required for expat 1.95.7
Andrew MacIntyre [Thu, 25 Dec 2003 13:25:20 +0000 (13:25 +0000)]
add definitions required for expat 1.95.7

21 years ago[Bug #850823] Fix broken link
Andrew M. Kuchling [Tue, 23 Dec 2003 17:04:35 +0000 (17:04 +0000)]
[Bug #850823] Fix broken link

21 years ago[Bug #850818] Accept Gregory H. Ball's suggested rewrite of a confusing description
Andrew M. Kuchling [Tue, 23 Dec 2003 17:01:38 +0000 (17:01 +0000)]
[Bug #850818] Accept Gregory H. Ball's suggested rewrite of a confusing description

21 years ago[Bug #857821] Remove mention of deprecated string.{atol,atof} functions. (Patch...
Andrew M. Kuchling [Tue, 23 Dec 2003 16:53:34 +0000 (16:53 +0000)]
[Bug #857821] Remove mention of deprecated string.{atol,atof} functions.  (Patch from Gerrit Holl)

21 years agoFix silly typo
Andrew M. Kuchling [Tue, 23 Dec 2003 16:46:41 +0000 (16:46 +0000)]
Fix silly typo

21 years agoAs part of fixing bug #829532, add a test case that exercises os.makedirs
Andrew M. Kuchling [Tue, 23 Dec 2003 16:36:11 +0000 (16:36 +0000)]
As part of fixing bug #829532, add a test case that exercises os.makedirs

21 years ago[Bug #829532] Invoking os.makedirs() with an argument that contains a
Andrew M. Kuchling [Tue, 23 Dec 2003 16:33:28 +0000 (16:33 +0000)]
[Bug #829532] Invoking os.makedirs() with an argument that contains a
    directory name with a single dot fails.  The patch skips creating
    directories named os.curdir. (Patch by Bram Moolenaar)

2.3 bugfix candidate.

21 years agoFix unicode.rsplit()'s bug that ignores separater on the end of string when
Hye-Shik Chang [Tue, 23 Dec 2003 09:10:16 +0000 (09:10 +0000)]
Fix unicode.rsplit()'s bug that ignores separater on the end of string when
using specialized splitter for 1 char sep.

21 years agoChanged the UCHAR_MAX error msg a bit: we don't really assume anything
Tim Peters [Mon, 22 Dec 2003 18:10:51 +0000 (18:10 +0000)]
Changed the UCHAR_MAX error msg a bit:  we don't really assume anything
about "characters", we assume something about C's char type (which is
an integral type).

21 years agoThere are places in Python which assume bytes have 8-bits. Formalize that a
Skip Montanaro [Mon, 22 Dec 2003 16:31:41 +0000 (16:31 +0000)]
There are places in Python which assume bytes have 8-bits.  Formalize that a
bit by checking the value of UCHAR_MAX in Include/Python.h.  There was a
check in Objects/stringobject.c.  Remove that.  (Note that we don't define
UCHAR_MAX if it's not defined as the old test did.)

21 years ago(forced commit)
Hye-Shik Chang [Mon, 22 Dec 2003 01:33:08 +0000 (01:33 +0000)]
(forced commit)
Previous revision was a fix for a problem by not 2.204 but 2.205.

21 years agoFix broken xmlcharrefreplace by rev 2.204.
Hye-Shik Chang [Mon, 22 Dec 2003 01:31:13 +0000 (01:31 +0000)]
Fix broken xmlcharrefreplace by rev 2.204.
(Pointy hat goes to perky)

21 years agoMake sure the UserDict copies do not share the same underlying
Raymond Hettinger [Sun, 21 Dec 2003 22:19:08 +0000 (22:19 +0000)]
Make sure the UserDict copies do not share the same underlying
dictionary as the original.  This parallels MvL's change to
Lib/os.py 1.56.

Backport candidate.

21 years agoPython 2.3.3 Window build number and release date.
Thomas Heller [Sat, 20 Dec 2003 22:29:03 +0000 (22:29 +0000)]
Python 2.3.3 Window build number and release date.

21 years agoAdd the first of (hopefully) many third-party licenses and acknowledgements.
Raymond Hettinger [Sat, 20 Dec 2003 20:53:31 +0000 (20:53 +0000)]
Add the first of (hopefully) many third-party licenses and acknowledgements.

21 years agoRemove self from the arguments for the function add_type().
Walter Dörwald [Fri, 19 Dec 2003 18:15:10 +0000 (18:15 +0000)]
Remove self from the arguments for the function add_type().

Backport candidate.

21 years agoSF #859573: Reduce compiler warnings on gcc 3.2 and above.
Hye-Shik Chang [Fri, 19 Dec 2003 01:59:56 +0000 (01:59 +0000)]
SF #859573: Reduce compiler warnings on gcc 3.2 and above.

21 years agoEnable some unittests on FreeBSD.
Hye-Shik Chang [Fri, 19 Dec 2003 01:16:03 +0000 (01:16 +0000)]
Enable some unittests on FreeBSD.

test__locale: add typical POSIX-style full locale names.
test_locale: use en_US.US-ASCII on FreeBSD.

21 years agoSync with python-mode project. Adds two changes:
Skip Montanaro [Thu, 18 Dec 2003 21:53:33 +0000 (21:53 +0000)]
Sync with python-mode project.  Adds two changes:

* in py-checker-run, fall back to read-string if read-shell-command
  (XEmacs-specific) is not available.

* highlight variables would mask builtins as if they were keywords.

21 years agominor markup adjustment
Fred Drake [Thu, 18 Dec 2003 20:58:34 +0000 (20:58 +0000)]
minor markup adjustment

21 years agoFix typo
Andrew M. Kuchling [Thu, 18 Dec 2003 13:28:35 +0000 (13:28 +0000)]
Fix typo

21 years agoAdd various items
Andrew M. Kuchling [Thu, 18 Dec 2003 13:28:13 +0000 (13:28 +0000)]
Add various items

21 years agofix loss of a space after indexing markup
Fred Drake [Thu, 18 Dec 2003 06:26:56 +0000 (06:26 +0000)]
fix loss of a space after indexing markup

21 years ago- use correct markup
Fred Drake [Thu, 18 Dec 2003 06:23:33 +0000 (06:23 +0000)]
- use correct markup
- re-wrap resulting long lines

21 years agofix weird sh-bang line
Fred Drake [Thu, 18 Dec 2003 05:29:33 +0000 (05:29 +0000)]
fix weird sh-bang line

21 years agoavoid bash-isms
Fred Drake [Thu, 18 Dec 2003 05:28:30 +0000 (05:28 +0000)]
avoid bash-isms

21 years agoGuido grants a Christmas wish:
Raymond Hettinger [Wed, 17 Dec 2003 21:38:26 +0000 (21:38 +0000)]
Guido grants a Christmas wish:
  sorted() becomes a regular function instead of a classmethod.

21 years agoGuido grants a Christmas wish:
Raymond Hettinger [Wed, 17 Dec 2003 20:50:46 +0000 (20:50 +0000)]
Guido grants a Christmas wish:
  sorted() becomes a regular function instead of a classmethod.

21 years agoRemove methods that are no longer called by urllib2.
Jeremy Hylton [Wed, 17 Dec 2003 20:47:28 +0000 (20:47 +0000)]
Remove methods that are no longer called by urllib2.

21 years agoGuido grants a Christmas wish:
Raymond Hettinger [Wed, 17 Dec 2003 20:43:33 +0000 (20:43 +0000)]
Guido grants a Christmas wish:
  sorted() becomes a regular function instead of a classmethod.

21 years agoAdd methods to MockHTTPClass for modern httplib interface.
Jeremy Hylton [Wed, 17 Dec 2003 20:42:38 +0000 (20:42 +0000)]
Add methods to MockHTTPClass for modern httplib interface.
Replace lots of assert_(x == y) with assertEqual(x, y).

21 years agoRewrite AbstractHTTPHandler to use modern httplib interface.
Jeremy Hylton [Wed, 17 Dec 2003 18:52:16 +0000 (18:52 +0000)]
Rewrite AbstractHTTPHandler to use modern httplib interface.

The chief benefit of this change is that requests will now use
HTTP/1.1 instead of HTTP/1.0.  Bump the module version number as part
of the change.

There are two possible incompatibilities that we'll need to watch out
for when we get to an alpha release.  We may get a different class of
exceptions out of httplib, and the do_open() method changed its
signature.  The latter is only important if anyone actually subclasses
AbstractHTTPHandler.

21 years agoFix erroneus argument parsing of socket.htons() on 64bit big endian
Hye-Shik Chang [Wed, 17 Dec 2003 09:40:23 +0000 (09:40 +0000)]
Fix erroneus argument parsing of socket.htons() on 64bit big endian
machines.

21 years agoUpdate documentations for str.rsplit() with Alex Martelli's rewrite.
Hye-Shik Chang [Wed, 17 Dec 2003 02:49:03 +0000 (02:49 +0000)]
Update documentations for str.rsplit() with Alex Martelli's rewrite.

21 years agoMake example more readable
Andrew M. Kuchling [Tue, 16 Dec 2003 20:59:37 +0000 (20:59 +0000)]
Make example more readable

21 years agoSpeedup set.update by using the override mode for PyDict_Merge().
Raymond Hettinger [Mon, 15 Dec 2003 21:16:06 +0000 (21:16 +0000)]
Speedup set.update by using the override mode for PyDict_Merge().

21 years agoAdd rsplit method for UserString, too.
Hye-Shik Chang [Mon, 15 Dec 2003 19:46:09 +0000 (19:46 +0000)]
Add rsplit method for UserString, too.
(Spotted by Raymond Hettinger)

21 years agoFix typo and improve wording a bit.
Raymond Hettinger [Mon, 15 Dec 2003 19:24:34 +0000 (19:24 +0000)]
Fix typo and improve wording a bit.

21 years agoAdd an entry for addition of {str,unicode}.rsplit.
Hye-Shik Chang [Mon, 15 Dec 2003 18:51:19 +0000 (18:51 +0000)]
Add an entry for addition of {str,unicode}.rsplit.

21 years agoAdd rsplit method for str and unicode builtin types.
Hye-Shik Chang [Mon, 15 Dec 2003 18:49:53 +0000 (18:49 +0000)]
Add rsplit method for str and unicode builtin types.

SF feature request #801847.
Original patch is written by Sean Reifschneider.

21 years agoRemove __del__ methods to avoid creating uncollectable cyclic trash.
Jeremy Hylton [Mon, 15 Dec 2003 16:08:48 +0000 (16:08 +0000)]
Remove __del__ methods to avoid creating uncollectable cyclic trash.
Keep close() methods for backwards compatibility.

Does any call close() explicitly?

21 years agomissing word (should backport - is release23-maint still locked?)
Skip Montanaro [Mon, 15 Dec 2003 14:38:57 +0000 (14:38 +0000)]
missing word (should backport - is release23-maint still locked?)

21 years agoImprove algorithm for set.difference when the input is not a set.
Raymond Hettinger [Mon, 15 Dec 2003 13:23:55 +0000 (13:23 +0000)]
Improve algorithm for set.difference when the input is not a set.

21 years agoMake the module docstring a raw string, so that the backslash in
Walter Dörwald [Mon, 15 Dec 2003 10:16:09 +0000 (10:16 +0000)]
Make the module docstring a raw string, so that the backslash in
"read until end of line ('\n') or EOF" will be treated literally.
Fixes SF bug #860155.