Eli Bendersky
cbbaa96036
Issue #10516 : adding list.clear() and list.copy() methods
2011-02-25 05:47:53 +00:00
Éric Araujo
6c3787cb70
Allow usage of SomeABC.register as a class decorator. Patch by Edoardo Spadolini ( #10868 ).
2011-02-24 18:03:10 +00:00
Benjamin Peterson
5390d00cc6
rewrite
2011-02-24 02:53:05 +00:00
Benjamin Peterson
634ef9cb81
this seems to be pointlessly nested
2011-02-24 02:46:00 +00:00
Georg Brandl
08f5cf51dc
Indent "versionadded" properly.
2011-02-23 07:31:24 +00:00
Brett Cannon
daa5799cb8
Make Lib/crypt.py meet PEP 8 standards. This also led to a tweak in the new API
...
by making methods() into a module attribute as it is statically calculated.
2011-02-22 21:48:06 +00:00
Sean Reifscheider
e2dfefbe85
Issue #10924 : Adding salt and Modular Crypt Format to crypt library.
2011-02-22 10:55:44 +00:00
Raymond Hettinger
158c9c26fc
Issue #11085 : Moved collections abstract base classes into a separate module
...
called collections.abc, following the pattern used by importlib.abc. For
backwards compatibility, the names continue to also be imported into the
collections module.
2011-02-22 00:41:50 +00:00
Raymond Hettinger
d8de5415c8
Issue 11263: Fix link to source code.
2011-02-21 19:58:37 +00:00
Raymond Hettinger
8f0ae9a17f
Doc fixups.
2011-02-18 00:53:55 +00:00
Georg Brandl
08e278a562
Remove editing slip.
2011-02-15 12:44:43 +00:00
Georg Brandl
dbb958561d
Apply logging SocketHandler doc update by Vinay.
2011-02-15 12:41:17 +00:00
R. David Murray
8b24aac936
Fix argument name typo in compileall docs.
2011-02-11 22:37:16 +00:00
Senthil Kumaran
2933312fe7
Fixed issue11082 - Reject str for POST data with a TypeError. Document the need to explicitly encode to bytes when using urlencode.
2011-02-11 11:25:47 +00:00
Raymond Hettinger
3029affc85
Add missing source links.
2011-02-10 08:09:36 +00:00
Antoine Pitrou
631507d1c6
Issue #11141 : Fix the shelve documentation to use a list, not a range object.
...
Patch by SilentGhost.
2011-02-07 23:10:33 +00:00
Antoine Pitrou
fdded56a46
Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().
2011-02-07 15:58:11 +00:00
Georg Brandl
ca583b66c8
#8691 : document that right alignment is default for numbers.
2011-02-07 12:13:58 +00:00
Georg Brandl
a5770aa9ca
#11138 : fix order of fill and align specifiers.
2011-02-07 12:10:46 +00:00
Raymond Hettinger
833ad0eede
Fix awkwardly rendered sentence.
2011-02-06 21:00:38 +00:00
Gregory P. Smith
e09d2f1614
issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
...
happens when the end exits before the beginning.
2011-02-05 21:47:25 +00:00
Antoine Pitrou
eefb97cb57
Mention that seek and tell over a TextIOWrapper can be very slow.
2011-02-04 20:11:11 +00:00
Georg Brandl
e951e917c6
Punctuation typos.
2011-02-03 07:08:25 +00:00
Raymond Hettinger
0446b21a51
Punctuation typo.
2011-02-02 21:12:39 +00:00
Eric Smith
7b5011b4a3
Wording fix.
2011-02-01 21:31:22 +00:00
Brian Curtin
bd0c897332
#11083 typo: RuntimeException -> RuntimeError
2011-01-31 19:35:02 +00:00
R. David Murray
b7deff1ddc
#9124 : mailbox now accepts binary input and uses binary internally
...
Although this patch contains API changes and is rather weighty for an
RC phase, the mailbox module was essentially unusable without the patch
since it would produce UnicodeErrors when handling non-ascii input
at arbitrary and somewhat mysterious places, and any non-trivial amount
of email processing will encounter messages with non-ascii bytes.
The release manager approved the patch application.
The changes allow binary input, and reject non-ASCII string input early
with a useful message instead of failing mysteriously later. Binary
is used internally for reading and writing the mailbox files. StringIO
and Text file input are deprecated.
Initial patch by Victor Stinner, validated and expanded by R. David Murray.
2011-01-30 06:21:28 +00:00
Raymond Hettinger
519c308939
Typos.
2011-01-30 00:39:00 +00:00
Michael Foord
e180d3953f
Issue 10573: revert unittest docs to first / second
...
Minor internal change to unittest.TestCase.assertCountEqual
Reviewed by R. David Murray
2011-01-28 19:51:48 +00:00
Łukasz Langa
66c908e6bf
#11027 : documented how to override SECTCRE
2011-01-28 11:57:30 +00:00
Raymond Hettinger
469271d4ea
More source links
2011-01-27 20:38:46 +00:00
Vinay Sajip
1a90f9c52f
Issue 11008: docs updated to show versionadded for dictConfig.
2011-01-27 19:14:16 +00:00
Raymond Hettinger
a199368b23
More source links.
2011-01-27 01:20:32 +00:00
Raymond Hettinger
a63a312a3f
Issue #11014 : Make 'filter' argument in tarfile.Tarfile.add() into a
...
keyword-only argument. The preceding positional argument was deprecated,
so it made no sense to add filter as a positional argument.
(Patch reviewed by Brian Curtin and Anthony Long.)
2011-01-26 20:34:14 +00:00
Antoine Pitrou
cfad97b3ca
Fix the description of PIPE_BUF
2011-01-25 17:24:57 +00:00
Antoine Pitrou
da7be3e7b7
Fix the doc for PIPE_BUF
2011-01-25 16:28:44 +00:00
Terry Reedy
feac624827
Issue #11000 ast.parse parses source, not just expressions.
2011-01-24 21:36:03 +00:00
Terry Reedy
2a6ac15f26
Update last tix code example for 3.x, as already done for previous examples.
2011-01-24 20:48:40 +00:00
Georg Brandl
009a6bd675
Fix label syntax.
2011-01-24 19:59:08 +00:00
Georg Brandl
8e490de616
Typo fix.
2011-01-24 19:53:18 +00:00
R. David Murray
7b1aae9a52
#10960 : fix 'stat' links, link to lstat from stat, general tidy of stat doc.
...
Original patch by Michal Nowikowski, with some additions and wording
fixes by me.
I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved. I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
2011-01-24 19:34:58 +00:00
Raymond Hettinger
ead4975b9f
Missing source links.
2011-01-24 16:28:06 +00:00
Raymond Hettinger
9a236b0235
Add section for urllib.parse.
2011-01-24 09:01:27 +00:00
Raymond Hettinger
971f48320b
minor clean-up.
2011-01-23 21:32:18 +00:00
Raymond Hettinger
98b140c196
Add entry for reprlib.
2011-01-23 21:05:46 +00:00
Raymond Hettinger
0929b1fc70
Add entry for shutil's archiving operations.
2011-01-23 11:29:08 +00:00
Antoine Pitrou
00d650baaa
Fix JSON docs about loads() accepting only str objects, not bytes.
2011-01-21 21:37:32 +00:00
Raymond Hettinger
a275c989c9
Add more examples
2011-01-20 04:03:19 +00:00
Georg Brandl
ecdd63f56c
#10944 : add c_bool to types table.
2011-01-19 20:05:49 +00:00
Alexander Belopolsky
41a99bc20d
Issue #10934 : Fixed and expanded Internaldate2tuple() and
...
Time2Internaldate() documentation. Thanks Joe Peterson for the report
and the original patch.
2011-01-19 19:53:30 +00:00