Raymond Hettinger
dfa7bd97ff
SF #801306 : Bad RE in scanf example
2003-09-09 01:30:13 +00:00
Raymond Hettinger
74923d73ee
SF bug #560286 : Add docs for 'basestring'
2003-09-09 01:12:18 +00:00
Raymond Hettinger
a098b33c93
Add an example to address a common question of how to split iterators.
2003-09-08 23:58:40 +00:00
Raymond Hettinger
9d50d91e77
Set the warnings stacklevel to two.
2003-09-08 19:16:36 +00:00
Raymond Hettinger
f350160d43
Fix spacing markup and other sundries.
2003-09-08 19:01:04 +00:00
Raymond Hettinger
b67449d31d
Fix spacing markup and other sundries.
2003-09-08 18:52:18 +00:00
Raymond Hettinger
c60577ea59
Generalize the last change to check for other markup spacing errors.
2003-09-08 18:43:46 +00:00
Raymond Hettinger
b9c07af46c
Check for \NULL markup errors.
2003-09-08 17:33:31 +00:00
Martin v. Löwis
7bbcde70d1
Only release buffer after file has been closed. Fixes #800824 .
...
Will backport to 2.2.
2003-09-07 20:42:29 +00:00
Just van Rossum
ee8f10fa37
Patch #801349 : 64-bit fix for AMD64 from Gwenole Beauchesne.
...
Classical problem with int vs. long mismatch in varargs.
2.3 backport candidate.
2003-09-07 13:36:48 +00:00
Tim Peters
f1827cfaab
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.
2003-09-07 03:30:18 +00:00
Fred Drake
a26c16c821
fix \NULL with following space and no {} (two instances)
2003-09-07 02:33:37 +00:00
Fred Drake
4ccf6e738e
fix \NULL with following space and no {}
2003-09-07 02:32:55 +00:00
Brett Cannon
77e0212b8a
Fix minor LaTeX bug of not ending a \NULL{} with the curly braces to get the
...
spacing correct in the output.
2003-09-07 02:22:16 +00:00
Skip Montanaro
3f7a94824e
**kwds arg was missing from __init__ for Dict{Reader,Writer} classes.
...
will backport.
2003-09-06 19:52:12 +00:00
Fred Drake
60e868abd2
- reorganize sections
...
- correct section level error (module references are always \section)
- many markup revisions, including some minor rewordings
2003-09-06 17:51:16 +00:00
Fred Drake
5b52717130
add missing dependency
2003-09-06 06:42:01 +00:00
Raymond Hettinger
99812134be
SF bug 799191: fix markup
2003-09-06 05:47:31 +00:00
Raymond Hettinger
1c90a6754c
SF bug 799367: grammar error
2003-09-06 05:36:13 +00:00
Raymond Hettinger
951976dc9f
SF bug #801486 : Markup error.
2003-09-06 04:39:54 +00:00
Raymond Hettinger
66d09f1b30
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.
2003-09-06 04:25:54 +00:00
Fred Drake
c8b08b446a
add a note about how \ulink should be different than it actually is
...
for PDF generation
2003-09-06 04:19:43 +00:00
Fred Drake
38f6b8845b
Elaborate the explanation of different flavors of _* identifiers.
...
Fixes SF bug #520325 .
2003-09-06 03:50:07 +00:00
Fred Drake
c0678ffc60
- create a hyperlink for a section reference (also more robust in the
...
face of section re-ordering)
- fix minor markup nits for better presentation
2003-09-06 03:33:32 +00:00
Fred Drake
f3552130e2
avoid spurious vertical whitespace preceeding heading which are marked
...
with a \label
2003-09-06 01:10:14 +00:00
Fred Drake
74530ff4f9
markup updates
2003-09-05 15:50:20 +00:00
Fred Drake
1b1ca0cc2b
normalize whitespace; detabify
2003-09-05 15:43:58 +00:00
Fred Drake
41aa018398
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
2003-09-05 15:43:00 +00:00
Fred Drake
d37154f7f2
normalize whitespace
2003-09-05 15:36:23 +00:00
Raymond Hettinger
b859c070ef
SF bug #800796 : Difference between hash() and __hash__()
...
slice(5).__hash__() now raises a TypeError.
2003-09-05 14:27:30 +00:00
Fred Drake
a1a1dba2d4
add index entry
2003-09-05 14:06:35 +00:00
Fred Drake
6a002cafa2
fix minor markup nits
2003-09-05 14:01:15 +00:00
Fred Drake
911e571a1c
add a relevant "see also" link
2003-09-05 13:59:10 +00:00
Fred Drake
929d95957b
make the padding inside a "See also" box more consistent around the
...
sides
2003-09-05 13:58:26 +00:00
Fred Drake
b24e84c558
clean up some markup
2003-09-05 13:48:02 +00:00
Fred Drake
7a55642ff6
normalize whitespace
2003-09-04 22:21:17 +00:00
Fred Drake
0739c44bbd
Suppress more online-only navigation in the printed HTML.
2003-09-04 22:16:45 +00:00
Fred Drake
ecbfceb31c
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
2003-09-04 21:25:03 +00:00
Fred Drake
b79f343e61
adjust markup to avoid suppressing a word space in content
2003-09-04 19:52:02 +00:00
Fred Drake
859c46a1fd
Make the redundent portion of the lower navigation area disappear from the
...
printed version for browsers that support "@media print" in CSS.
2003-09-04 19:30:15 +00:00
Martin v. Löwis
1e3bdf6c45
Patch #788249 : Pass an explicit buffer to setvbuf in PyFile_SetBufSize().
...
Fixes #603724 . Will backport to 2.3.
2003-09-04 19:01:46 +00:00
Martin v. Löwis
fa3bdea018
Patch #798202 : detect redhat9 Tcl/Tk in configure script.
...
Will backport to 2.2.
2003-09-04 18:50:54 +00:00
Martin v. Löwis
e81e9b1d3b
Patch #794826 : Add __file__ in dynamically loaded modules for multiple
...
interpreters. Fixes #698282 . Will backport to 2.3.
2003-09-04 18:45:59 +00:00
Martin v. Löwis
ef36537b81
Patch #792338 : Correct documentation for timetuple return type.
2003-09-04 18:29:53 +00:00
Martin v. Löwis
f5b93736a2
Patch #798145 : Return correct information from nl_langinfo(RADIXCHAR).
...
Will backport to 2.3.
2003-09-04 18:24:47 +00:00
Jason Tishler
6bc06eca70
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).
2003-09-04 11:59:50 +00:00
Jason Tishler
3076559ea5
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
2003-09-04 11:04:06 +00:00
Martin v. Löwis
8ad1dd7df1
Catch locale.error as well. Fixes #788378 . Will backport to 2.3.
2003-09-03 05:13:14 +00:00
Martin v. Löwis
25f90d5c5d
Use de_DE in example, change message for unknown locale. Fixes #797447 .
...
Will backport to 2.3.
2003-09-03 04:50:13 +00:00
Barry Warsaw
2e31ce2514
test_get_param_with_semis_in_quotes(): Test case for SF bug #794466 .
...
Backport candidate.
2003-09-03 04:10:52 +00:00