Commit Graph

11468 Commits

Author SHA1 Message Date
Raymond Hettinger 608aba301e Issue #11625: Fix Typo 2011-03-22 09:12:18 -07:00
Raymond Hettinger e5820c6b5d Issue #11625: Fix Typo 2011-03-22 09:11:39 -07:00
Georg Brandl 2f5cac6ab4 Merge to 3.2. 2011-03-21 08:55:31 +01:00
Georg Brandl 82d8ec5eef Fix duplicate word. 2011-03-21 08:55:16 +01:00
Éric Araujo d40248777b Merge from 3.1 2011-03-20 18:31:42 +01:00
Éric Araujo 09eb980e3e Fix typo in class name 2011-03-20 18:30:37 +01:00
R David Murray 38a04e51f6 Merge markup fixes for #7198 patch. 2011-03-20 11:19:20 -04:00
R David Murray 9c0d5eaa70 Markup fixes for #7198 patch. 2011-03-20 11:18:21 -04:00
R David Murray fb8b067360 Really merge #7198
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:25:29 -04:00
R David Murray f453debb45 #7198: really add newline='' to csv.writer docs.
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:23:22 -04:00
Antoine Pitrou 7b98d02302 Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou 877766dee8 Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Raymond Hettinger af9be06b3c Issue 7391: Remove questionable and outdated HOWTO document with permission from its author. 2011-03-18 18:22:28 -07:00
Ezio Melotti 3b3499ba69 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
Ezio Melotti 13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
Raymond Hettinger 15aded8b73 Emphasize the ['x', 'y'] option for listing field names. Remove PS2 prompts to make the examples cut-and-pasteable. 2011-03-15 17:25:51 -07:00
Michael Foord dcebe0f2dc Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution 2011-03-15 19:20:44 -04:00
R David Murray 729c5e203d Merge #11216: document all possible set_charset execution paths. 2011-03-15 17:42:50 -04:00
R David Murray e3d09ff269 #11216: document all possible set_charset execution paths. 2011-03-15 17:41:13 -04:00
Antoine Pitrou 9bb9877d80 Followup to 4c59cd84086f: add an entry in the porting guide and a "versionchanged" attribute. 2011-03-15 20:22:50 +01:00
R David Murray 4a0b60c527 Merge #11555 as_string doc fix from 3.1. 2011-03-15 14:02:53 -04:00
R David Murray 7dedcb4644 #11555: update doc for 3.x change to as_string mangle_from default. 2011-03-15 14:01:18 -04:00
R David Murray c48c19afe0 Merge redundant __contains__ doc fix from 3.1. 2011-03-14 22:53:29 -04:00
R David Murray f6db0bbbee Remove redundant __contains__ entry from Message docs. 2011-03-14 22:43:38 -04:00
Ross Lagerwall 13312638b3 Merge from 3.1 2011-03-14 10:41:58 +02:00
Ross Lagerwall 8fea2e6a50 Issue #10885: Fix multiprocessing docs typo 2011-03-14 10:40:15 +02:00
Antoine Pitrou 9bd3bbcfe8 Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore 2011-03-13 23:28:28 +01:00
Antoine Pitrou 34db469895 Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478) 2011-03-13 19:32:01 +01:00
Antoine Pitrou 6b19e50e9b Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478) 2011-03-13 19:31:11 +01:00
Ezio Melotti 0def5c6907 Merge with 3.1. 2011-03-13 02:27:26 +02:00
Ezio Melotti 2b73660135 Fix markup in inputoutput.rst. 2011-03-13 02:19:57 +02:00
Ezio Melotti 77845ce55a Fix typo. 2011-03-12 22:25:06 +02:00
Benjamin Peterson 62e0b90be2 merge 3.1 2011-03-12 11:58:40 -06:00
Benjamin Peterson ab2b71699c trunc -> math.trunc (closes #11475) 2011-03-12 11:58:15 -06:00
Senthil Kumaran e858bca356 forward merge from 3.1 2011-03-12 11:42:33 +08:00
Senthil Kumaran abd4a05561 Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex 2011-03-12 11:40:25 +08:00
Ezio Melotti 147f6088f0 #11446: merge with 3.1. 2011-03-11 20:53:24 +02:00
Ezio Melotti 7885833df0 #11446: fix incorrect PEP link. 2011-03-11 20:50:42 +02:00
Eli Bendersky fc4252d3e2 merge 2011-03-11 16:40:25 +02:00
Eli Bendersky a7a1c15111 merge from 3.1 2011-03-11 16:39:04 +02:00
Eli Bendersky 9cc6249dee Issue #11426: use 'with' statements on open files in CSV examples 2011-03-11 16:33:36 +02:00
Ezio Melotti 1a87e3211a #11435: Update the links generated by the source directive to use hg.python.org. 2011-03-11 15:16:01 +02:00
R David Murray 5647c473bc Merge #10999 fix. 2011-03-10 17:22:33 -05:00
R David Murray 30178068d9 #10999: Add missing documentation for chflags constants to stat module docs
Patch by Michal Nowikowski.
2011-03-10 17:18:33 -05:00
Ezio Melotti c29cd9384a Use simpler assert in basic example. 2011-03-10 23:38:18 +02:00
Gregory P. Smith f2b5673f73 Explicitly mention that people should not depend on immediate
finalization of objects.

HG Enter commit message.  Lines beginning with 'HG:' are removed.
2011-03-10 11:32:29 -08:00
Gregory P. Smith c542547211 Reword the finalization note. 2011-03-10 11:28:50 -08:00
Gregory P. Smith c60137b272 Explicitly mention that people should not depend on immediate
finalization of objects in the language reference.
2011-03-10 11:25:44 -08:00
Ezio Melotti 40dcb1d287 Port a couple of changes from 3.1. 2011-03-10 13:46:50 +02:00
Ezio Melotti 2d1e88a4d1 Backport from 3.2 several improvements and fixes for unittest.rst. 2011-03-10 12:16:35 +02:00
Ezio Melotti 3d995843ce #11298: Improve the unittest discovery explanation. 2011-03-08 16:17:35 +02:00
Georg Brandl 891391bf68 Merge doc fixes. 2011-03-06 11:12:42 +01:00
Georg Brandl 1d0a0f5060 #11294: add missing ERA_T_FMT to locale docs. 2011-03-06 11:09:51 +01:00
Georg Brandl 931e5c1038 #11292: add missing A_REVERSE to curses attribute table. 2011-03-06 11:08:35 +01:00
Georg Brandl a2388be2af #11239: add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ]. 2011-03-06 11:07:11 +01:00
Georg Brandl 45ec333c72 #11227: use Host header in asyncore example. 2011-03-06 11:05:03 +01:00
Georg Brandl 12a6153aee #11373: fix spelling. 2011-03-06 10:57:52 +01:00
Georg Brandl 3640e18d90 #11405: do not reference the string module again for its deprecated functions, only for Template class. 2011-03-06 10:56:18 +01:00
Georg Brandl da2271939a #11392: you can trust the computer, but you have to know what it does. 2011-03-06 10:53:55 +01:00
Georg Brandl e32acd0d79 #11337: remove unreferenced footnote. 2011-03-06 10:51:18 +01:00
Georg Brandl 310337f828 #11400: remove reference to pre-1.5 assignment behavior. 2011-03-06 10:48:43 +01:00
Georg Brandl 49857f8a93 Add updated .hgeol file and fix newlines in the 3.2 branch. 2011-03-05 15:11:35 +01:00
Georg Brandl 5537d298ea Add updated .hgeol file and fix newlines in the 3.1 branch. 2011-03-05 15:10:38 +01:00
Fred Drake c7eb7894d3 Merged revisions 88717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines

  issue 11372: use range instead of xrange
........
2011-03-03 05:29:59 +00:00
Antoine Pitrou 6120d87d32 Merged revisions 88686 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88686 | antoine.pitrou | 2011-02-28 23:38:07 +0100 (lun., 28 févr. 2011) | 4 lines

  Recommend inspecting the errno attribute of socket.error objects,
  and improve wording.
........
2011-02-28 23:03:28 +00:00
Benjamin Peterson f3352e7c1f Merged revisions 88668 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88668 | benjamin.peterson | 2011-02-27 09:06:44 -0600 (Sun, 27 Feb 2011) | 1 line

  make this a link #11345
........
2011-02-27 15:15:06 +00:00
Benjamin Peterson 849272bf02 Merged revisions 88658 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88658 | benjamin.peterson | 2011-02-26 15:32:16 -0600 (Sat, 26 Feb 2011) | 1 line

  this isn't true anymore
........
2011-02-26 21:34:51 +00:00
Vinay Sajip dcc9513c67 Issue #11331: fixed documentation in logging cookbook. 2011-02-26 14:24:29 +00:00
Éric Araujo 682f6a7a1c Merged revisions 88613 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88613 | eric.araujo | 2011-02-25 22:40:34 +0100 (ven., 25 févr. 2011) | 2 lines

  Add missing read() in distutils doc.
........
2011-02-25 21:46:00 +00:00
Éric Araujo 7d9d34f18a Merged revisions 88613 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88613 | eric.araujo | 2011-02-25 22:40:34 +0100 (ven., 25 févr. 2011) | 2 lines

  Add missing read() in distutils doc.
........
2011-02-25 21:45:06 +00:00
Giampaolo Rodolà fb9a9c8f2f Merged revisions 88581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88581 | giampaolo.rodola | 2011-02-25 15:50:57 +0100 (ven, 25 feb 2011) | 1 line

  (issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi)
........
2011-02-25 14:54:07 +00:00
Georg Brandl bd65e7fa46 Markup backport fix. 2011-02-25 11:27:55 +00:00
Georg Brandl 2774310c27 Merged revisions 87627,87638,87739,87760,87771,87787,87984,87986,88108,88115,88144,88165,88329,88364-88365,88369-88370,88423-88424 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87627 | georg.brandl | 2011-01-02 15:23:43 +0100 (So, 02 Jan 2011) | 1 line

  #1665333: add more docs for optparse.OptionGroup.
........
  r87638 | georg.brandl | 2011-01-02 20:07:51 +0100 (So, 02 Jan 2011) | 1 line

  Fix code indentation.
........
  r87739 | georg.brandl | 2011-01-04 18:27:13 +0100 (Di, 04 Jan 2011) | 1 line

  Fix exception catching.
........
  r87760 | georg.brandl | 2011-01-05 11:59:48 +0100 (Mi, 05 Jan 2011) | 1 line

  Fix duplicate end tag.
........
  r87771 | georg.brandl | 2011-01-05 22:47:47 +0100 (Mi, 05 Jan 2011) | 1 line

  On Py3k, -tt and -3 are no-op and unsupported respectively.
........
  r87787 | georg.brandl | 2011-01-06 10:15:45 +0100 (Do, 06 Jan 2011) | 1 line

  Remove doc for nonexisting parameter.
........
  r87984 | georg.brandl | 2011-01-13 08:24:40 +0100 (Do, 13 Jan 2011) | 1 line

  Add semicolon for consistency.
........
  r87986 | georg.brandl | 2011-01-13 08:31:18 +0100 (Do, 13 Jan 2011) | 1 line

  Fix the example output of count().
........
  r88108 | georg.brandl | 2011-01-19 09:42:03 +0100 (Mi, 19 Jan 2011) | 1 line

  Suppress trailing spaces in table paragraphs.
........
  r88115 | georg.brandl | 2011-01-19 21:05:49 +0100 (Mi, 19 Jan 2011) | 1 line

  #10944: add c_bool to types table.
........
  r88144 | georg.brandl | 2011-01-22 23:06:24 +0100 (Sa, 22 Jan 2011) | 1 line

  #10983: fix several bugs in the _tunnel implementation that seem to have missed while porting between branches.  A unittest is needed!
........
  r88165 | georg.brandl | 2011-01-24 20:53:18 +0100 (Mo, 24 Jan 2011) | 1 line

  Typo fix.
........
  r88329 | georg.brandl | 2011-02-03 08:08:25 +0100 (Do, 03 Feb 2011) | 1 line

  Punctuation typos.
........
  r88364 | georg.brandl | 2011-02-07 13:10:46 +0100 (Mo, 07 Feb 2011) | 1 line

  #11138: fix order of fill and align specifiers.
........
  r88365 | georg.brandl | 2011-02-07 13:13:58 +0100 (Mo, 07 Feb 2011) | 1 line

  #8691: document that right alignment is default for numbers.
........
  r88369 | georg.brandl | 2011-02-07 16:30:45 +0100 (Mo, 07 Feb 2011) | 1 line

  Consistent heading spacing, and fix two typos.
........
  r88370 | georg.brandl | 2011-02-07 16:44:27 +0100 (Mo, 07 Feb 2011) | 1 line

  Spelling fixes.
........
  r88423 | georg.brandl | 2011-02-15 13:41:17 +0100 (Di, 15 Feb 2011) | 1 line

  Apply logging SocketHandler doc update by Vinay.
........
  r88424 | georg.brandl | 2011-02-15 13:44:43 +0100 (Di, 15 Feb 2011) | 1 line

  Remove editing slip.
........
2011-02-25 10:18:11 +00:00
Georg Brandl d98934c483 Merged revisions 87101,87146,87156,87172,87175,87371,87378,87522-87524,87526-87528,87530-87536,87581 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line

  Remove visible XXX comments.
........
  r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line

  Fix "seperate".
........
  r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line

  #10668: fix wrong call of __init__.
........
  r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line

  Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed.
........
  r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line

  Fix markup.
........
  r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line

  Fix typo.
........
  r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line

  #10723: add missing builtin exceptions.
........
  r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line

  Replace sys.maxint mention by sys.maxsize.
........
  r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line

  Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial.
........
  r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line

  Fix advice: call PyType_Ready to fill in ob_type of custom types.
........
  r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line

  #10777: fix iteration over dict keys while mutating the dict.
........
  r87527 | georg.brandl | 2010-12-28 11:56:20 +0100 (Di, 28 Dez 2010) | 1 line

  #10768: fix ScrolledText widget construction, and make the example work from the interactive shell.
........
  r87528 | georg.brandl | 2010-12-28 12:02:12 +0100 (Di, 28 Dez 2010) | 1 line

  Add news entry and clarify another.
........
  r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line

  #10767: update README in crashers; not all may have a bug entry and/or be fixed.
........
  r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line

  #10742: document readonly attribute of memoryviews.
........
  r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line

  #10781: clarify that *encoding* is not a parameter for Node objects in general.
........
  r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line

  Remove history; adapt a bit more to reST, since this will once be part of the dev guide.
........
  r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line

  Rewrap.
........
  r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line

  #10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected.
........
  r87536 | georg.brandl | 2010-12-28 12:53:25 +0100 (Di, 28 Dez 2010) | 1 line

  #10609: fix non-working dbm example.
........
  r87581 | georg.brandl | 2010-12-30 18:36:17 +0100 (Do, 30 Dez 2010) | 1 line

  Fix NameErrors.
........
2011-02-25 10:03:34 +00:00
Georg Brandl f6c8fd62b9 Merged revisions 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r86537 | georg.brandl | 2010-11-19 23:09:04 +0100 (Fr, 19 Nov 2010) | 1 line

  Do not put a raw REPLACEMENT CHARACTER in the document.
........
  r86867 | georg.brandl | 2010-11-29 15:50:54 +0100 (Mo, 29 Nov 2010) | 1 line

  Fix indentation bug.
........
  r86868 | georg.brandl | 2010-11-29 15:53:15 +0100 (Mo, 29 Nov 2010) | 1 line

  Fix heading style inconsistencies.
........
  r86881 | georg.brandl | 2010-11-30 08:43:28 +0100 (Di, 30 Nov 2010) | 1 line

  #10584: fix bad links.
........
  r86887 | georg.brandl | 2010-11-30 15:57:54 +0100 (Di, 30 Nov 2010) | 1 line

  Fix typo.
........
  r86913 | georg.brandl | 2010-12-01 16:32:43 +0100 (Mi, 01 Dez 2010) | 1 line

  Add missing word, and add a better reference to the actual function.
........
  r86914 | georg.brandl | 2010-12-01 16:36:33 +0100 (Mi, 01 Dez 2010) | 1 line

  #10594: fix parameter names in PyList API docs.
........
  r86915 | georg.brandl | 2010-12-01 16:44:25 +0100 (Mi, 01 Dez 2010) | 1 line

  Fix some markup and style in the unittest docs.
........
  r86931 | georg.brandl | 2010-12-02 10:06:12 +0100 (Do, 02 Dez 2010) | 1 line

  Fix-up documentation of makedirs().
........
  r86932 | david.malcolm | 2010-12-02 17:41:00 +0100 (Do, 02 Dez 2010) | 2 lines

  Fix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606)
........
  r86933 | georg.brandl | 2010-12-02 19:02:01 +0100 (Do, 02 Dez 2010) | 1 line

  #10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
........
  r86960 | georg.brandl | 2010-12-03 08:55:44 +0100 (Fr, 03 Dez 2010) | 1 line

  #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.
........
  r86964 | georg.brandl | 2010-12-03 10:58:38 +0100 (Fr, 03 Dez 2010) | 1 line

  #10549: fix interface of docclass() for text documenter.
........
  r86974 | georg.brandl | 2010-12-03 16:30:09 +0100 (Fr, 03 Dez 2010) | 1 line

  Markup consistency fixes.
........
  r86980 | georg.brandl | 2010-12-03 18:19:27 +0100 (Fr, 03 Dez 2010) | 1 line

  Fix punctuation.
........
  r86996 | georg.brandl | 2010-12-03 20:56:42 +0100 (Fr, 03 Dez 2010) | 1 line

  Fix indentation.
........
  r87008 | georg.brandl | 2010-12-04 10:04:04 +0100 (Sa, 04 Dez 2010) | 1 line

  Fix typo.
........
  r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line

  Fix typo.
........
2011-02-25 09:48:21 +00:00
Raymond Hettinger 8edd2e9720 Issue #11296: rsplit() mentioned twice for the same change. 2011-02-24 11:15:36 +00:00
Benjamin Peterson edf5132dfe Merged revisions 88540-88541 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88540 | benjamin.peterson | 2011-02-23 20:46:00 -0600 (Wed, 23 Feb 2011) | 1 line

  this seems to be pointlessly nested
........
  r88541 | benjamin.peterson | 2011-02-23 20:53:05 -0600 (Wed, 23 Feb 2011) | 1 line

  rewrite
........
2011-02-24 03:03:46 +00:00
Raymond Hettinger 756fe2608d Issue #11304: Input/output tutorial - PI is rounded not truncated. 2011-02-24 00:06:16 +00:00
Raymond Hettinger 48e5cd3df3 nits 2011-02-23 04:22:31 +00:00
Terry Reedy ba9ad6021a Fix typo reported by 'Paddy' on python-list. 2011-02-22 16:24:07 +00:00
Raymond Hettinger 540b636077 Issue 11263: Fix link to source code. 2011-02-21 19:56:24 +00:00
Raymond Hettinger f5692b0476 Issue 10160: Both single-arg and multi-arg calls have been sped-up. 2011-02-21 17:53:16 +00:00
Georg Brandl 14927d0928 Topic and suspicious update. 2011-02-20 10:22:41 +00:00
Éric Araujo e0e824d2ed Fix two typos in what’s new (#11234). 2011-02-19 18:46:02 +00:00
Éric Araujo 85dacf7267 Some more grammar fixes/typos for what’s new (approved by Raymond; #11071) 2011-02-19 18:06:50 +00:00
Brett Cannon 6277fa4f7d Update the porting HOWTO to be a little less harsh on using 2to3.
Patch reviewed by Raymond Hettinger, permission from Georg Brandl to commit
during an RC.
2011-02-18 01:34:28 +00:00
Raymond Hettinger 8f0ae9a17f Doc fixups. 2011-02-18 00:53:55 +00:00
Raymond Hettinger 03a6e6630b Fix-up logging.dictConfig() example. 2011-02-17 19:19:44 +00:00
Raymond Hettinger 4a8f50a85c Fix an import and add a citation. 2011-02-17 19:05:53 +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
Raymond Hettinger 44efc6522a Fix accumulate() example. (Reported by David Murray.) 2011-02-14 18:18:49 +00:00
Raymond Hettinger 725cb96d8a Fix example for count(). 2011-02-14 06:01:56 +00:00
Georg Brandl 829befb9e3 Fix markup error and update suspicious ignores. 2011-02-13 09:59:39 +00:00
Georg Brandl c60e306a80 Fix markup problems. 2011-02-12 07:32:02 +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
R. David Murray 43b2f457a0 Merged revisions 87136,87221,87256,87337-87338,87571,87839,88164 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k


........
  r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines

  Have script_helper._assert_python strip refcount strings from stderr.

  This makes the output of the function and those that depend on it
  independent of whether or not they are being run under a debug
  build.
........
  r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines

  #10699: fix docstring for tzset: it does not take a parameter

  Thanks to Garrett Cooper for the fix.
........
  r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines

  #10705: document what the values of debuglevel are and mean.
........
  r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines

  #10559: provide instructions for accessing sys.argv when first mentioned.
........
  r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines

  #10454: clarify the compileall docs and help messages.
    [compileall.py changes not backported.]
........
  r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines

  Fix same typo in docs.
........
  r87839 | r.david.murray | 2011-01-07 16:57:25 -0500 (Fri, 07 Jan 2011) | 9 lines

  Fix formatting of values with embedded newlines when rfc2047 encoding

  Before this patch if a value being encoded had an embedded newline,
  the line following the newline would have no leading whitespace,
  and the whitespace it did have was encoded into the word.  Now
  the existing whitespace gets turned into a blank, the way it does
  in other header reformatting, and the _continuation_ws gets added
  at the beginning of the encoded line.
........
  r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines

  #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-02-11 03:13:19 +00:00
Raymond Hettinger 44028d8663 Missing paren. 2011-02-11 00:08:38 +00:00
Raymond Hettinger ed92b5a46b Insert missing section heading (noticed by Victor Stinner). 2011-02-11 00:03:03 +00:00
Raymond Hettinger 1fbd8e1c9a Fix nits. 2011-02-10 09:43:04 +00:00
Raymond Hettinger 9f62d7432c Add an entry for logging. 2011-02-10 09:20:26 +00:00
Raymond Hettinger 3029affc85 Add missing source links. 2011-02-10 08:09:36 +00:00
Brett Cannon a2f154459a Tweak wording about equality comparison. 2011-02-09 22:55:13 +00:00
Terry Reedy 91638e70d3 Add 'pysqlite' before version 2.6.0 2011-02-09 19:21:00 +00:00
Raymond Hettinger 186f441288 Typo. 2011-02-09 18:16:32 +00:00
Antoine Pitrou ddcacf3156 Merged revisions 88377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88377 | antoine.pitrou | 2011-02-08 00:10:33 +0100 (mar., 08 févr. 2011) | 4 lines

  Issue #11141: Fix the shelve documentation to use a list, not a range object.
  Patch by SilentGhost.
........
2011-02-07 23:18:52 +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 b248bdca96 Merged revisions 88371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88371 | antoine.pitrou | 2011-02-07 16:58:11 +0100 (lun., 07 févr. 2011) | 3 lines

  Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().
........
2011-02-07 16:03:24 +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 7a0afd3f07 Spelling fixes. 2011-02-07 15:44:27 +00:00
Georg Brandl 2cb2fa9796 Consistent heading spacing, and fix two typos. 2011-02-07 15:30:45 +00:00
Raymond Hettinger 555f28830b Add link to table for Tcl/Tk issues on the Mac. 2011-02-07 12:51:05 +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
Eli Bendersky 7ac3419a6c Fix some typos and grammar 2011-02-07 04:44:19 +00:00
Eli Bendersky 2d062de1d8 Fix some typos and grammar
[commit during RC with Brett's approval]
2011-02-07 04:19:57 +00:00
Raymond Hettinger 8cd0b38392 Typo. Doh! 2011-02-07 04:00:24 +00:00
Raymond Hettinger 833ad0eede Fix awkwardly rendered sentence. 2011-02-06 21:00:38 +00:00
Raymond Hettinger fb2d167e26 Issue #11071: Various improvements to whatsnew. 2011-02-06 20:08:57 +00:00
Raymond Hettinger 810cd3479f Small markup and wording tweaks for the sorting-howto. 2011-02-06 06:11:29 +00:00
Brett Cannon 98135d07e7 Mention that people going the source compatibility route should run 2to3 to find pain points. 2011-02-05 22:22:47 +00:00
Brett Cannon 45aa7cc7a7 Soften wording on doctest. 2011-02-05 22:16:40 +00:00
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