Commit Graph

10708 Commits

Author SHA1 Message Date
Brett Cannon 4b0c24a3ae use 3-space indents. 2011-02-03 22:14:58 +00:00
Brett Cannon 8045d97819 Add a HOWTO on how to port from Python 2 to Python 3. 2011-02-03 22:01:54 +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
Raymond Hettinger 92acd67756 Recommend use of the tracker during the RC phase or just before a beta. 2011-01-31 06:34:47 +00:00
Raymond Hettinger 9c2fc47788 Fix minor grammar nits.
Revert r88272 -- the examples are more readable with spacing.
Add todos for difflib and logging.
2011-01-31 06:14:48 +00:00
Eli Bendersky e2ae80730d Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986) 2011-01-31 04:21:40 +00:00
Eli Bendersky f30793a6bb Fix PEP-8 violation in argparse usage example (similar examples in argparse.rst do follow PEP-8) 2011-01-31 04:10:23 +00:00
Eli Bendersky d7cde5daff Fix some grammar and typos 2011-01-31 04:05:52 +00:00
Georg Brandl 6ddc16b41e Update suspicious ignore file. 2011-01-30 14:02:36 +00:00
Raymond Hettinger ce227e3518 Clarify the status of get_string() and recommend using the binary API. 2011-01-30 08:20:37 +00:00
Raymond Hettinger 994d38059a Add entry for the mailbox fixups. 2011-01-30 07:56:03 +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 b02f7c00ae List known build/install problems for OS X. 2011-01-30 05:37:16 +00:00
Raymond Hettinger c7bb159acd Markup nits. 2011-01-30 01:10:07 +00:00
Raymond Hettinger 62399747a5 Add section for http.client.
Link to OS X build instructions.
Add back issue references for datetime.
2011-01-30 00:55:47 +00:00
Raymond Hettinger 519c308939 Typos. 2011-01-30 00:39:00 +00:00
Giampaolo Rodolà ac039aee4d fix reference to issue where the addition of select.PIPE_BUF was discussed 2011-01-29 13:24:33 +00:00
Raymond Hettinger 08d4293013 Add entry for str.format_map().
Add bullet list and reference to documentation section.
2011-01-29 08:51:57 +00:00
Eric Smith 598b513a5d Added a placeholder for str.format_map, as discussed with Raymond. My prose is horrible, some cleanup is required. 2011-01-28 20:23:25 +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 e6f0abf34a More typical sample invocation of tarfile. 2011-01-27 07:34:45 +00:00
Raymond Hettinger 712d2b4f4b Add missing attributions. 2011-01-27 06:46:54 +00:00
Raymond Hettinger 8d09cb2127 Update todo list. 2011-01-27 06:10:18 +00:00
Raymond Hettinger 7626ef93b7 Add an entry for tarfile. 2011-01-27 05:48:56 +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
Raymond Hettinger e3b8f7c0fa Markup nits. 2011-01-26 19:36:13 +00:00
Raymond Hettinger 14eb4c356e Add a few imports to examples. 2011-01-26 01:13:26 +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
Raymond Hettinger 902f320232 Typo. 2011-01-25 08:01:01 +00:00
Raymond Hettinger da4a05de7e Add entries for select and site. 2011-01-25 07:46:07 +00:00
Raymond Hettinger 2f707c98fb Add math.erfc and turtledemo. 2011-01-25 06:58:01 +00:00
Raymond Hettinger f9b8a19d75 Typo. 2011-01-25 05:53:27 +00:00
Raymond Hettinger 2c63906283 Nits. 2011-01-25 02:38:59 +00:00
Raymond Hettinger a4cfb4292a Add entry for the math module. 2011-01-25 02:35:58 +00:00
Raymond Hettinger f4f0e6c7a7 Add entry for io.BytesIO.getbuffer(). 2011-01-24 22:14:42 +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 a80ab10bc2 Typos. 2011-01-24 18:19:01 +00:00
Raymond Hettinger ead4975b9f Missing source links. 2011-01-24 16:28:06 +00:00