]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Jeremy Hylton [Mon, 22 Sep 2003 04:41:21 +0000 (04:41 +0000)]
Backport fix for SF808594: leak on lambda with duplicate arguments.
Anthony Baxter [Mon, 22 Sep 2003 04:21:04 +0000 (04:21 +0000)]
RPM spec file updates from Sean Reifschneider.
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)
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)
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.
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.
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.
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.
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.
Martin v. Löwis [Sat, 20 Sep 2003 15:29:42 +0000 (15:29 +0000)]
Check for declarations of fchdir and fsync. Fixes #800710.
Martin v. Löwis [Sat, 20 Sep 2003 11:13:18 +0000 (11:13 +0000)]
Patch #805613: Fix usage of the PTH library.
Martin v. Löwis [Sat, 20 Sep 2003 11:09:06 +0000 (11:09 +0000)]
Patch #808362: Fix typos.
Martin v. Löwis [Sat, 20 Sep 2003 11:04:44 +0000 (11:04 +0000)]
Patch #713645: Fix typo.
Martin v. Löwis [Sat, 20 Sep 2003 10:58:03 +0000 (10:58 +0000)]
Patch #793559: Reset __starttext_tag. Fixes #709491.
Martin v. Löwis [Sat, 20 Sep 2003 10:50:28 +0000 (10:50 +0000)]
Patch #805678: Add .so symlink during make install.
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.
Brett Cannon [Fri, 19 Sep 2003 01:01:59 +0000 (01:01 +0000)]
Mention improvement of detection of broken tzset() (patch #762934).
Brett Cannon [Fri, 19 Sep 2003 01:00:16 +0000 (01:00 +0000)]
Improve detection of broken implementations of tzset().
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.
Jeremy Hylton [Wed, 17 Sep 2003 03:22:27 +0000 (03:22 +0000)]
Backport Tim's portability improvement and comments.
Raymond Hettinger [Tue, 16 Sep 2003 22:05:33 +0000 (22:05 +0000)]
* Minor wording change
* Reference the doctest.DocTestSuite() conversion tool.
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.
Jeremy Hylton [Tue, 16 Sep 2003 20:30:03 +0000 (20:30 +0000)]
Backport: Double-fix of crash in Unicode freelist handling.
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.
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
Raymond Hettinger [Tue, 16 Sep 2003 04:55:32 +0000 (04:55 +0000)]
Backport addition of the __all__ attribute for unittest.py
Raymond Hettinger [Tue, 16 Sep 2003 04:36:33 +0000 (04:36 +0000)]
Backport leak fix for new code objects.
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.)
Raymond Hettinger [Sat, 13 Sep 2003 02:59:00 +0000 (02:59 +0000)]
SF bug #804115: bad argument handling(unittest.py)
Martin v. Löwis [Fri, 12 Sep 2003 16:37:45 +0000 (16:37 +0000)]
Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.
Raymond Hettinger [Fri, 12 Sep 2003 00:03:56 +0000 (00:03 +0000)]
SF bug #804280: fromkeys is not listed in index
Fred Drake [Wed, 10 Sep 2003 20:50:06 +0000 (20:50 +0000)]
- add version annotation for HIGHEST_PROTOCOL
- cleaned up some markup
Raymond Hettinger [Wed, 10 Sep 2003 18:57:04 +0000 (18:57 +0000)]
SF bug #803679: Missing section number in csv module documentation
Raymond Hettinger [Wed, 10 Sep 2003 18:45:55 +0000 (18:45 +0000)]
SF bug #803842: Wrong description of regexp concatenation
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.
Raymond Hettinger [Wed, 10 Sep 2003 03:55:26 +0000 (03:55 +0000)]
SF patch #800899: Making "|" directive from REs a bit clearer.
Raymond Hettinger [Wed, 10 Sep 2003 03:31:47 +0000 (03:31 +0000)]
SF #792649: RESET_ERROR is not defined(logging module)
Raymond Hettinger [Wed, 10 Sep 2003 00:12:29 +0000 (00:12 +0000)]
Fix typo.
Raymond Hettinger [Tue, 9 Sep 2003 01:32:16 +0000 (01:32 +0000)]
SF #801306: Bad RE in scanf example
Raymond Hettinger [Tue, 9 Sep 2003 01:13:59 +0000 (01:13 +0000)]
SF bug #560286: Add docs for 'basestring'
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.
Raymond Hettinger [Mon, 8 Sep 2003 19:15:43 +0000 (19:15 +0000)]
Set the warnings stacklevel to two.
Raymond Hettinger [Mon, 8 Sep 2003 19:01:57 +0000 (19:01 +0000)]
Fix spacing markup and other sundries.
Raymond Hettinger [Mon, 8 Sep 2003 18:55:01 +0000 (18:55 +0000)]
Fix spacing markup and other sundries.
Raymond Hettinger [Mon, 8 Sep 2003 18:43:46 +0000 (18:43 +0000)]
Generalize the last change to check for other markup spacing errors.
Fred Drake [Mon, 8 Sep 2003 18:10:15 +0000 (18:10 +0000)]
backport from trunk:
- reorganize sections
- lots of markup changes
Raymond Hettinger [Mon, 8 Sep 2003 18:06:46 +0000 (18:06 +0000)]
texcheck.py checks for double word errors and \NULL markup.
Raymond Hettinger [Mon, 8 Sep 2003 17:36:11 +0000 (17:36 +0000)]
Check for \NULL markup errors and doubled words.
Raymond Hettinger [Sun, 7 Sep 2003 23:38:08 +0000 (23:38 +0000)]
Fix NULL markup.
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.
Fred Drake [Sun, 7 Sep 2003 02:35:25 +0000 (02:35 +0000)]
fix \NULL with following space and no {}
Fred Drake [Sun, 7 Sep 2003 02:34:58 +0000 (02:34 +0000)]
fix \NULL with following space and no {} (two instances)
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
Skip Montanaro [Sat, 6 Sep 2003 19:52:28 +0000 (19:52 +0000)]
**kwds arg was missing from __init__ for Dict{Reader,Writer} classes.
Fred Drake [Sat, 6 Sep 2003 06:42:42 +0000 (06:42 +0000)]
add missing dependency
Raymond Hettinger [Sat, 6 Sep 2003 05:48:07 +0000 (05:48 +0000)]
SF bug 799191: fix markup
Raymond Hettinger [Sat, 6 Sep 2003 05:36:56 +0000 (05:36 +0000)]
SF bug 799367: grammar error
Raymond Hettinger [Sat, 6 Sep 2003 04:40:29 +0000 (04:40 +0000)]
SF bug #801486: Markup error.
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.
Jack Jansen [Fri, 5 Sep 2003 22:09:14 +0000 (22:09 +0000)]
As of 7B53 things seem to work smoothly.
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.
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.
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.
Martin v. Löwis [Thu, 4 Sep 2003 18:52:07 +0000 (18:52 +0000)]
Patch #798202: detect redhat9 Tcl/Tk in configure script.
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.
Martin v. Löwis [Thu, 4 Sep 2003 18:30:15 +0000 (18:30 +0000)]
Patch #792338: Correct documentation for timetuple return type.
Martin v. Löwis [Thu, 4 Sep 2003 18:26:07 +0000 (18:26 +0000)]
Patch #798145: Return correct information from nl_langinfo(RADIXCHAR).
Martin v. Löwis [Wed, 3 Sep 2003 05:15:20 +0000 (05:15 +0000)]
Catch locale.error as well. Fixes #788378.
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.
Barry Warsaw [Wed, 3 Sep 2003 04:22:39 +0000 (04:22 +0000)]
NEWS about email package 794466 patch.
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.
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.
Barry Warsaw [Wed, 3 Sep 2003 03:25:27 +0000 (03:25 +0000)]
Document the Pynche patch.
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)
Raymond Hettinger [Tue, 2 Sep 2003 07:01:11 +0000 (07:01 +0000)]
Only apply case-insensitivity test on appropriate platforms.' test_filecmp.py
Raymond Hettinger [Tue, 2 Sep 2003 05:47:17 +0000 (05:47 +0000)]
SF bug #453515: filecmp.dircmp case sensitivity bug
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.
Raymond Hettinger [Tue, 2 Sep 2003 04:19:02 +0000 (04:19 +0000)]
Fix failing test
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.)
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.)
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
Raymond Hettinger [Mon, 1 Sep 2003 23:31:39 +0000 (23:31 +0000)]
SF patch #790443: add SafeConfigParser to __all__
(Contributed by George Yoshida.)
Raymond Hettinger [Mon, 1 Sep 2003 23:13:44 +0000 (23:13 +0000)]
Minor typo
Raymond Hettinger [Mon, 1 Sep 2003 22:52:14 +0000 (22:52 +0000)]
SF patch #791153: inconsistency with implementation(logging)
(Contributed by George Yoshida.)
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.
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.)
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:-)
Raymond Hettinger [Sun, 31 Aug 2003 05:46:43 +0000 (05:46 +0000)]
SF bug #797853: Small problems with the csv module's documentation
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.
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.
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.
Raymond Hettinger [Sun, 31 Aug 2003 04:21:42 +0000 (04:21 +0000)]
SF bug 798006: Fix long option markup.
Raymond Hettinger [Sat, 30 Aug 2003 23:58:20 +0000 (23:58 +0000)]
Remove 'e.g.' from error message
Raymond Hettinger [Sat, 30 Aug 2003 23:35:56 +0000 (23:35 +0000)]
SF patch #797180: Bug 792656: slicing explained
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.
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.
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.
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.
Raymond Hettinger [Sat, 30 Aug 2003 00:11:16 +0000 (00:11 +0000)]
For safety, replace a tuple entry before decreffing it.
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.