Commit Graph

11345 Commits

Author SHA1 Message Date
Brett Cannon ce71ab2d69 Re-arrange and clarify some __future__ import statements.
The absolute_import statement got moved to a new Python 2.5 and Newer section
as it was available since then. The division statement got moved to Common
Gotchas since it has been around for so long that any modern Python program can
use it.
2011-02-05 22:05:05 +00:00
Gregory P. Smith 8095b6548b Merged revisions 88352 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88352 | gregory.p.smith | 2011-02-05 13:47:25 -0800 (Sat, 05 Feb 2011) | 3 lines

  issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
  happens when the end exits before the beginning.
........
2011-02-05 21:51:27 +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
Martin v. Löwis 738236dbd6 Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check
in the limited ABI
2011-02-05 20:35:29 +00:00
Éric Araujo 5405a0b3d3 Use an internal reference instead of hard-coded URI. 2011-02-05 16:03:12 +00:00
Antoine Pitrou bd866e972c Everybody hates this one :) (bytes indexing) 2011-02-05 12:13:38 +00:00
Antoine Pitrou e6a1464b89 Soften the wording about tracebacks. Reference cycles *don't*
prevent garbage collection! (fortunately)
2011-02-05 12:01:07 +00:00
Antoine Pitrou 5c28cfdc0c Fix entries pertaining to file I/O 2011-02-05 11:53:39 +00:00
Antoine Pitrou 8d8f7c5e01 Mention -b and -bb 2011-02-05 11:40:05 +00:00
Antoine Pitrou 7095721d3e Mention asyncore and Twisted in the library FAQ. 2011-02-05 11:24:15 +00:00
Antoine Pitrou 11480b6fe3 Mention concurrent.futures and update answers about the GIL. 2011-02-05 11:18:34 +00:00
Antoine Pitrou f7005243e5 Update test of "why is Python installed" FAQ. 2011-02-05 11:04:01 +00:00
Antoine Pitrou 09264b66f2 Mention Cython and remove obsolete alternatives 2011-02-05 10:57:17 +00:00
Antoine Pitrou eb50ba5ab7 Update info in the GUI FAQ 2011-02-05 10:43:57 +00:00
Antoine Pitrou 8e0ef58f30 Merged revisions 88334 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88334 | antoine.pitrou | 2011-02-04 21:11:11 +0100 (ven., 04 févr. 2011) | 3 lines

  Mention that seek and tell over a TextIOWrapper can be very slow.
........
2011-02-04 20:17:40 +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
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
Éric Araujo b344dd06c8 Merged revisions 86236,86240,86332,86340,87271,87273,87447 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

The missing NEWS entries correspond to changes that were made before 3.1.3, but
I think it’s not usual to edit entries of released versions, so I put them at
the top.

........
  r86236 | eric.araujo | 2010-11-06 03:44:43 +0100 (sam., 06 nov. 2010) | 2 lines

  Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
........
  r86240 | eric.araujo | 2010-11-06 05:11:59 +0100 (sam., 06 nov. 2010) | 2 lines

  Prevent ResourceWarnings in test_gettext
........
  r86332 | eric.araujo | 2010-11-08 19:15:17 +0100 (lun., 08 nov. 2010) | 4 lines

  Add missing NEWS entry for a fix committed by Senthil.

  All recent modifications to distutils should now be covered in NEWS.
........
  r86340 | eric.araujo | 2010-11-08 22:48:23 +0100 (lun., 08 nov. 2010) | 2 lines

  This was actually fixed for the previous alpha.
........
  r87271 | eric.araujo | 2010-12-15 20:09:58 +0100 (mer., 15 déc. 2010) | 2 lines

  Improve trace documentation (#9264).  Patch by Eli Bendersky.
........
  r87273 | eric.araujo | 2010-12-15 20:30:15 +0100 (mer., 15 déc. 2010) | 2 lines

  Use nested method directives, rewrap long lines, fix whitespace.
........
  r87447 | eric.araujo | 2010-12-23 20:13:05 +0100 (jeu., 23 déc. 2010) | 2 lines

  Fix typo in superclass method name
........
2011-02-02 21:38:37 +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 070f050c3a Merged revisions 88281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88281 | brian.curtin | 2011-01-31 13:35:02 -0600 (Mon, 31 Jan 2011) | 2 lines

  #11083 typo: RuntimeException -> RuntimeError
........
2011-01-31 19:41:53 +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 e2248f9e6d Issue #11000 ast.parse doc fix (r88172) + tix fix (r88170) 2011-01-24 21:46:05 +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
Raymond Hettinger 399bf7be41 Fix markup and add todo. 2011-01-24 10:11:12 +00:00
Raymond Hettinger e7dfe74ce3 Add entry for hash_info(). 2011-01-24 09:17:24 +00:00
Raymond Hettinger 9a236b0235 Add section for urllib.parse. 2011-01-24 09:01:27 +00:00
Raymond Hettinger a3b7a14d16 Add entry for the html module. 2011-01-24 05:26:00 +00:00
Raymond Hettinger d0d59b138d Add entry for hashlib and expand the GC entry. 2011-01-24 05:07:13 +00:00
Raymond Hettinger acff595a4e Add entries for dis, dbm, and ctypes. 2011-01-24 01:51:49 +00:00
Raymond Hettinger 50307b684d Add entries for array, asyncore, csv, compileall, and ast. 2011-01-24 01:18:30 +00:00
Raymond Hettinger 971f48320b minor clean-up. 2011-01-23 21:32:18 +00:00
Raymond Hettinger cbc903bc7e Add tracker references. 2011-01-23 21:13:27 +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 a970e62258 Merged revisions 88137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88137 | antoine.pitrou | 2011-01-21 22:37:32 +0100 (ven., 21 janv. 2011) | 3 lines

  Fix JSON docs about loads() accepting only str objects, not bytes.
........
2011-01-21 21:39:56 +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 2e042d3dc2 Use a Latin-1 example that won't break the LaTeX PDF build. 2011-01-21 09:18:19 +00:00
Raymond Hettinger 7a168d96dd Add example for __wrapped__. 2011-01-21 04:59:00 +00:00
Raymond Hettinger f1dae31ea6 Clarify what changed with respect to date ranges and two-digit years. 2011-01-21 03:00:00 +00:00
Alexander Belopolsky 9ee94dec18 Corrected the entry about new year range in the time module. 2011-01-20 19:51:31 +00:00
Raymond Hettinger 00db6aa4a6 Add an entry for the code repository. 2011-01-20 09:47:04 +00:00
Raymond Hettinger 2270d58a2d Make an entry for the os module's bytes accessors.
Split codecs into a separate section.  Rewrite
the Unicode section.
2011-01-20 09:04:39 +00:00
Raymond Hettinger 03ca1a92af Add hasattr() example. 2011-01-20 04:12:37 +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
Raymond Hettinger be9994e0d1 Fix markup. 2011-01-19 08:44:33 +00:00
Georg Brandl f3923cf9fd Suppress trailing spaces in table paragraphs. 2011-01-19 08:42:03 +00:00
Raymond Hettinger 89c1cd1fdd Expand entry for pydoc. 2011-01-19 04:43:45 +00:00
Raymond Hettinger c1dfa2e7c3 Improve looks by replacing a bullet list with a table. 2011-01-19 04:24:57 +00:00
Raymond Hettinger 4bea978f65 Add examples for inspect. 2011-01-19 04:14:34 +00:00
David Malcolm 4934864853 Fix typo in example of barrier timeouts from r88102 2011-01-18 23:45:53 +00:00
Raymond Hettinger 2c3865b210 Expand barrier example to show time-outs. 2011-01-18 22:58:33 +00:00
Raymond Hettinger e0f1f3234c Missing word. 2011-01-18 21:14:27 +00:00
Raymond Hettinger 23ab1016a0 Reword the OrderedDict entry to emphasize the default behavior,
to show equivalent code, and to provide a use case.
2011-01-18 20:25:04 +00:00
Raymond Hettinger c8a16867f6 Typos. 2011-01-18 09:01:34 +00:00
Raymond Hettinger ba5512f8f2 More nits. 2011-01-18 08:28:01 +00:00
Raymond Hettinger c136b048b3 Nits. 2011-01-18 07:15:39 +00:00
Raymond Hettinger 93c8cad6d7 More nits. 2011-01-18 00:30:24 +00:00
Raymond Hettinger 7ec790d1fa Add example for the abc module. 2011-01-18 00:19:30 +00:00
Raymond Hettinger ca904be778 Nits. 2011-01-18 00:02:40 +00:00
Raymond Hettinger 9ba8b0a117 Add an import to the logging example 2011-01-17 23:42:17 +00:00
Raymond Hettinger 02dd70be5c The example for configparser was weird. 2011-01-17 23:39:39 +00:00
Raymond Hettinger 6f0d59bad3 Beautify code examples. 2011-01-17 23:10:55 +00:00
Raymond Hettinger 66352d2793 Wording nits. 2011-01-17 22:33:11 +00:00
Raymond Hettinger 1dcc84e43b Fix-up the XXX for importlib.abc. 2011-01-17 21:55:40 +00:00
Raymond Hettinger 4854d14f55 Tidy-up the ssl section. 2011-01-17 21:29:58 +00:00
Raymond Hettinger 15b47c5d7f Note that two-phase cyclic barriers are suitable for use in loops. 2011-01-17 21:05:07 +00:00
Georg Brandl 1f3fa04543 Markup fix. 2011-01-17 18:16:16 +00:00
Brett Cannon 83a682da30 Placeholder sentence pointing out that imoprtlib has updated (as well as deprecated) ABCs thanks to the new .pyc situation. 2011-01-16 21:02:09 +00:00
Antoine Pitrou ebeb90339d Mention deprecation of PyEval_{Acquire,Release}Lock(). 2011-01-16 18:45:17 +00:00
Antoine Pitrou 2e8ec22242 More SSL-related stuff 2011-01-16 18:41:36 +00:00
Antoine Pitrou f7fb7626d9 Mention HTTP 0.9's partial demise. 2011-01-16 18:34:09 +00:00
Antoine Pitrou bcba43496c Mention the new context parameter to FTP_TLS, and the small API change
in subprocess.Popen.
2011-01-16 18:29:34 +00:00
Raymond Hettinger b965629a42 Issue 10889: Added entry for handling of indexing and slicing with ranges bigger than sys.maxsize. 2011-01-16 18:22:06 +00:00
Antoine Pitrou eec6dbf232 Get proper credit 2011-01-16 18:21:12 +00:00
Antoine Pitrou 121a055a0f Fix misindent 2011-01-16 18:16:52 +00:00
Antoine Pitrou 33da1d65bc Better description of SSL-related changes 2011-01-16 18:16:09 +00:00
Raymond Hettinger 9297709292 Clean-up comment. 2011-01-16 09:18:59 +00:00
Georg Brandl 52a43b5dfd Fix two small issues. 2011-01-16 09:11:45 +00:00
Georg Brandl 23e924f96b Fix "make suspicious" errors and update ignore file. 2011-01-15 17:05:20 +00:00
Georg Brandl 375aec2315 Fix a few doc errors, mostly undefined keywords. 2011-01-15 17:03:02 +00:00
Georg Brandl 6dc50f34dd Update to 1.0.7. 2011-01-15 16:45:03 +00:00
Antoine Pitrou f5cf435bb5 Nits 2011-01-15 14:31:49 +00:00
Antoine Pitrou 3acd3e97f2 Merged revisions 88012-88018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88012 | antoine.pitrou | 2011-01-15 12:39:23 +0100 (sam., 15 janv. 2011) | 3 lines

  Avoid ResourceWarnings in ccbench
........
  r88013 | antoine.pitrou | 2011-01-15 12:44:17 +0100 (sam., 15 janv. 2011) | 3 lines

  Standard streams use file descriptors, not FILE pointers.
........
  r88014 | antoine.pitrou | 2011-01-15 12:57:42 +0100 (sam., 15 janv. 2011) | 3 lines

  Restructure a bit
........
  r88015 | antoine.pitrou | 2011-01-15 13:10:48 +0100 (sam., 15 janv. 2011) | 3 lines

  Improve description of issues
........
  r88016 | antoine.pitrou | 2011-01-15 13:21:53 +0100 (sam., 15 janv. 2011) | 3 lines

  Add mention of how to switch interpreters
........
  r88017 | antoine.pitrou | 2011-01-15 13:54:19 +0100 (sam., 15 janv. 2011) | 3 lines

  Reword and restructure the GIL API doc
........
  r88018 | antoine.pitrou | 2011-01-15 14:11:48 +0100 (sam., 15 janv. 2011) | 4 lines

  Issue #10913: Deprecate misleading functions PyEval_AcquireLock() and
  PyEval_ReleaseLock().  The thread-state aware APIs should be used instead.
........
2011-01-15 14:19:53 +00:00
Antoine Pitrou 5ace8e98da Issue #10913: Deprecate misleading functions PyEval_AcquireLock() and
PyEval_ReleaseLock().  The thread-state aware APIs should be used instead.
2011-01-15 13:11:48 +00:00
Antoine Pitrou bedd2c2d88 Reword and restructure the GIL API doc 2011-01-15 12:54:19 +00:00
Antoine Pitrou 9bf8d1c228 Add mention of how to switch interpreters 2011-01-15 12:21:53 +00:00
Antoine Pitrou f1dfe735b5 Improve description of issues 2011-01-15 12:10:48 +00:00
Antoine Pitrou 8b50b831b4 Restructure a bit 2011-01-15 11:57:42 +00:00
Antoine Pitrou 0765dd6b96 Standard streams use file descriptors, not FILE pointers. 2011-01-15 11:44:17 +00:00
Eli Bendersky 5bcc563cde Merged revisions 88009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88009 | eli.bendersky | 2011-01-15 12:23:34 +0200 (Sat, 15 Jan 2011) | 2 lines

  Issue #10912: Clarify the documentation of PyObject_RichCompareBool. Thanks to Devin Jeanpierre for spotting the problem.
........
2011-01-15 10:33:07 +00:00
Eli Bendersky ad30c4206a Issue #10912: Clarify the documentation of PyObject_RichCompareBool. Thanks to Devin Jeanpierre for spotting the problem. 2011-01-15 10:23:34 +00:00
Victor Stinner c58be2ddc0 urllib doc: add versionchanged sections for parse_qs() and parse_qsl() 2011-01-14 13:31:45 +00:00
Victor Stinner ac71c54b88 Add encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl() 2011-01-14 12:52:12 +00:00
Eli Bendersky 39be2a5210 Merged revisions 87993 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87993 | eli.bendersky | 2011-01-14 10:25:03 +0200 (Fri, 14 Jan 2011) | 2 lines

  Issue #10902: Fix reference to run* methods
........
2011-01-14 08:55:38 +00:00
Eli Bendersky 489f392a0e Issue #10902: Fix reference to run* methods 2011-01-14 08:25:03 +00:00
Alexander Belopolsky cc75a86123 Issue #9268: Documented -m pickletools usage.
Also added a source code link.
2011-01-13 21:58:44 +00:00
Georg Brandl 37a80dc7bc Fix the example output of count(). 2011-01-13 07:31:18 +00:00
Georg Brandl ee31e31db3 Add semicolon for consistency. 2011-01-13 07:24:40 +00:00
Alexander Belopolsky 287d1fdd3f Issue #10225: Fixed the simple mistakes in doctests. 2011-01-12 16:37:14 +00:00
Benjamin Peterson 6e1d0a829d Merged revisions 87949 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87949 | benjamin.peterson | 2011-01-11 22:44:41 -0600 (Tue, 11 Jan 2011) | 1 line

  fix weirdly ambigious sentence
........
2011-01-12 04:51:02 +00:00
Benjamin Peterson 1efb8dc871 fix weirdly ambigious sentence 2011-01-12 04:44:41 +00:00
Raymond Hettinger b436b6cabc Revert r87946. The virtues of readability and of examples that
can be cut and pasted are more important than having a doctests
on examples that already work.
2011-01-12 01:16:57 +00:00
Terry Reedy fdf2925452 Issue #10225: Correct interactive Doc/howto/sorting.rst examples so doctest runs.
Based on part of A. Belopolsky's patch.
2011-01-11 23:05:50 +00:00
Raymond Hettinger cf8a382c94 Update the email section 2011-01-11 21:20:20 +00:00
Raymond Hettinger 9767365318 Update the datetime and time section. 2011-01-11 21:13:26 +00:00
Raymond Hettinger 3a8ae5f9f4 Clean-up threading.Barrier example. 2011-01-11 20:51:45 +00:00
Raymond Hettinger 5cee47f321 Add entry for Barrier objects. 2011-01-11 19:59:46 +00:00
Raymond Hettinger 6655d113e6 Add a todo. 2011-01-11 08:49:10 +00:00
Raymond Hettinger 51e2107b81 Fix typos and markup. 2011-01-10 23:38:15 +00:00
Alexander Belopolsky 5fc850b455 Improved footnote for the %Y directive slightly. 2011-01-10 23:31:51 +00:00
Alexander Belopolsky 085556ae89 Improved description of %Y directive. 2011-01-10 23:28:33 +00:00
Terry Reedy 23f4fb9a96 Issue #10875: Update Regular Expression HOWTO; additional backport. 2011-01-10 23:16:24 +00:00
Terry Reedy 262cc7f6b6 Issue #10875: Update Regular Expression HOWTO; last bit. 2011-01-10 23:13:21 +00:00
Alexander Belopolsky 9971e001ef Issue #2568: Removed bogus rationale for supporting tm_sec=61. 2011-01-10 22:56:14 +00:00
Alexander Belopolsky dc004a3ad6 Removed time.ctime from the list of functions that take a time tuple argument 2011-01-10 21:58:52 +00:00
Alexander Belopolsky bd96b06fd8 Added entries about removal of year 1900 limit. 2011-01-10 21:55:34 +00:00
Terry Reedy 8663e346dc Issue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'. 2011-01-10 21:49:11 +00:00
Terry Reedy aacfd4a0cf Issue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'. 2011-01-10 21:27:49 +00:00
Raymond Hettinger eb70b90097 Misspelling. 2011-01-10 21:26:49 +00:00
Raymond Hettinger 05ce079a1c Missed two source links 2011-01-10 21:16:07 +00:00
Raymond Hettinger 4f707fd316 Separate source link from main text. 2011-01-10 19:54:11 +00:00
Alexander Belopolsky 04da1e013a Fixed a footnote reference 2011-01-10 19:14:38 +00:00
Raymond Hettinger de2e618eb9 Fix typos. 2011-01-10 05:40:57 +00:00
Raymond Hettinger 1048094037 Move source links to consistent location and remove wordy, big yellow boxes. 2011-01-10 03:26:08 +00:00
Georg Brandl 04536b0edf #10871: "file" does not exist anymore in Python 3. Also adapt the reprs of opened file objects. 2011-01-09 09:31:01 +00:00
Georg Brandl c9007081ef Wrap some long examples and signatures. 2011-01-09 09:04:08 +00:00
Georg Brandl 41d0815a65 Merged revisions 87789-87790 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87789 | georg.brandl | 2011-01-06 10:23:56 +0100 (Do, 06 Jan 2011) | 1 line

  Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
........
  r87790 | georg.brandl | 2011-01-06 10:25:27 +0100 (Do, 06 Jan 2011) | 1 line

  Add acks where acks are due.
........
2011-01-09 08:01:46 +00:00
Georg Brandl ec78b8b170 Merged revisions 87807,87820,87831,87859,87870 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87807 | georg.brandl | 2011-01-06 20:28:18 +0100 (Do, 06 Jan 2011) | 1 line

  #10846: fix typo.
........
  r87820 | georg.brandl | 2011-01-07 19:28:45 +0100 (Fr, 07 Jan 2011) | 1 line

  #10856: document (Base)Exception.args better.
........
  r87831 | georg.brandl | 2011-01-07 21:58:25 +0100 (Fr, 07 Jan 2011) | 1 line

  Fix indent.
........
  r87859 | georg.brandl | 2011-01-08 10:45:43 +0100 (Sa, 08 Jan 2011) | 1 line

  #10855: document close() semantics of wave objects.
........
  r87870 | georg.brandl | 2011-01-08 22:04:25 +0100 (Sa, 08 Jan 2011) | 1 line

  zlib only works with bytes objects.
........
2011-01-09 07:59:02 +00:00
Georg Brandl 7fdc746a81 Merged revisions 87876-87877 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87876 | georg.brandl | 2011-01-09 08:38:51 +0100 (So, 09 Jan 2011) | 1 line

  #10869: do not visit root node twice in ast.increment_lineno().
........
  r87877 | georg.brandl | 2011-01-09 08:50:48 +0100 (So, 09 Jan 2011) | 1 line

  Add missing line.
........
2011-01-09 07:55:46 +00:00
Georg Brandl 619e7ba814 #10869: do not visit root node twice in ast.increment_lineno(). 2011-01-09 07:38:51 +00:00
Raymond Hettinger e3ee66f141 Issue #10357: Clarify what it means to be a mapping. 2011-01-08 23:44:37 +00:00
Georg Brandl 4ad934f63c zlib only works with bytes objects. 2011-01-08 21:04:25 +00:00
Alexander Belopolsky 2997837158 Fixed documentation to reflect recent changes for years < 1900. 2011-01-08 20:47:21 +00:00
Raymond Hettinger c08ea61373 Markup fix 2011-01-08 10:32:31 +00:00
Raymond Hettinger 83b1ab0d6a Issue 9717: Segregate and improve the documentation of "in-place" operators
in the operator module.
2011-01-08 10:26:53 +00:00
Georg Brandl d97b7b5158 #10855: document close() semantics of wave objects. 2011-01-08 09:45:43 +00:00
Raymond Hettinger 5254e9700e Issue 10533: Need example of using __missing__. 2011-01-08 09:35:38 +00:00
Georg Brandl 6d6fa47fb0 Merged revisions 86882 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r86882 | georg.brandl | 2010-11-30 09:20:16 +0100 (Di, 30 Nov 2010) | 1 line

  Fix input type for zlib.
........
2011-01-08 09:18:55 +00:00
Raymond Hettinger 0ab10e4600 Issue #10813: Small improvement to decimal money format recipe. 2011-01-08 09:03:11 +00:00
R. David Murray 9253214fd9 #10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.
This applies only when generating strings from non-RFC compliant binary
input; it makes the existing recoding behavior more consistent (ie:
now no data is lost when recoding).
2011-01-07 23:25:30 +00:00
Raymond Hettinger 7088abdca6 Revert r87821 which moved the source link to the wrong section (from the module intro covering the module to a section on thread imports). 2011-01-07 21:54:18 +00:00
Raymond Hettinger 1122fa2eb4 Revert r87823 which moved the source link to the wrong section. 2011-01-07 21:17:56 +00:00
Raymond Hettinger 32e8fea396 Update the digest of PEP 3333 based on comments for Phillip Eby. 2011-01-07 21:04:30 +00:00
Georg Brandl 2f2a9f772d Fix indent. 2011-01-07 20:58:25 +00:00
Raymond Hettinger fc90213f53 Combine the two seealso sections. 2011-01-07 20:33:09 +00:00
Alexander Belopolsky c64708ae48 Issue #10827: Changed the rules for 2-digit years. The time.asctime
function will now format any year when time.accept2dyear is false and
will accept years >= 1000 otherwise.  The year range accepted by
time.mktime and time.strftime is still system dependent, but
time.mktime will now accept full range supported by the OS. Conversion
of 2-digit years to 4-digit is deprecated.
2011-01-07 19:59:19 +00:00
Antoine Pitrou 696efdd03f Mention multiprocessing.Queue in the queue docs 2011-01-07 19:16:12 +00:00
Antoine Pitrou 4b512f73e0 Group seealsos 2011-01-07 19:01:48 +00:00
Antoine Pitrou 60bcc54d2e Put those "seealso"s together 2011-01-07 18:58:21 +00:00
Antoine Pitrou bdde506116 Put those source links together 2011-01-07 18:43:14 +00:00
Antoine Pitrou 1bdd6fd7c7 atexit.py doesn't exist 2011-01-07 18:42:21 +00:00
Antoine Pitrou 39e352cb46 Put link to source at the end. There's nothing edificating in threading.py. 2011-01-07 18:33:07 +00:00