]>
granicus.if.org Git - python/log
Fred Drake [Thu, 11 Sep 2003 04:08:47 +0000 (04:08 +0000)]
try to fix up the padding inside a notice environment so they fit in a
little better, with similar spacing characteristics with the seealso
environment
Raymond Hettinger [Wed, 10 Sep 2003 21:12:59 +0000 (21:12 +0000)]
SF patch #803449: modernize demo scripts
(Contributed by George Yoshida.)
Fred Drake [Wed, 10 Sep 2003 20:47:43 +0000 (20:47 +0000)]
- add version annotation for HIGHEST_PROTOCOL
- cleaned up some markup
Jeremy Hylton [Wed, 10 Sep 2003 20:19:54 +0000 (20:19 +0000)]
Oops. Really fix the indentation problem this time.
Jeremy Hylton [Wed, 10 Sep 2003 19:57:31 +0000 (19:57 +0000)]
Fix inconsistent mix of tabs and spaces that caused test to fail.
Brett Cannon [Wed, 10 Sep 2003 19:37:42 +0000 (19:37 +0000)]
select.select() now accepts a sequence (as defined by PySequence_Fast()) for
its first three arguments.
Closes RFE #798046 .
Skip Montanaro [Wed, 10 Sep 2003 19:04:13 +0000 (19:04 +0000)]
mention new module doc display feature of pydoc in libref and NEWS
Raymond Hettinger [Wed, 10 Sep 2003 18:54:49 +0000 (18:54 +0000)]
SF bug #803679: Missing section number in csv module documentation
Raymond Hettinger [Wed, 10 Sep 2003 18:45:12 +0000 (18:45 +0000)]
SF bug #803842: Wrong description of regexp concatenation
Skip Montanaro [Wed, 10 Sep 2003 16:47:51 +0000 (16:47 +0000)]
display link to module docs when it looks like the object module is a core
module
Raymond Hettinger [Wed, 10 Sep 2003 04:44:29 +0000 (04:44 +0000)]
SF bug #802302: Invalid documentation for dbhash.
The documentation severely departed for the actual implementation.
Raymond Hettinger [Wed, 10 Sep 2003 03:54:50 +0000 (03:54 +0000)]
SF patch #800899: Making "|" directive from REs a bit clearer.
Kurt B. Kaiser [Wed, 10 Sep 2003 02:42:18 +0000 (02:42 +0000)]
Python Bug 775061
1. Remove "idle" script, it lives in Tools/scripts/ now.
2. Remove shebang from idle.py, should be called explicitly.
3. Remove obsolete test code from rpc.py; needs unit test.
Raymond Hettinger [Wed, 10 Sep 2003 00:11:28 +0000 (00:11 +0000)]
Fix typo.
Fred Drake [Tue, 9 Sep 2003 19:49:18 +0000 (19:49 +0000)]
end-of-sentence punctuation comes *before* \footnote, not after
Raymond Hettinger [Tue, 9 Sep 2003 01:30:13 +0000 (01:30 +0000)]
SF #801306: Bad RE in scanf example
Raymond Hettinger [Tue, 9 Sep 2003 01:12:18 +0000 (01:12 +0000)]
SF bug #560286: Add docs for 'basestring'
Raymond Hettinger [Mon, 8 Sep 2003 23:58:40 +0000 (23:58 +0000)]
Add an example to address a common question of how to split iterators.
Raymond Hettinger [Mon, 8 Sep 2003 19:16:36 +0000 (19:16 +0000)]
Set the warnings stacklevel to two.
Raymond Hettinger [Mon, 8 Sep 2003 19:01:04 +0000 (19:01 +0000)]
Fix spacing markup and other sundries.
Raymond Hettinger [Mon, 8 Sep 2003 18:52:18 +0000 (18:52 +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.
Raymond Hettinger [Mon, 8 Sep 2003 17:33:31 +0000 (17:33 +0000)]
Check for \NULL markup errors.
Martin v. Löwis [Sun, 7 Sep 2003 20:42:29 +0000 (20:42 +0000)]
Only release buffer after file has been closed. Fixes #800824.
Will backport to 2.2.
Just van Rossum [Sun, 7 Sep 2003 13:36:48 +0000 (13:36 +0000)]
Patch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne.
Classical problem with int vs. long mismatch in varargs.
2.3 backport candidate.
Tim Peters [Sun, 7 Sep 2003 03:30:18 +0000 (03:30 +0000)]
SF bug 801631: file.truncate fault on windows.
file_truncate(): C doesn't define what fflush(fp) does if fp is open
for update, and the preceding I/O operation on fp was input. On Windows,
fflush() actually changes the current file position then. Because
Windows doesn't support ftruncate() directly, this not only caused
Python's file.truncate() to change the file position (contra our docs),
it also caused the file not to change size.
Repaired by getting the initial file position at the start, restoring
it at the end, and tossing all the complicated micro-efficiency checks
trying to avoid "provably unnecessary" seeks. file.truncate() can't
be a frequent operation, and seeking to the current file position has
got to be cheap anyway.
Bugfix candidate.
Fred Drake [Sun, 7 Sep 2003 02:33:37 +0000 (02:33 +0000)]
fix \NULL with following space and no {} (two instances)
Fred Drake [Sun, 7 Sep 2003 02:32:55 +0000 (02:32 +0000)]
fix \NULL with following space and no {}
Brett Cannon [Sun, 7 Sep 2003 02:22:16 +0000 (02:22 +0000)]
Fix minor LaTeX bug of not ending a \NULL{} with the curly braces to get the
spacing correct in the output.
Skip Montanaro [Sat, 6 Sep 2003 19:52:12 +0000 (19:52 +0000)]
**kwds arg was missing from __init__ for Dict{Reader,Writer} classes.
will backport.
Fred Drake [Sat, 6 Sep 2003 17:51:16 +0000 (17:51 +0000)]
- reorganize sections
- correct section level error (module references are always \section)
- many markup revisions, including some minor rewordings
Fred Drake [Sat, 6 Sep 2003 06:42:01 +0000 (06:42 +0000)]
add missing dependency
Raymond Hettinger [Sat, 6 Sep 2003 05:47:31 +0000 (05:47 +0000)]
SF bug 799191: fix markup
Raymond Hettinger [Sat, 6 Sep 2003 05:36:13 +0000 (05:36 +0000)]
SF bug 799367: grammar error
Raymond Hettinger [Sat, 6 Sep 2003 04:39:54 +0000 (04:39 +0000)]
SF bug #801486: Markup error.
Raymond Hettinger [Sat, 6 Sep 2003 04:25:54 +0000 (04:25 +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.
Fred Drake [Sat, 6 Sep 2003 04:19:43 +0000 (04:19 +0000)]
add a note about how \ulink should be different than it actually is
for PDF generation
Fred Drake [Sat, 6 Sep 2003 03:50:07 +0000 (03:50 +0000)]
Elaborate the explanation of different flavors of _* identifiers.
Fixes SF bug #520325.
Fred Drake [Sat, 6 Sep 2003 03:33:32 +0000 (03:33 +0000)]
- create a hyperlink for a section reference (also more robust in the
face of section re-ordering)
- fix minor markup nits for better presentation
Fred Drake [Sat, 6 Sep 2003 01:10:14 +0000 (01:10 +0000)]
avoid spurious vertical whitespace preceeding heading which are marked
with a \label
Fred Drake [Fri, 5 Sep 2003 15:50:20 +0000 (15:50 +0000)]
markup updates
Fred Drake [Fri, 5 Sep 2003 15:43:58 +0000 (15:43 +0000)]
normalize whitespace; detabify
Fred Drake [Fri, 5 Sep 2003 15:43:00 +0000 (15:43 +0000)]
fix some nuissance formatting problems for the "alltt" environment;
there's still a bug for the environment, but that's worked around in
this change as well
Fred Drake [Fri, 5 Sep 2003 15:36:23 +0000 (15:36 +0000)]
normalize whitespace
Raymond Hettinger [Fri, 5 Sep 2003 14:27:30 +0000 (14:27 +0000)]
SF bug #800796: Difference between hash() and __hash__()
slice(5).__hash__() now raises a TypeError.
Fred Drake [Fri, 5 Sep 2003 14:06:35 +0000 (14:06 +0000)]
add index entry
Fred Drake [Fri, 5 Sep 2003 14:01:15 +0000 (14:01 +0000)]
fix minor markup nits
Fred Drake [Fri, 5 Sep 2003 13:59:10 +0000 (13:59 +0000)]
add a relevant "see also" link
Fred Drake [Fri, 5 Sep 2003 13:58:26 +0000 (13:58 +0000)]
make the padding inside a "See also" box more consistent around the
sides
Fred Drake [Fri, 5 Sep 2003 13:48:02 +0000 (13:48 +0000)]
clean up some markup
Fred Drake [Thu, 4 Sep 2003 22:21:17 +0000 (22:21 +0000)]
normalize whitespace
Fred Drake [Thu, 4 Sep 2003 22:16:45 +0000 (22:16 +0000)]
Suppress more online-only navigation in the printed HTML.
Fred Drake [Thu, 4 Sep 2003 21:25:03 +0000 (21:25 +0000)]
make sure cells are really generated for all table cells, even those
that are left empty
fixes first of the problems reported in SF bug #727692
Fred Drake [Thu, 4 Sep 2003 19:52:02 +0000 (19:52 +0000)]
adjust markup to avoid suppressing a word space in content
Fred Drake [Thu, 4 Sep 2003 19:30:15 +0000 (19:30 +0000)]
Make the redundent portion of the lower navigation area disappear from the
printed version for browsers that support "@media print" in CSS.
Martin v. Löwis [Thu, 4 Sep 2003 19:01:46 +0000 (19:01 +0000)]
Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().
Fixes #603724. Will backport to 2.3.
Martin v. Löwis [Thu, 4 Sep 2003 18:50:54 +0000 (18:50 +0000)]
Patch #798202: detect redhat9 Tcl/Tk in configure script.
Will backport to 2.2.
Martin v. Löwis [Thu, 4 Sep 2003 18:45:59 +0000 (18:45 +0000)]
Patch #794826: Add __file__ in dynamically loaded modules for multiple
interpreters. Fixes #698282. Will backport to 2.3.
Martin v. Löwis [Thu, 4 Sep 2003 18:29:53 +0000 (18:29 +0000)]
Patch #792338: Correct documentation for timetuple return type.
Martin v. Löwis [Thu, 4 Sep 2003 18:24:47 +0000 (18:24 +0000)]
Patch #798145: Return correct information from nl_langinfo(RADIXCHAR).
Will backport to 2.3.
Jason Tishler [Thu, 4 Sep 2003 11:59:50 +0000 (11:59 +0000)]
Bug #794140: cygwin builds do not embed
The embed2.diff patch solves the user's problem by exporting the missing
symbols from the Python core so Python can be embedded in another Cygwin
application (well, at lest vim).
Jason Tishler [Thu, 4 Sep 2003 11:04:06 +0000 (11:04 +0000)]
This patch enables the building of Cygwin Python with a static core
which still supports shared extensions. It takes advantage the latest
Cygwin binutils (i.e.,
20030901 -1) which can export symbols from
executables:
http://cygwin.com/ml/cygwin-announce/2003-09/msg00002.html
Additionally, it finally lays to rest the following mailing list
subthread:
http://mail.python.org/pipermail/python-list/2002-May/102500.html
I tested the patch under Red Hat Linux 8.0 too
Martin v. Löwis [Wed, 3 Sep 2003 05:13:14 +0000 (05:13 +0000)]
Catch locale.error as well. Fixes #788378. Will backport to 2.3.
Martin v. Löwis [Wed, 3 Sep 2003 04:50:13 +0000 (04:50 +0000)]
Use de_DE in example, change message for unknown locale. Fixes #797447.
Will backport to 2.3.
Barry Warsaw [Wed, 3 Sep 2003 04:10:52 +0000 (04:10 +0000)]
test_get_param_with_semis_in_quotes(): Test case for SF bug #794466.
Backport candidate.
Barry Warsaw [Wed, 3 Sep 2003 04:09:49 +0000 (04:09 +0000)]
NEWS about email package 794466 patch.
Barry Warsaw [Wed, 3 Sep 2003 04:08:13 +0000 (04:08 +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.
Backport candidate.
Barry Warsaw [Wed, 3 Sep 2003 03:20:37 +0000 (03:20 +0000)]
Document the Pynche patch.
Barry Warsaw [Wed, 3 Sep 2003 03:15:50 +0000 (03:15 +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.
Backport candidate.
Fred Drake [Tue, 2 Sep 2003 16:01:07 +0000 (16:01 +0000)]
use the long names for re compilation options; this makes it easier to
figure out what the code is doing
Andrew M. Kuchling [Tue, 2 Sep 2003 11:52:06 +0000 (11:52 +0000)]
Modernize code a bit: use isinstance instead of type(); return True/False
Andrew M. Kuchling [Tue, 2 Sep 2003 11:44:44 +0000 (11:44 +0000)]
[Patch #759208] Fix has_key emulation to not raise KeyError
Raymond Hettinger [Tue, 2 Sep 2003 06:59:21 +0000 (06:59 +0000)]
Only apply case-insensitivity test on appropriate platforms.' test_filecmp.py
Raymond Hettinger [Tue, 2 Sep 2003 05:42:02 +0000 (05:42 +0000)]
SF bug #453515: filecmp.dircmp case sensitivity bug
Raymond Hettinger [Tue, 2 Sep 2003 02:32:54 +0000 (02:32 +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:09:05 +0000 (02:09 +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 [Tue, 2 Sep 2003 01:53:01 +0000 (01:53 +0000)]
SF patch #736962: Port tests to unittest (Part 2)
(Contributed by Walter Dörwald.)
* Convert test_slice.py to unittest format
* Expand the test coverage.
Raymond Hettinger [Mon, 1 Sep 2003 23:30:44 +0000 (23:30 +0000)]
SF patch #790443: add SafeConfigParser to __all__
(Contributed by George Yoshida.)
Raymond Hettinger [Mon, 1 Sep 2003 23:13:04 +0000 (23:13 +0000)]
Minor typo
Raymond Hettinger [Mon, 1 Sep 2003 22:50:52 +0000 (22:50 +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:25:41 +0000 (22:25 +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.)
Raymond Hettinger [Mon, 1 Sep 2003 22:12:08 +0000 (22:12 +0000)]
SF patch #798467: Update docstring of has_key for bool changes
(Contributed by George Yoshida.)
Raymond Hettinger [Sun, 31 Aug 2003 05:44:54 +0000 (05:44 +0000)]
SF bug #797853: Small problems with the csv module's documentation
Raymond Hettinger [Sun, 31 Aug 2003 05:29:02 +0000 (05:29 +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:09:52 +0000 (05:09 +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:35:24 +0000 (04:35 +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:20:12 +0000 (04:20 +0000)]
Fix long option markup.
Raymond Hettinger [Sat, 30 Aug 2003 23:57:36 +0000 (23:57 +0000)]
Remove 'e.g.' from error message
Raymond Hettinger [Sat, 30 Aug 2003 23:31:31 +0000 (23:31 +0000)]
SF patch #797180: Bug 792656: slicing explained
Raymond Hettinger [Sat, 30 Aug 2003 23:21:32 +0000 (23:21 +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:54:55 +0000 (22:54 +0000)]
SF patch #736962: Port tests to unittest
(Contributed by Walter Dörwald).
* Convert three test modules to unittest format.
* Expanded coverage in test_structseq.py.
* Raymond added a new test in test_sets.py
Raymond Hettinger [Sat, 30 Aug 2003 14:43:55 +0000 (14:43 +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 01:24:19 +0000 (01:24 +0000)]
Eliminate unnecessary eval() in tests
Raymond Hettinger [Sat, 30 Aug 2003 00:10:06 +0000 (00:10 +0000)]
For safety, replace a tuple entry before decreffing it.
Raymond Hettinger [Fri, 29 Aug 2003 23:09:58 +0000 (23:09 +0000)]
SF bug #793826: using itertools.izip to mutate tuples
Avoid Armin Rigo's dastardly exercise in re-entrancy.
Andrew M. Kuchling [Fri, 29 Aug 2003 18:50:59 +0000 (18:50 +0000)]
Rework previous fix slightly; the &0x20 test seems useless, and the isprint() check mustn't prevent the meta-bit check at the end
Andrew M. Kuchling [Fri, 29 Aug 2003 18:49:05 +0000 (18:49 +0000)]
Add tests for meta- bit set