]>
granicus.if.org Git - python/log
Martin v. Löwis [Sat, 20 Sep 2003 16:08:33 +0000 (16:08 +0000)]
Patch #800697: Add readline.clear_history.
Martin v. Löwis [Sat, 20 Sep 2003 15:52:21 +0000 (15:52 +0000)]
Patch #707167: Pass dircache exceptions to the caller. Fixes #682813.
Not backported because of behaviour change.
Martin v. Löwis [Sat, 20 Sep 2003 15:30:20 +0000 (15:30 +0000)]
Check for declarations of fchdir and fsync. Fixes #800710. Backported to 2.3.
Martin v. Löwis [Sat, 20 Sep 2003 11:20:30 +0000 (11:20 +0000)]
Patch #730597: Disable POPEN for RTEMS.
Martin v. Löwis [Sat, 20 Sep 2003 11:13:36 +0000 (11:13 +0000)]
Patch #805613: Fix usage of the PTH library.
Martin v. Löwis [Sat, 20 Sep 2003 11:09:28 +0000 (11:09 +0000)]
Patch #808362: Fix typos.
Martin v. Löwis [Sat, 20 Sep 2003 11:05:01 +0000 (11:05 +0000)]
Patch #713645: Fix typo.
Martin v. Löwis [Sat, 20 Sep 2003 10:58:38 +0000 (10:58 +0000)]
Patch #793559: Reset __starttext_tag. Fixes #709491. Backported to 2.3.
Martin v. Löwis [Sat, 20 Sep 2003 10:52:56 +0000 (10:52 +0000)]
Patch #805976: Add DOTBOX and UNDERLINE.
Martin v. Löwis [Sat, 20 Sep 2003 10:50:48 +0000 (10:50 +0000)]
Patch #805678: Add .so symlink during make install. Backported to 2.3.
Martin v. Löwis [Sat, 20 Sep 2003 10:47:47 +0000 (10:47 +0000)]
Patch #805604: Do not check for sem_init, do not use -Kthread,
if configured --without-threads. Backported to 2.3.
Brett Cannon [Fri, 19 Sep 2003 00:59:16 +0000 (00:59 +0000)]
Improve detection of whether tzset is broken.
Thomas Heller [Wed, 17 Sep 2003 17:11:01 +0000 (17:11 +0000)]
Fix a typo found by Eric D. Moyer, closes SF 807813.
Will backport to 2.3.
Raymond Hettinger [Wed, 17 Sep 2003 05:50:59 +0000 (05:50 +0000)]
SF patch #806246: use basestring where possible
(Contributed by George Yoshida.)
Raymond Hettinger [Tue, 16 Sep 2003 22:04:31 +0000 (22:04 +0000)]
* Minor wording change
* Reference the doctest.DocTestSuite() conversion tool.
Raymond Hettinger [Tue, 16 Sep 2003 21:45:22 +0000 (21:45 +0000)]
Minor fixups
Tim Peters [Tue, 16 Sep 2003 20:30:58 +0000 (20:30 +0000)]
On c.l.py, Martin v. Löwis said that Py_UNICODE could be of a signed type,
so fiddle Jeremy's fix to live with that. Also added more comments.
Bugfix candidate (this bug is in all versions of Python, at least since
2.1).
Jeremy Hylton [Tue, 16 Sep 2003 19:41:39 +0000 (19:41 +0000)]
Double-fix of crash in Unicode freelist handling.
If a length-1 Unicode string was in the freelist and it was
uninitialized or pointed to a very large (magnitude) negative number,
the check
unicode_latin1[unicode->str[0]] == unicode
could cause a segmentation violation, e.g. unicode->str[0] is 0xcbcbcbcb.
Fix this in two ways:
1. Change guard befor unicode_latin1[] to test against 256U. If I
understand correctly, the unsigned long used to store UCS4 on my
box was getting converted to a signed long to compare with the
signed constant 256.
2. Change _PyUnicode_New() to make sure the first element of str is
always initialized to zero. There are several places in the code
where the caller can exit with an error before initializing any
of str, which would leave junk in str[0].
Also, silence a compiler warning on pointer vs. int arithmetic.
Bug fix candidate.
Raymond Hettinger [Tue, 16 Sep 2003 07:11:46 +0000 (07:11 +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 04:37:39 +0000 (04:37 +0000)]
Test __all__ for unittest.py
Raymond Hettinger [Tue, 16 Sep 2003 04:27:52 +0000 (04:27 +0000)]
Improve the leak fix so that PyTuple_New is only called when needed.
Jeremy Hylton [Tue, 16 Sep 2003 03:41:45 +0000 (03:41 +0000)]
Change checks of PyUnicode_Resize() return value for clarity.
The unicode_resize() family only returns -1 or 0 so simply checking
for != 0 is sufficient, but somewhat unclear. Many Python API
functions return < 0 on error, reserving the right to return 0 or 1 on
success. Change the call sites for consistency with these calls.
Jeremy Hylton [Tue, 16 Sep 2003 03:17:16 +0000 (03:17 +0000)]
Correct check of PyUnicode_Resize() return value.
Jeremy Hylton [Tue, 16 Sep 2003 03:10:59 +0000 (03:10 +0000)]
Reflow long lines and reformat.
Raymond Hettinger [Mon, 15 Sep 2003 21:43:16 +0000 (21:43 +0000)]
Fix leak discovered in test_new by Michael Hudson.
Will backport to 2.3.1
Raymond Hettinger [Mon, 15 Sep 2003 18:20:52 +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.)
Andrew M. Kuchling [Mon, 15 Sep 2003 12:27:18 +0000 (12:27 +0000)]
Remove possibly-misleading Expat version
Steve Purcell [Mon, 15 Sep 2003 11:01:21 +0000 (11:01 +0000)]
Explicitly define public symbols via __all__: see discussion with Raymond
Hettinger in comments for issue 804115
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=804115&group_id=5470
Raymond Hettinger [Sat, 13 Sep 2003 05:51:09 +0000 (05:51 +0000)]
* Converted test to unittest format.
* Expanded coverage.
Raymond Hettinger [Sat, 13 Sep 2003 03:18:34 +0000 (03:18 +0000)]
The previous change works much faster (one lookup per key) when
iteritems() is defined.
Raymond Hettinger [Sat, 13 Sep 2003 02:58:00 +0000 (02:58 +0000)]
SF bug #804115: bad argument handling(unittest.py)
Raymond Hettinger [Sat, 13 Sep 2003 01:01:34 +0000 (01:01 +0000)]
Simplify doctest of tee().
Martin v. Löwis [Fri, 12 Sep 2003 16:38:00 +0000 (16:38 +0000)]
Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.
Backported to 2.3.
Martin v. Löwis [Fri, 12 Sep 2003 16:25:38 +0000 (16:25 +0000)]
Patch #790000: Allow os.access to handle Unicode file name.
Raymond Hettinger [Fri, 12 Sep 2003 06:33:37 +0000 (06:33 +0000)]
SF #662923
Add support for the iterator and mapping protocols.
For Py2.3, this was done for shelve, dumbdbm and other mapping objects, but
not for bsddb and dbhash which were inadvertently missed.
Raymond Hettinger [Fri, 12 Sep 2003 00:02:37 +0000 (00:02 +0000)]
SF bug #804280: fromkeys is not listed in index
Fred Drake [Thu, 11 Sep 2003 18:18:54 +0000 (18:18 +0000)]
fix markup buglets
Fred Drake [Thu, 11 Sep 2003 06:06:26 +0000 (06:06 +0000)]
- added many links into the library reference
- removed use of the string module
- fixed some broken markup
Fred Drake [Thu, 11 Sep 2003 04:28:13 +0000 (04:28 +0000)]
- add several links into the library reference
- update a couple of URLs to point to more recent portions of
python.org
Fred Drake [Thu, 11 Sep 2003 04:14:20 +0000 (04:14 +0000)]
remove useless <br/> from the top navigation panel
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.