Gregory P. Smith
33ede08cdd
more cleanup ups of the recently added warnings in the subprocess docs.
2008-08-04 18:34:07 +00:00
Nick Coghlan
a510748085
Issue 643841: better documentation of the special method lookup process, especially for new-style classes. Also removes the warnings about not being authoritative for new-style classes - the language reference actually covers those fairly well now (albeit in a fashion that isn't always particularly easy to follow).
2008-08-04 12:40:59 +00:00
Georg Brandl
e7829a5b1b
Clarify the meaning of the select() parameters and sync
...
names with docstring.
2008-08-04 07:31:50 +00:00
Georg Brandl
40df8ecdd5
Template is always "tmp".
2008-08-04 07:23:29 +00:00
Georg Brandl
143de623e7
Fix markup.
2008-08-04 06:29:36 +00:00
Gregory P. Smith
0879250284
issue1606: Add warnings to the subprocess documentation about common pitfalls
...
of using pipes that cause deadlocks.
2008-08-04 01:03:50 +00:00
Georg Brandl
1113803c5a
#3495 : use current version.
2008-08-03 09:21:18 +00:00
Lars Gustäbel
727bd0b687
Issue #3039 : Fix TarFileCompat.writestr() which always raised an
...
AttributeError since __slots__ were added to zipfile.ZipInfo in
r46967 two years ago.
Add a warning about the removal of TarFileCompat in Python 3.0.
2008-08-02 11:26:39 +00:00
Benjamin Peterson
80790287ab
revert last revision; code was right
2008-08-02 03:05:11 +00:00
Benjamin Peterson
1af6fb5298
fix indentation that caused logic bug
2008-08-02 02:57:17 +00:00
Georg Brandl
290d3d994a
This should really be a comment.
2008-08-01 20:13:29 +00:00
Georg Brandl
632f631c48
Add the grammar to the reference manual, since the new docs don't
...
have the feature of putting all the small EBNF snippets together
into one big file.
2008-08-01 20:04:43 +00:00
Mark Dickinson
dadcd1fd50
Tone down math.fsum warning.
2008-08-01 09:13:07 +00:00
Raymond Hettinger
f080e6d7e0
Alter recipe to show how to call izip_longest() with
...
both a keyword argument and star arguments.
2008-07-31 01:19:50 +00:00
Mark Dickinson
23957cb8fb
Add note about problems with math.fsum on x86 hardware.
2008-07-30 20:23:15 +00:00
Mark Dickinson
fef6b13c32
Rename math.sum to math.fsum
2008-07-30 16:20:10 +00:00
Benjamin Peterson
f2eb2b44fc
getrandombits is actually getrandbits
2008-07-30 13:46:53 +00:00
Raymond Hettinger
efdf706a9f
Neaten-up the itertools recipes.
2008-07-30 07:27:30 +00:00
Benjamin Peterson
66b14de7bb
the from __future__ import with_statement isn't needed in 2.6
2008-07-29 19:28:49 +00:00
Andrew M. Kuchling
5d2841f28f
Clarify wording
2008-07-28 17:04:48 +00:00
Benjamin Peterson
fff5cf67d0
clarify Popen argument
2008-07-27 15:22:14 +00:00
Georg Brandl
4b99e9b479
Shorten some overlong lines.
2008-07-26 22:13:29 +00:00
Andrew M. Kuchling
cd48d8ae8b
Remove extra words
2008-07-26 13:09:06 +00:00
Andrew M. Kuchling
feeee750b0
This sentence continues to bug me; rewrite it for the second time
2008-07-26 13:08:19 +00:00
Benjamin Peterson
3ac2f24f25
fix indentation
2008-07-25 21:59:53 +00:00
Benjamin Peterson
5255cba4bc
document default value for fillvalue
2008-07-25 17:02:11 +00:00
Georg Brandl
340739e216
Fix indentation.
2008-07-24 07:09:21 +00:00
Benjamin Peterson
4020221838
add some documentation for 2to3
2008-07-24 02:45:37 +00:00
Benjamin Peterson
8e234c6e30
fix markup
2008-07-24 02:31:28 +00:00
Benjamin Peterson
415ce062bc
fix spacing
2008-07-24 02:27:46 +00:00
Georg Brandl
8c81fdad33
Use correct indentation.
2008-07-23 16:00:44 +00:00
Georg Brandl
d4c7e636a9
Move opcode handling to Python's extension.
2008-07-23 15:17:09 +00:00
Georg Brandl
f9efabb6d2
3k-warn about parser's "ast" aliases.
2008-07-23 15:16:45 +00:00
Raymond Hettinger
d8dd86cc26
One more attribution.
2008-07-22 19:18:50 +00:00
Raymond Hettinger
5d4d16e44d
Fix credits for math.sum()
2008-07-22 19:03:05 +00:00
Raymond Hettinger
340383ce70
Tuples now have both count() and index().
2008-07-22 19:00:47 +00:00
Raymond Hettinger
9973ee86ed
Remove out-of-date section on Exact/Inexact.
2008-07-22 18:54:02 +00:00
Gregory P. Smith
0470bab697
Issue #2620 : Overflow checking when allocating or reallocating memory
...
was not always being done properly in some python types and extension
modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
2008-07-22 04:46:32 +00:00
Georg Brandl
be44991baa
nonlocal is not in 2.6.
2008-07-21 18:26:21 +00:00
Georg Brandl
e64f738507
#926501 : add info where to put the docstring.
2008-07-20 11:50:29 +00:00
Raymond Hettinger
f1f46f0350
Clean-up itertools docs and recipes.
2008-07-19 23:58:47 +00:00
Raymond Hettinger
39e0eb766f
Fix compress() recipe in docs to use itertools.
2008-07-19 23:21:57 +00:00
Georg Brandl
b46d6ff279
Add ordering info for findall and finditer.
2008-07-19 13:48:44 +00:00
Georg Brandl
3de1e69dc7
#3323 : mention that if inheriting from a class without __slots__,
...
the subclass will have a __dict__ available too.
2008-07-19 13:09:42 +00:00
Raymond Hettinger
3369167089
Add recipe to the itertools docs.
2008-07-19 00:43:00 +00:00
Brett Cannon
1e8fba729e
Deprecate the sunaudio module for removal in Python 3.0. The sunau module can provide similar functionality.
2008-07-18 19:30:22 +00:00
Georg Brandl
bf89981839
Document the different meaning of precision for {:f} and {:g}.
...
Also document how inf and nan are formatted. #3404 .
2008-07-18 11:15:06 +00:00
Vinay Sajip
2a649f93b0
Issue #3389 : Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
2008-07-18 09:00:35 +00:00
Eric Smith
d6c393ab2b
Backed out r65069, pending fixing it in Windows.
2008-07-17 19:49:47 +00:00
Eric Smith
454816d8bd
Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.
2008-07-17 17:48:39 +00:00