]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
22 years agoBackport fix for SF808594: leak on lambda with duplicate arguments.
Jeremy Hylton [Mon, 22 Sep 2003 04:41:21 +0000 (04:41 +0000)] 
Backport fix for SF808594: leak on lambda with duplicate arguments.

22 years agoRPM spec file updates from Sean Reifschneider.
Anthony Baxter [Mon, 22 Sep 2003 04:21:04 +0000 (04:21 +0000)] 
RPM spec file updates from Sean Reifschneider.

22 years agoAdd BerkeleyDB 4.2 library to the bsddb module search path
Gregory P. Smith [Mon, 22 Sep 2003 01:19:45 +0000 (01:19 +0000)] 
Add BerkeleyDB 4.2 library to the bsddb module search path
(backport 1.173)

22 years agominor correction. python 2.3 was released with the bsddb module 4.1.6 not 4.1.1
Gregory P. Smith [Sun, 21 Sep 2003 23:42:16 +0000 (23:42 +0000)] 
minor correction.  python 2.3 was released with the bsddb module 4.1.6 not 4.1.1
(port of 1.161->1.162)

22 years agosimplify some import statements and clean up a docstring and BerkeleyDB library
Gregory P. Smith [Sun, 21 Sep 2003 23:18:29 +0000 (23:18 +0000)] 
simplify some import statements and clean up a docstring and BerkeleyDB library
version check to mention that we support versions 3.2 - 4.2.

22 years agosupport for compiling with BerkeleyDB 4.2.x (soon to be released). this
Gregory P. Smith [Sun, 21 Sep 2003 23:10:23 +0000 (23:10 +0000)] 
support for compiling with BerkeleyDB 4.2.x (soon to be released).  this
is a partial version of the 1.18->1.19 patch.  i left out the ability for
the module to also load as _pybsddb in addition to _bsddb as that applies
more to pybsddb than python.

22 years agoport of 1.17->1.18 change. adds DBEnv.set_shm_key method.
Gregory P. Smith [Sun, 21 Sep 2003 23:06:20 +0000 (23:06 +0000)] 
port of 1.17->1.18 change.  adds DBEnv.set_shm_key method.

22 years agoBackport Greg's patch (1.7 to 1.8) for backwards code compatability.
Raymond Hettinger [Sun, 21 Sep 2003 04:51:46 +0000 (04:51 +0000)] 
Backport Greg's patch (1.7 to 1.8) for backwards code compatability.

22 years agoBackport Tim's fix to SF #809915.
Raymond Hettinger [Sun, 21 Sep 2003 04:38:33 +0000 (04:38 +0000)] 
Backport Tim's fix to SF #809915.
Creates a url that should always be invalid.

22 years agoCheck for declarations of fchdir and fsync. Fixes #800710.
Martin v. Löwis [Sat, 20 Sep 2003 15:29:42 +0000 (15:29 +0000)] 
Check for declarations of fchdir and fsync. Fixes #800710.

22 years agoPatch #805613: Fix usage of the PTH library.
Martin v. Löwis [Sat, 20 Sep 2003 11:13:18 +0000 (11:13 +0000)] 
Patch #805613: Fix usage of the PTH library.

22 years agoPatch #808362: Fix typos.
Martin v. Löwis [Sat, 20 Sep 2003 11:09:06 +0000 (11:09 +0000)] 
Patch #808362: Fix typos.

22 years agoPatch #713645: Fix typo.
Martin v. Löwis [Sat, 20 Sep 2003 11:04:44 +0000 (11:04 +0000)] 
Patch #713645: Fix typo.

22 years agoPatch #793559: Reset __starttext_tag. Fixes #709491.
Martin v. Löwis [Sat, 20 Sep 2003 10:58:03 +0000 (10:58 +0000)] 
Patch #793559: Reset __starttext_tag. Fixes #709491.

22 years agoPatch #805678: Add .so symlink during make install.
Martin v. Löwis [Sat, 20 Sep 2003 10:50:28 +0000 (10:50 +0000)] 
Patch #805678: Add .so symlink during make install.

22 years agoPatch #805604: Do not check for sem_init, do not use -Kthread,
Martin v. Löwis [Sat, 20 Sep 2003 10:47:28 +0000 (10:47 +0000)] 
Patch #805604: Do not check for sem_init, do not use -Kthread,
if configured --without-threads.

22 years agoMention improvement of detection of broken tzset() (patch #762934).
Brett Cannon [Fri, 19 Sep 2003 01:01:59 +0000 (01:01 +0000)] 
Mention improvement of detection of broken tzset() (patch #762934).

22 years agoImprove detection of broken implementations of tzset().
Brett Cannon [Fri, 19 Sep 2003 01:00:16 +0000 (01:00 +0000)] 
Improve detection of broken implementations of tzset().

22 years agoFix a typo found by Eric D. Moyer, closes SF 807813.
Thomas Heller [Wed, 17 Sep 2003 17:12:31 +0000 (17:12 +0000)] 
Fix a typo found by Eric D. Moyer, closes SF 807813.

Will backport to 2.3.

22 years agoBackport Tim's portability improvement and comments.
Jeremy Hylton [Wed, 17 Sep 2003 03:22:27 +0000 (03:22 +0000)] 
Backport Tim's portability improvement and comments.

22 years ago* Minor wording change
Raymond Hettinger [Tue, 16 Sep 2003 22:05:33 +0000 (22:05 +0000)] 
* Minor wording change
* Reference the doctest.DocTestSuite() conversion tool.

22 years agoFix documentation bugs.
Raymond Hettinger [Tue, 16 Sep 2003 21:42:13 +0000 (21:42 +0000)] 
Fix documentation bugs.
Add support for iterators and other mapping methods.
Convert tests to unittest format and expand their coverage.

22 years agoBackport: Double-fix of crash in Unicode freelist handling.
Jeremy Hylton [Tue, 16 Sep 2003 20:30:03 +0000 (20:30 +0000)] 
Backport: Double-fix of crash in Unicode freelist handling.

22 years agoFix leak in classobject.c. The leak surfaced on the error exit when
Raymond Hettinger [Tue, 16 Sep 2003 07:13:56 +0000 (07:13 +0000)] 
Fix leak in classobject.c.  The leak surfaced on the error exit when
hashing a class that does not define __hash__ but does define a
comparison.

22 years agoBackport Neal's fix for bug #789402 -- a memory leak in fileobject.c
Raymond Hettinger [Tue, 16 Sep 2003 05:29:50 +0000 (05:29 +0000)] 
Backport Neal's fix for bug #789402 -- a memory leak in fileobject.c

22 years agoBackport addition of the __all__ attribute for unittest.py
Raymond Hettinger [Tue, 16 Sep 2003 04:55:32 +0000 (04:55 +0000)] 
Backport addition of the __all__ attribute for unittest.py

22 years agoBackport leak fix for new code objects.
Raymond Hettinger [Tue, 16 Sep 2003 04:36:33 +0000 (04:36 +0000)] 
Backport leak fix for new code objects.

22 years agoSF bug #804113: Crypto terminology for crypto hash function
Raymond Hettinger [Mon, 15 Sep 2003 18:20:13 +0000 (18:20 +0000)] 
SF bug #804113:  Crypto terminology for crypto hash function

Noted that the SHA algorithm is really SHA-1.
(Contributed by Ronald Rivest.)

22 years agoSF bug #804115: bad argument handling(unittest.py)
Raymond Hettinger [Sat, 13 Sep 2003 02:59:00 +0000 (02:59 +0000)] 
SF bug #804115:  bad argument handling(unittest.py)

22 years agoPatch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.
Martin v. Löwis [Fri, 12 Sep 2003 16:37:45 +0000 (16:37 +0000)] 
Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.

22 years agoSF bug #804280: fromkeys is not listed in index
Raymond Hettinger [Fri, 12 Sep 2003 00:03:56 +0000 (00:03 +0000)] 
SF bug #804280:  fromkeys is not listed in index

22 years ago- add version annotation for HIGHEST_PROTOCOL
Fred Drake [Wed, 10 Sep 2003 20:50:06 +0000 (20:50 +0000)] 
- add version annotation for HIGHEST_PROTOCOL
- cleaned up some markup

22 years agoSF bug #803679: Missing section number in csv module documentation
Raymond Hettinger [Wed, 10 Sep 2003 18:57:04 +0000 (18:57 +0000)] 
SF bug #803679:  Missing section number in csv module documentation

22 years agoSF bug #803842: Wrong description of regexp concatenation
Raymond Hettinger [Wed, 10 Sep 2003 18:45:55 +0000 (18:45 +0000)] 
SF bug #803842:  Wrong description of regexp concatenation

22 years agoSF bug #802302: Invalid documentation for dbhash.
Raymond Hettinger [Wed, 10 Sep 2003 04:45:22 +0000 (04:45 +0000)] 
SF bug #802302:  Invalid documentation for dbhash.

The documentation severely departed for the actual implementation.

22 years agoSF patch #800899: Making "|" directive from REs a bit clearer.
Raymond Hettinger [Wed, 10 Sep 2003 03:55:26 +0000 (03:55 +0000)] 
SF patch #800899:  Making "|" directive from REs a bit clearer.

22 years agoSF #792649: RESET_ERROR is not defined(logging module)
Raymond Hettinger [Wed, 10 Sep 2003 03:31:47 +0000 (03:31 +0000)] 
SF #792649:  RESET_ERROR is not defined(logging module)

22 years agoFix typo.
Raymond Hettinger [Wed, 10 Sep 2003 00:12:29 +0000 (00:12 +0000)] 
Fix typo.

22 years agoSF #801306: Bad RE in scanf example
Raymond Hettinger [Tue, 9 Sep 2003 01:32:16 +0000 (01:32 +0000)] 
SF #801306:  Bad RE in scanf example

22 years agoSF bug #560286: Add docs for 'basestring'
Raymond Hettinger [Tue, 9 Sep 2003 01:13:59 +0000 (01:13 +0000)] 
SF bug #560286:  Add docs for 'basestring'

22 years agoAdd an example to address a common question of how to split iterators.
Raymond Hettinger [Tue, 9 Sep 2003 00:07:44 +0000 (00:07 +0000)] 
Add an example to address a common question of how to split iterators.

22 years agoSet the warnings stacklevel to two.
Raymond Hettinger [Mon, 8 Sep 2003 19:15:43 +0000 (19:15 +0000)] 
Set the warnings stacklevel to two.

22 years agoFix spacing markup and other sundries.
Raymond Hettinger [Mon, 8 Sep 2003 19:01:57 +0000 (19:01 +0000)] 
Fix spacing markup and other sundries.

22 years agoFix spacing markup and other sundries.
Raymond Hettinger [Mon, 8 Sep 2003 18:55:01 +0000 (18:55 +0000)] 
Fix spacing markup and other sundries.

22 years agoGeneralize the last change to check for other markup spacing errors.
Raymond Hettinger [Mon, 8 Sep 2003 18:43:46 +0000 (18:43 +0000)] 
Generalize the last change to check for other markup spacing errors.

22 years agobackport from trunk:
Fred Drake [Mon, 8 Sep 2003 18:10:15 +0000 (18:10 +0000)] 
backport from trunk:
- reorganize sections
- lots of markup changes

22 years agotexcheck.py checks for double word errors and \NULL markup.
Raymond Hettinger [Mon, 8 Sep 2003 18:06:46 +0000 (18:06 +0000)] 
texcheck.py checks for double word errors and \NULL markup.

22 years agoCheck for \NULL markup errors and doubled words.
Raymond Hettinger [Mon, 8 Sep 2003 17:36:11 +0000 (17:36 +0000)] 
Check for \NULL markup errors and doubled words.

22 years agoFix NULL markup.
Raymond Hettinger [Sun, 7 Sep 2003 23:38:08 +0000 (23:38 +0000)] 
Fix NULL markup.

22 years agoOnly release buffer after file has been closed. Fixes #800824.
Martin v. Löwis [Sun, 7 Sep 2003 20:43:24 +0000 (20:43 +0000)] 
Only release buffer after file has been closed. Fixes #800824.

22 years agofix \NULL with following space and no {}
Fred Drake [Sun, 7 Sep 2003 02:35:25 +0000 (02:35 +0000)] 
fix \NULL with following space and no {}

22 years agofix \NULL with following space and no {} (two instances)
Fred Drake [Sun, 7 Sep 2003 02:34:58 +0000 (02:34 +0000)] 
fix \NULL with following space and no {} (two instances)

22 years agobackport Brett's markup fix from revision 1.28:
Fred Drake [Sun, 7 Sep 2003 02:26:54 +0000 (02:26 +0000)] 
backport Brett's markup fix from revision 1.28:
add missing {} after \NULL

22 years ago**kwds arg was missing from __init__ for Dict{Reader,Writer} classes.
Skip Montanaro [Sat, 6 Sep 2003 19:52:28 +0000 (19:52 +0000)] 
**kwds arg was missing from __init__ for Dict{Reader,Writer} classes.

22 years agoadd missing dependency
Fred Drake [Sat, 6 Sep 2003 06:42:42 +0000 (06:42 +0000)] 
add missing dependency

22 years agoSF bug 799191: fix markup
Raymond Hettinger [Sat, 6 Sep 2003 05:48:07 +0000 (05:48 +0000)] 
SF bug 799191:  fix markup

22 years agoSF bug 799367: grammar error
Raymond Hettinger [Sat, 6 Sep 2003 05:36:56 +0000 (05:36 +0000)] 
SF bug 799367:  grammar error

22 years agoSF bug #801486: Markup error.
Raymond Hettinger [Sat, 6 Sep 2003 04:40:29 +0000 (04:40 +0000)] 
SF bug #801486:  Markup error.

22 years agoElaborate the explanation of different flavors of _* identifiers.
Fred Drake [Sat, 6 Sep 2003 03:48:16 +0000 (03:48 +0000)] 
Elaborate the explanation of different flavors of _* identifiers.
Fixes SF bug #520325.

22 years agoAs of 7B53 things seem to work smoothly.
Jack Jansen [Fri, 5 Sep 2003 22:09:14 +0000 (22:09 +0000)] 
As of 7B53 things seem to work smoothly.

22 years agoSF bug #801342: Bug (documentation or real, your choice) in random.sample.
Raymond Hettinger [Fri, 5 Sep 2003 21:40:30 +0000 (21:40 +0000)] 
SF bug #801342:  Bug (documentation or real, your choice) in random.sample.

random.sample() uses one of two algorithms depending on the ratio of the
sample size to the population size.  One of the algorithms accepted any
iterable population argument so long as it defined __len__().  The other
had a stronger requirement that the population argument be indexable.

While it met the documentation specifications which insisted that the
population argument be a sequence, it made random.sample() less usable
with sets.  So, the second algorithm was modified to coerce non-indexable
iterables and dictionaries into a tuple before proceeding.

22 years agoSF bug #800796: Difference between hash() and __hash__()
Raymond Hettinger [Fri, 5 Sep 2003 14:38:30 +0000 (14:38 +0000)] 
SF bug #800796:  Difference between hash() and __hash__()

slice(5).__hash__() now raises a TypeError.

22 years agoPatch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().
Martin v. Löwis [Thu, 4 Sep 2003 19:02:20 +0000 (19:02 +0000)] 
Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().
Fixes #603724.

22 years agoPatch #798202: detect redhat9 Tcl/Tk in configure script.
Martin v. Löwis [Thu, 4 Sep 2003 18:52:07 +0000 (18:52 +0000)] 
Patch #798202: detect redhat9 Tcl/Tk in configure script.

22 years agoPatch #794826: Add __file__ in dynamically loaded modules for multiple
Martin v. Löwis [Thu, 4 Sep 2003 18:46:39 +0000 (18:46 +0000)] 
Patch #794826: Add __file__ in dynamically loaded modules for multiple
interpreters. Fixes #698282.

22 years agoPatch #792338: Correct documentation for timetuple return type.
Martin v. Löwis [Thu, 4 Sep 2003 18:30:15 +0000 (18:30 +0000)] 
Patch #792338: Correct documentation for timetuple return type.

22 years agoPatch #798145: Return correct information from nl_langinfo(RADIXCHAR).
Martin v. Löwis [Thu, 4 Sep 2003 18:26:07 +0000 (18:26 +0000)] 
Patch #798145: Return correct information from nl_langinfo(RADIXCHAR).

22 years agoCatch locale.error as well. Fixes #788378.
Martin v. Löwis [Wed, 3 Sep 2003 05:15:20 +0000 (05:15 +0000)] 
Catch locale.error as well. Fixes #788378.

22 years agoUse de_DE in example, change message for unknown locale. Fixes #797447.
Martin v. Löwis [Wed, 3 Sep 2003 04:53:17 +0000 (04:53 +0000)] 
Use de_DE in example, change message for unknown locale. Fixes #797447.

22 years agoNEWS about email package 794466 patch.
Barry Warsaw [Wed, 3 Sep 2003 04:22:39 +0000 (04:22 +0000)] 
NEWS about email package 794466 patch.

22 years agotest_get_param_with_semis_in_quotes(): Test case for SF bug #794466.
Barry Warsaw [Wed, 3 Sep 2003 04:22:00 +0000 (04:22 +0000)] 
test_get_param_with_semis_in_quotes(): Test case for SF bug #794466.

Backport candidate.

22 years agoA fix for parsing parameters when there are semicolons inside the
Barry Warsaw [Wed, 3 Sep 2003 04:21:29 +0000 (04:21 +0000)] 
A fix for parsing parameters when there are semicolons inside the
quotes.  Fixes SF bug #794466, with the essential patch provided by
Stuart D. Gathman.  Specifically,

_parseparam(), _get_params_preserve(): Use the parsing function that
takes quotes into account, as given (essentially) in the bug report's
test program.

22 years agoDocument the Pynche patch.
Barry Warsaw [Wed, 3 Sep 2003 03:25:27 +0000 (03:25 +0000)] 
Document the Pynche patch.

22 years agoFix for SF bug #780996, crash when no .pynche file exists and -d
Barry Warsaw [Wed, 3 Sep 2003 03:23:44 +0000 (03:23 +0000)] 
Fix for SF bug #780996, crash when no .pynche file exists and -d
option is not given.  If dbfile isn't given and can't be retrieved
from the optionsdb, just initialize it to the first element in
RGB_TXT.

(backported)

22 years agoOnly apply case-insensitivity test on appropriate platforms.' test_filecmp.py
Raymond Hettinger [Tue, 2 Sep 2003 07:01:11 +0000 (07:01 +0000)] 
Only apply case-insensitivity test on appropriate platforms.' test_filecmp.py

22 years agoSF bug #453515: filecmp.dircmp case sensitivity bug
Raymond Hettinger [Tue, 2 Sep 2003 05:47:17 +0000 (05:47 +0000)] 
SF bug #453515:  filecmp.dircmp case sensitivity bug

22 years agoSF patch #798534: Windows os.popen needlessly gets a reference to tuple ()
Raymond Hettinger [Tue, 2 Sep 2003 04:24:34 +0000 (04:24 +0000)] 
SF patch #798534:  Windows os.popen needlessly gets a reference to tuple ()
(Contributed by Andrew Gaul.)

Fixes a minor leak.

22 years agoFix failing test
Raymond Hettinger [Tue, 2 Sep 2003 04:19:02 +0000 (04:19 +0000)] 
Fix failing test

22 years agoSF patch #798255: Document httplib.HTTPResponse.read "amt" argument
Raymond Hettinger [Tue, 2 Sep 2003 02:34:12 +0000 (02:34 +0000)] 
SF patch #798255:  Document httplib.HTTPResponse.read "amt" argument
(Contributed by Jeff Epler.)

22 years agoSF 798269: bug fix for doctest (sf bug id: 798254
Raymond Hettinger [Tue, 2 Sep 2003 02:17:46 +0000 (02:17 +0000)] 
SF 798269:  bug fix for doctest (sf bug id: 798254
(Contributed by Alexander Belopolsky.)

22 years agoSF 798269: bug fix for doctest (sf bug id: 798254
Raymond Hettinger [Tue, 2 Sep 2003 02:10:09 +0000 (02:10 +0000)] 
SF 798269:  bug fix for doctest (sf bug id: 798254
(Contributed by Alexander Belopolsky.)

Doctest would crash when encountering unbound methods:
  class A:
    def f(self): pass

  class C(A):
    g = A.f

22 years agoSF patch #790443: add SafeConfigParser to __all__
Raymond Hettinger [Mon, 1 Sep 2003 23:31:39 +0000 (23:31 +0000)] 
SF patch #790443:  add SafeConfigParser to __all__
(Contributed by George Yoshida.)

22 years agoMinor typo
Raymond Hettinger [Mon, 1 Sep 2003 23:13:44 +0000 (23:13 +0000)] 
Minor typo

22 years agoSF patch #791153: inconsistency with implementation(logging)
Raymond Hettinger [Mon, 1 Sep 2003 22:52:14 +0000 (22:52 +0000)] 
SF patch #791153:  inconsistency with implementation(logging)
(Contributed by George Yoshida.)

22 years agoSF patch #798534: Windows os.popen needlessly gets a reference to tuple ()
Raymond Hettinger [Mon, 1 Sep 2003 22:34:31 +0000 (22:34 +0000)] 
SF patch #798534:  Windows os.popen needlessly gets a reference to tuple ()
(Contributed by Andrew Gaul.)

Fixes a minor leak.

22 years agoSF patch #798467: Update docstring of has_key for bool changes
Raymond Hettinger [Mon, 1 Sep 2003 22:17:18 +0000 (22:17 +0000)] 
SF patch #798467:  Update docstring of has_key for bool changes
(Contributed by George Yoshida.)

22 years agoFirst stab at build script for distribution for Panther. Unfortunately
Jack Jansen [Sun, 31 Aug 2003 23:40:51 +0000 (23:40 +0000)] 
First stab at build script for distribution for Panther. Unfortunately
at the moment it crashes the kernel:-)

22 years agoSF bug #797853: Small problems with the csv module's documentation
Raymond Hettinger [Sun, 31 Aug 2003 05:46:43 +0000 (05:46 +0000)] 
SF bug #797853:  Small problems with the csv module's documentation

22 years agoSF bug #732120:An extended definition of "non-overlapping" would save time.
Raymond Hettinger [Sun, 31 Aug 2003 05:30:18 +0000 (05:30 +0000)] 
SF bug #732120:An extended definition of "non-overlapping" would save time.

Clarified the meaning of non-overlapping in patterns with zero length
matches.

22 years agoSF patch #797157: Bug 794658: os.chmod docs, stat constants
Raymond Hettinger [Sun, 31 Aug 2003 05:11:15 +0000 (05:11 +0000)] 
SF patch #797157:  Bug 794658: os.chmod docs, stat constants
(Contributed by Christos Georgiou.)

Reference the symbol definitions in the stat module.

22 years agoSF bug #785222: zlib monotonic test
Raymond Hettinger [Sun, 31 Aug 2003 04:37:25 +0000 (04:37 +0000)] 
SF bug #785222:  zlib monotonic test

For smaller datasets, it is not always true the increasing the compression
level always results in better compression.  Removed the test which made
this invalid assumption.

22 years agoSF bug 798006: Fix long option markup.
Raymond Hettinger [Sun, 31 Aug 2003 04:21:42 +0000 (04:21 +0000)] 
SF bug 798006:  Fix long option markup.

22 years agoRemove 'e.g.' from error message
Raymond Hettinger [Sat, 30 Aug 2003 23:58:20 +0000 (23:58 +0000)] 
Remove 'e.g.' from error message

22 years agoSF patch #797180: Bug 792656: slicing explained
Raymond Hettinger [Sat, 30 Aug 2003 23:35:56 +0000 (23:35 +0000)] 
SF patch #797180: Bug 792656: slicing explained

22 years agoSF patch #797868: Tutorial, sec. 5.1.4 could contain an extra example
Raymond Hettinger [Sat, 30 Aug 2003 23:24:37 +0000 (23:24 +0000)] 
SF patch #797868:  Tutorial, sec. 5.1.4 could contain an extra example
(Revised from the original patch contributed by Michal Pasternak.)

Also, make a couple minor fixups elsewhere.

22 years ago* Add news item for the previous bugfix
Raymond Hettinger [Sat, 30 Aug 2003 22:16:59 +0000 (22:16 +0000)] 
* Add news item for the previous bugfix
* Backport itertoolsmodule.c 1.19 to re-sync Py2.3.1 with Py2.4.

22 years agoSF bug 797650: Infinite loop in textwrap.py
Raymond Hettinger [Sat, 30 Aug 2003 14:52:35 +0000 (14:52 +0000)] 
SF bug 797650: Infinite loop in textwrap.py

When the indents were set to longer than the width and long word breaking
was enabled, an infinite loop would result because the inner loop did not
assure that at least one character was stripped off on every pass.

22 years agoSF bug #793826: using itertools.izip to mutate tuples
Raymond Hettinger [Sat, 30 Aug 2003 00:16:08 +0000 (00:16 +0000)] 
SF bug #793826:  using itertools.izip to mutate tuples

Avoid Armin Rigo's dastardly exercise in re-entrancy.

22 years agoFor safety, replace a tuple entry before decreffing it.
Raymond Hettinger [Sat, 30 Aug 2003 00:11:16 +0000 (00:11 +0000)] 
For safety, replace a tuple entry before decreffing it.

22 years agoSF bug #793826: using itertools.izip to mutate tuples
Raymond Hettinger [Fri, 29 Aug 2003 23:13:16 +0000 (23:13 +0000)] 
SF bug #793826:  using itertools.izip to mutate tuples

Avoid Armin Rigo's dastardly exercise in re-entrancy.