Commit Graph

12122 Commits

Author SHA1 Message Date
Alexander Belopolsky fe84f327a2 Merged revisions 82236 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82236 | alexander.belopolsky | 2010-06-25 22:05:19 -0400 (Fri, 25 Jun 2010) | 4 lines

  Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that
  it is typically used in module initialization function. Thanks Tim
  Golden for the patch.
........
2010-06-26 02:12:19 +00:00
Alexander Belopolsky caf5db7924 Issue #9024: Fixed mark-up for PyDateTime_IMPORT macro and added that
it is typically used in module initialization function. Thanks Tim
Golden for the patch.
2010-06-26 02:05:19 +00:00
Benjamin Peterson 5c995c10d4 remove reverted changed 2010-06-24 00:02:46 +00:00
Andrew M. Kuchling 08982665b7 Note that Python 3.x isn't covered; add forward ref. for UTF-8; note error in 2.5 and up 2010-06-20 21:45:45 +00:00
Senthil Kumaran 738cc7e6c8 Merged revisions 82026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82026 | senthil.kumaran | 2010-06-16 23:07:32 +0530 (Wed, 16 Jun 2010) | 3 lines

  Addressing RDM's review comments on the doc change.
........
2010-06-16 17:39:51 +00:00
Senthil Kumaran a3e3e36de7 Addressing RDM's review comments on the doc change. 2010-06-16 17:37:32 +00:00
Senthil Kumaran 13d4fafdae Merged revisions 82018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82018 | senthil.kumaran | 2010-06-16 20:25:31 +0530 (Wed, 16 Jun 2010) | 3 lines

  Fix Issue8937 - SimpleHTTPServer should contain usage example
........
2010-06-16 16:17:33 +00:00
Senthil Kumaran e55a20525e Fix Issue8937 - SimpleHTTPServer should contain usage example 2010-06-16 14:55:31 +00:00
R. David Murray 27e33fcd52 Merged revisions 81634 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81634 | r.david.murray | 2010-05-31 21:42:41 -0400 (Mon, 31 May 2010) | 2 lines

  #7583: clarify discussion of hard tab expansion in doctests.
........
2010-06-15 23:21:18 +00:00
Mark Dickinson b80d44f898 Merged revisions 81992 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81992 | mark.dickinson | 2010-06-15 09:33:03 +0100 (Tue, 15 Jun 2010) | 3 lines

  Issue #8469:  Further clarifications and improvements to struct module
  documentation.  Thanks Mads Kiilerich.
........
2010-06-15 08:38:21 +00:00
Mark Dickinson 526e5eed71 Issue #8469: Further clarifications and improvements to struct module
documentation.  Thanks Mads Kiilerich.
2010-06-15 08:33:03 +00:00
Andrew M. Kuchling 019aec22a7 Add another bunch of items 2010-06-15 00:38:58 +00:00
Georg Brandl 9933da0663 #8993: fix reference. 2010-06-14 15:58:39 +00:00
Nick Coghlan 8842c356aa Revert r80580 due to some unintended side effects. See issue #8202 for details. 2010-06-13 06:50:39 +00:00
Mark Dickinson fb49f9a0be Merged revisions 81957 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81957 | mark.dickinson | 2010-06-12 19:50:34 +0100 (Sat, 12 Jun 2010) | 5 lines

  Issue #8469:  Add standard sizes to table in struct documentation; additional
  clarifications and documentation tweaks.

  Backport of revisions 81955-81956 from py3k.
........
2010-06-12 18:55:47 +00:00
Mark Dickinson 8e6c45cfd4 Issue #8469: Add standard sizes to table in struct documentation; additional
clarifications and documentation tweaks.

Backport of revisions 81955-81956 from py3k.
2010-06-12 18:50:34 +00:00
Nick Coghlan 10f08f9599 Backport a fix from Py3k for a potentially misleading example 2010-06-12 13:45:37 +00:00
Georg Brandl a232be1b0b Merged revisions 81940-81942 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81940 | georg.brandl | 2010-06-12 11:45:28 +0200 (Sa, 12 Jun 2010) | 1 line

  Add document on how to build.
........
  r81941 | georg.brandl | 2010-06-12 11:45:58 +0200 (Sa, 12 Jun 2010) | 1 line

  Fix gratuitous indentation.
........
  r81942 | georg.brandl | 2010-06-12 11:46:03 +0200 (Sa, 12 Jun 2010) | 1 line

  Update README.
........
2010-06-12 09:50:02 +00:00
Georg Brandl f084aed3b0 Update README. 2010-06-12 09:46:03 +00:00
Georg Brandl 961e6fd37a Fix gratuitous indentation. 2010-06-12 09:45:58 +00:00
Georg Brandl 16269806ba Add document on how to build. 2010-06-12 09:45:28 +00:00
Georg Brandl fd3eff68f5 Use newer toctree syntax. 2010-06-12 09:45:01 +00:00
Georg Brandl ab776cef9d Document that an existing directory raises in mkdir(). 2010-06-12 06:28:58 +00:00
Georg Brandl b20ada08bd Fix punctuation. 2010-06-12 06:26:54 +00:00
Andrew M. Kuchling 11bd81c226 Add a few more items 2010-06-11 01:54:58 +00:00
Andrew M. Kuchling edbb091540 #5753: mention PySys_SetArgvEx() in 2.6 What's News 2010-06-11 01:07:06 +00:00
Andrew M. Kuchling 81145c9b1d #5753: Suggest PySys_SetArgvEx() instead of PySys_SetArgv() 2010-06-11 00:23:01 +00:00
Alexander Belopolsky 094c53cf6e Fixed markup of tm_isdst attribute. 2010-06-09 17:08:11 +00:00
Andrew M. Kuchling 3ca14e93c9 #8875: Remove duplicated paragraph 2010-06-07 13:38:40 +00:00
Tarek Ziadé f7a65490a4 Merged revisions 81788 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81788 | tarek.ziade | 2010-06-06 22:05:20 +0200 (Sun, 06 Jun 2010) | 1 line

  Fixed #8909: now the doc details the size of the bitmap used in distutils' bdist_wininst
........
2010-06-06 20:10:03 +00:00
Tarek Ziadé 770fd15caa Fixed #8909: now the doc details the size of the bitmap used in distutils' bdist_wininst 2010-06-06 20:05:20 +00:00
Benjamin Peterson 11591c3dda fix sphinx warning with an extra space 2010-06-06 00:54:29 +00:00
Benjamin Peterson 53e812a0ce remove extra space 2010-06-06 00:50:58 +00:00
Michael Foord 8dde20168a Documentation updates for issues 8302 and 8351 (truncating excessive diffs in unittest failure messages and reporting SkipTest exceptions in setUpClass and setUpModule as skips rather than errors). 2010-06-05 21:57:03 +00:00
Alexander Belopolsky 3b818bfbfa Issue #8899: time.struct_time now has class and atribute docstrings. 2010-06-05 14:54:26 +00:00
Vinay Sajip 998cc24dd4 Issue #8890: Documentation changed to avoid reference to temporary files - other cases covered. 2010-06-04 13:41:02 +00:00
Vinay Sajip 9a26aabf89 Issue #8890: Documentation changed to avoid reference to temporary files. 2010-06-03 22:34:42 +00:00
R. David Murray e036af0ce5 Merged revisions 81658 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81658 | r.david.murray | 2010-06-02 18:03:15 -0400 (Wed, 02 Jun 2010) | 9 lines

  #1368247: make set_charset/MIMEText automatically encode unicode _payload.

  Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as
  the charset and unicode as the _text argument.  Also makes the way in
  which unicode gets encoded to quoted printable for other charsets more
  sane (it only worked by accident previously).  The _payload now is encoded
  to the charset.output_charset if it is unicode.
........
2010-06-02 22:11:01 +00:00
R. David Murray 52dcd45906 #1368247: make set_charset/MIMEText automatically encode unicode _payload.
Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as
the charset and unicode as the _text argument.  Also makes the way in
which unicode gets encoded to quoted printable for other charsets more
sane (it only worked by accident previously).  The _payload now is encoded
to the charset.output_charset if it is unicode.
2010-06-02 22:03:15 +00:00
Antoine Pitrou b56b50ddd1 Merged revisions 81652 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81652 | antoine.pitrou | 2010-06-02 19:08:47 +0200 (mer., 02 juin 2010) | 4 lines

  Issue #8873: add a documentation note about possible performance issues with the
  default of unbuffered IO in subprocess.Popen.
........
2010-06-02 17:10:45 +00:00
Antoine Pitrou c395545a4a Issue #8873: add a documentation note about possible performance issues with the
default of unbuffered IO in subprocess.Popen.
2010-06-02 17:08:47 +00:00
Senthil Kumaran bebd23b73b Merged revisions 81645 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81645 | senthil.kumaran | 2010-06-02 07:49:15 +0530 (Wed, 02 Jun 2010) | 3 lines

  Fix issue8788 - description of doseq parameter in urllib.urlencode
........
2010-06-02 02:22:00 +00:00
Senthil Kumaran 98bc31f5e0 Fix issue8788 - description of doseq parameter in urllib.urlencode 2010-06-02 02:19:15 +00:00
Georg Brandl a0b86677c0 Merged revisions 81635 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81635 | georg.brandl | 2010-06-01 09:25:23 +0200 (Di, 01 Jun 2010) | 1 line

  Put docs for RegexObject.search() before RegexObject.match() to mirror re.search() and re.match() order.
........
2010-06-01 23:21:12 +00:00
Georg Brandl b1a14051b7 Put docs for RegexObject.search() before RegexObject.match() to mirror re.search() and re.match() order. 2010-06-01 07:25:23 +00:00
R. David Murray ac94f4f716 #7583: clarify discussion of hard tab expansion in doctests. 2010-06-01 01:42:41 +00:00
R. David Murray 2e183377ee Merged revisions 81586 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81586 | r.david.murray | 2010-05-28 14:08:11 -0400 (Fri, 28 May 2010) | 2 lines

  Make reference to Generic Attribute Management a hyperlink.
........
2010-05-31 22:57:24 +00:00
Antoine Pitrou b0d6a59666 Merged revisions 81621 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81621 | antoine.pitrou | 2010-05-31 19:01:01 +0200 (lun., 31 mai 2010) | 4 lines

  Improve documentation for getaddrinfo() (part of #8857)
........
2010-05-31 17:02:35 +00:00
Antoine Pitrou de535cb615 Improve documentation for getaddrinfo() (part of #8857) 2010-05-31 17:01:01 +00:00
Stefan Krah 0f55c32fc8 Merged revisions 81598 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81598 | stefan.krah | 2010-05-29 14:54:35 +0200 (Sat, 29 May 2010) | 1 line

  Fix typo
........
2010-05-29 12:57:00 +00:00
Stefan Krah 3d08d88459 Fix typo 2010-05-29 12:54:35 +00:00
Antoine Pitrou ae15f1754a Merged revisions 81594 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81594 | antoine.pitrou | 2010-05-29 14:06:13 +0200 (sam., 29 mai 2010) | 3 lines

  Issue #8840: Make documentation for truncate() clearer
........
2010-05-29 12:08:31 +00:00
Antoine Pitrou 9fe6199b4e Issue #8840: Make documentation for truncate() clearer 2010-05-29 12:06:13 +00:00
R. David Murray e5d1c05216 Make reference to Generic Attribute Management a hyperlink. 2010-05-28 18:08:11 +00:00
Benjamin Peterson e210be5793 Merged revisions 81579 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81579 | benjamin.peterson | 2010-05-27 22:10:31 -0500 (Thu, 27 May 2010) | 1 line

  2to3 doesn't fix test_support #6583
........
2010-05-28 03:23:52 +00:00
Benjamin Peterson 9b14ae8814 2to3 doesn't fix test_support #6583 2010-05-28 03:10:31 +00:00
Andrew M. Kuchling 29f1bb3227 Add item 2010-05-27 21:29:59 +00:00
Andrew M. Kuchling 3bfd0311f9 Remove top-level 'General Questions' section, pushing up the questions it contains 2010-05-27 13:30:09 +00:00
Andrew M. Kuchling 2eaa542e00 Rewrite wxWidgets section 2010-05-27 13:22:53 +00:00
R. David Murray 71b2315824 Merged revisions 81521 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81521 | r.david.murray | 2010-05-25 11:32:06 -0400 (Tue, 25 May 2010) | 2 lines

  Issue 8818: urlparse/urlsplit keyword is 'scheme', not 'default_scheme'.
........
2010-05-25 15:49:57 +00:00
R. David Murray 172e06e019 Issue 8818: urlparse/urlsplit keyword is 'scheme', not 'default_scheme'. 2010-05-25 15:32:06 +00:00
Andrew M. Kuchling 264acad721 Add three items 2010-05-25 13:34:08 +00:00
Georg Brandl f0757a2937 #8016: add the CP858 codec (approved by Benjamin). (Also add CP720 to the tests, it was missing there.) 2010-05-24 21:29:07 +00:00
Steven Bethard 74bd9cf7d0 argparse documentation updates (including updates to optparse and getopt documentation that were promised in the PEP) 2010-05-24 02:38:00 +00:00
Georg Brandl 151973e1c8 #1436346: make it more obvious that timetuple[7] is yday. 2010-05-23 21:29:29 +00:00
Mark Dickinson 83afa36483 Merged revisions 80013-80015 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80013 | mark.dickinson | 2010-04-12 20:25:32 +0100 (Mon, 12 Apr 2010) | 14 lines

  Issue #7355: Various improvements to struct module documentation.

   - note early on that the result of struct.pack includes padding
     bytes by default

   - add examples showing how order of struct fields can affect size
     (due to padding)

   - better headers and references; introduction to format strings

   - integrate packing notes into table

  Many thanks to Meador Inge for the patch.
........
  r80014 | mark.dickinson | 2010-04-12 20:46:20 +0100 (Mon, 12 Apr 2010) | 1 line

  Rewrap some long lines in struct module doc source.
........
  r80015 | mark.dickinson | 2010-04-12 21:38:36 +0100 (Mon, 12 Apr 2010) | 1 line

  More struct doc tweaks.
........
2010-05-22 18:47:23 +00:00
Georg Brandl a10d64fba2 Merged revisions 81463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81463 | georg.brandl | 2010-05-22 10:17:23 +0200 (Sa, 22 Mai 2010) | 1 line

  #8785: less confusing description of regex.find*.
........
2010-05-22 08:21:45 +00:00
Georg Brandl f93ce0c1f5 #8785: less confusing description of regex.find*. 2010-05-22 08:17:23 +00:00
Georg Brandl 86a33341c0 Merged revisions 81450 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81450 | georg.brandl | 2010-05-22 00:03:29 +0200 (Sa, 22 Mai 2010) | 1 line

  #8709: mention Windows support for os.devnull.
........
2010-05-21 22:04:28 +00:00
Georg Brandl fa0fdb89e9 #8709: mention Windows support for os.devnull. 2010-05-21 22:03:29 +00:00
Georg Brandl b0881f2de0 Merged revisions 81440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81440 | georg.brandl | 2010-05-21 23:47:05 +0200 (Fr, 21 Mai 2010) | 1 line

  Correct info for Semaphore.acquire() semantics under OSX.
........
2010-05-21 21:48:10 +00:00
Georg Brandl 042d6a4f75 Correct info for Semaphore.acquire() semantics under OSX. 2010-05-21 21:47:05 +00:00
Georg Brandl f28ae81741 Merged revisions 81431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81431 | georg.brandl | 2010-05-21 23:30:47 +0200 (Fr, 21 Mai 2010) | 1 line

  #8707: remove duplicate paragraph part.
........
2010-05-21 21:33:16 +00:00
Georg Brandl dd59f1bf92 #8707: remove duplicate paragraph part. 2010-05-21 21:30:47 +00:00
Georg Brandl 81d1f4045b Merged revisions 81419 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81419 | georg.brandl | 2010-05-21 22:58:12 +0200 (Fr, 21 Mai 2010) | 1 line

  Add missing parameter in SimpleXMLRPCServer signature.
........
2010-05-21 20:59:28 +00:00
Georg Brandl 233eb54051 Add missing parameter in SimpleXMLRPCServer signature. 2010-05-21 20:58:12 +00:00
Georg Brandl 5c3840c831 Merged revisions 81415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81415 | georg.brandl | 2010-05-21 22:52:46 +0200 (Fr, 21 Mai 2010) | 1 line

  typo
........
2010-05-21 20:54:17 +00:00
Georg Brandl da69add804 typo 2010-05-21 20:52:46 +00:00
Georg Brandl cdbe710216 Do not mention 2.7+ behavior in the 2.6 docs. 2010-05-21 20:48:48 +00:00
Benjamin Peterson 1646138f00 update 2to3 docs 2010-05-21 20:46:53 +00:00
Georg Brandl 7ff5a27bd6 typo 2010-05-21 20:42:22 +00:00
Georg Brandl bc9a99df86 Merged revisions 81404 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81404 | georg.brandl | 2010-05-21 22:24:45 +0200 (Fr, 21 Mai 2010) | 1 line

  #8783: replace link to now dead hash collision FAQ.
........
2010-05-21 20:28:10 +00:00
Georg Brandl 16fd5cdfeb #8783: replace link to now dead hash collision FAQ. 2010-05-21 20:24:45 +00:00
Vinay Sajip c76defc118 Updated logging documentation with more dictConfig information. 2010-05-21 17:41:34 +00:00
Antoine Pitrou 52ca516cac Merged revisions 81398 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81398 | antoine.pitrou | 2010-05-21 19:12:38 +0200 (ven., 21 mai 2010) | 6 lines

  Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows
  embedders of the interpreter to set sys.argv without also modifying
  sys.path.  This helps fix `CVE-2008-5983
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_.
........
2010-05-21 17:22:43 +00:00
Antoine Pitrou 6a2656094d Issue #5753: A new C API function, :cfunc:`PySys_SetArgvEx`, allows
embedders of the interpreter to set sys.argv without also modifying
sys.path.  This helps fix `CVE-2008-5983
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983>`_.
2010-05-21 17:12:38 +00:00
Benjamin Peterson e38a28f498 Merged revisions 81385 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81385 | benjamin.peterson | 2010-05-20 17:23:37 -0500 (Thu, 20 May 2010) | 1 line

  fix extra 't' #8778
........
2010-05-20 22:27:10 +00:00
Benjamin Peterson a85bd06a82 fix extra 't' #8778 2010-05-20 22:23:37 +00:00
Stefan Krah 4a769059be Fix typo. 2010-05-19 15:59:40 +00:00
Georg Brandl 161cdb3bfd Merged revisions 79607-79608 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79607 | andrew.kuchling | 2010-04-02 19:48:23 +0200 (Fr, 02 Apr 2010) | 1 line

  #6647: document that catch_warnings is not thread-safe
........
  r79608 | andrew.kuchling | 2010-04-02 19:54:26 +0200 (Fr, 02 Apr 2010) | 1 line

  #6647: add note to two examples
........
2010-05-19 14:25:58 +00:00
Georg Brandl 5a69299e53 Merged revisions 78717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78717 | benjamin.peterson | 2010-03-06 04:13:33 +0100 (Sa, 06 Mär 2010) | 1 line

  settscdump is definitely an implementation detail
........
2010-05-19 14:17:00 +00:00
Georg Brandl 2ee18c6ca6 Merged revisions 78559,78561-78562 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78559 | andrew.kuchling | 2010-03-01 20:45:21 +0100 (Mo, 01 Mär 2010) | 1 line

  #7637: update discussion of minidom.unlink() and garbage collection
........
  r78561 | andrew.kuchling | 2010-03-01 20:51:43 +0100 (Mo, 01 Mär 2010) | 1 line

  #7191: describe more details of wbits parameter
........
  r78562 | andrew.kuchling | 2010-03-01 21:11:57 +0100 (Mo, 01 Mär 2010) | 1 line

  #7637: avoid repeated-concatenation antipattern in example
........
2010-05-19 14:16:14 +00:00
Georg Brandl 6530f7a322 Merged revisions 78463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78463 | andrew.kuchling | 2010-02-26 14:22:50 +0100 (Fr, 26 Feb 2010) | 1 line

  #7407: specify default maxsize value; patch by Floris Bruynooghe
........
2010-05-19 14:15:15 +00:00
Georg Brandl b7589ce6fc Merged revisions 78415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78415 | dirkjan.ochtman | 2010-02-24 05:00:52 +0100 (Mi, 24 Feb 2010) | 1 line

  Issue #7733: add explicit reference in asyncore docs.
........
2010-05-19 14:14:45 +00:00
Georg Brandl 2bca86cced Merged revisions 78378 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78378 | jack.diederich | 2010-02-23 18:23:30 +0100 (Di, 23 Feb 2010) | 1 line

  fixup markup error
........
2010-05-19 14:14:28 +00:00
Georg Brandl 29ec677f6f Merged revisions 78328 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78328 | jack.diederich | 2010-02-22 19:17:16 +0100 (Mo, 22 Feb 2010) | 1 line

  fixes issue #7530, serve_forever()
........
2010-05-19 14:14:05 +00:00
Georg Brandl f5dec8e9ef Merged revisions 78297,78308 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78297 | andrew.kuchling | 2010-02-22 03:29:10 +0100 (Mo, 22 Feb 2010) | 1 line

  #7076: mention SystemRandom class near start of the module docs; reword change description for clarity.  Noted by Shawn Ligocki.
........
  r78308 | andrew.kuchling | 2010-02-22 16:13:17 +0100 (Mo, 22 Feb 2010) | 2 lines

  #6414: clarify description of processor endianness.
  Text by Alexey Shamrin; I changed 'DEC Alpha' to the more relevant 'Intel Itanium'.
........
2010-05-19 14:12:57 +00:00
Georg Brandl 5296e4b5b3 Merged revisions 78206 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78206 | r.david.murray | 2010-02-16 18:55:26 +0100 (Di, 16 Feb 2010) | 3 lines

  Make the references to Popen in the description of Call
  and check_call into links.
........
2010-05-19 14:11:55 +00:00
Georg Brandl c06e3c56aa Merged revisions 77886 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77886 | benjamin.peterson | 2010-01-31 19:09:34 +0100 (So, 31 Jan 2010) | 1 line

  move distutils.rst to different toc
........
2010-05-19 14:07:38 +00:00
Georg Brandl df8923cb2c Merged revisions 77741 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77741 | facundo.batista | 2010-01-25 07:15:01 +0100 (Mo, 25 Jan 2010) | 3 lines

  Added a note about Event.is_set() syntax being new to 2.6
........
2010-05-19 14:06:47 +00:00
Georg Brandl 43edd15004 Merged revisions 77603 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77603 | benjamin.peterson | 2010-01-19 00:07:56 +0100 (Di, 19 Jan 2010) | 8 lines

  data descriptors do not override the class dictionary if __get__ is not defined

  Adjust documentation and add a test to verify this behavior.

  See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for
  discussion.
........
2010-05-19 14:04:44 +00:00
Georg Brandl bf737e8014 Merged revisions 76430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76430 | r.david.murray | 2009-11-20 14:29:43 +0100 (Fr, 20 Nov 2009) | 2 lines

  Issue 7363: fix indentation in socketserver udpserver example.
........
2010-05-19 13:53:17 +00:00
Ezio Melotti 019551fa1b Fix typo in argparse doc. 2010-05-19 00:32:52 +00:00
Georg Brandl eb41214dbc Merged revisions 79822,79828,79862,80067,80069,80080-80081,80084,80432-80433 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79822 | georg.brandl | 2010-04-06 08:18:15 +0000 (Di, 06 Apr 2010) | 1 line

  #8320: document return value of recv_into().
........
  r79828 | georg.brandl | 2010-04-06 14:33:44 +0000 (Di, 06 Apr 2010) | 1 line

  Add JP.
........
  r79862 | georg.brandl | 2010-04-06 20:27:59 +0000 (Di, 06 Apr 2010) | 1 line

  Fix syntax.
........
  r80067 | georg.brandl | 2010-04-14 08:53:38 +0000 (Mi, 14 Apr 2010) | 1 line

  #5341: typo.
........
  r80069 | georg.brandl | 2010-04-14 13:50:31 +0000 (Mi, 14 Apr 2010) | 1 line

  Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek().
........
  r80080 | georg.brandl | 2010-04-14 19:16:38 +0000 (Mi, 14 Apr 2010) | 1 line

  #8399: add note about Windows and O_BINARY.
........
  r80081 | georg.brandl | 2010-04-14 21:34:44 +0000 (Mi, 14 Apr 2010) | 1 line

  #5250: document __instancecheck__ and __subclasscheck__.  I hope the part about the class/metaclass distinction is understandable.
........
  r80084 | georg.brandl | 2010-04-14 21:46:45 +0000 (Mi, 14 Apr 2010) | 1 line

  Fix missing.
........
  r80432 | georg.brandl | 2010-04-24 08:56:58 +0000 (Sa, 24 Apr 2010) | 1 line

  Markup fixes.
........
  r80433 | georg.brandl | 2010-04-24 09:08:10 +0000 (Sa, 24 Apr 2010) | 1 line

  #7507: quote "!" in pipes.quote(); it is a special character for some shells.
........
2010-05-18 23:19:34 +00:00
Georg Brandl 324086f1c1 Merged revisions 79579-79580,79585-79587 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79579 | georg.brandl | 2010-04-02 08:34:41 +0000 (Fr, 02 Apr 2010) | 1 line

  Add 2.6.5.
........
  r79580 | georg.brandl | 2010-04-02 08:39:09 +0000 (Fr, 02 Apr 2010) | 1 line

  #2768: add a note on how to get a file descriptor.
........
  r79585 | georg.brandl | 2010-04-02 09:03:18 +0000 (Fr, 02 Apr 2010) | 1 line

  Remove col-spanning cells in logging docs.
........
  r79586 | georg.brandl | 2010-04-02 09:07:42 +0000 (Fr, 02 Apr 2010) | 1 line

  Document PyImport_ExecCodeModuleEx().
........
  r79587 | georg.brandl | 2010-04-02 09:11:49 +0000 (Fr, 02 Apr 2010) | 1 line

  #8012: clarification in generator glossary entry.
........
2010-05-18 23:13:04 +00:00
Vinay Sajip a38cd52e96 Fixed minor typo in ReST markup. 2010-05-18 08:16:27 +00:00
Senthil Kumaran 50706eb415 Merged revisions 81279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81279 | senthil.kumaran | 2010-05-18 08:50:43 +0530 (Tue, 18 May 2010) | 3 lines

  Fix minor typo.
........
2010-05-18 03:23:43 +00:00
Senthil Kumaran 71a632433f Fix minor typo. 2010-05-18 03:20:43 +00:00
Tarek Ziadé 831755694a Merged revisions 81261 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81261 | tarek.ziade | 2010-05-17 12:54:43 +0200 (Mon, 17 May 2010) | 1 line

  upgraded distutils docs w.r.t. the manifest regeneration
........
2010-05-17 11:00:17 +00:00
Tarek Ziadé 4fc2a008b8 upgraded distutils docs w.r.t. the manifest regeneration 2010-05-17 10:54:43 +00:00
Andrew M. Kuchling 1b553473ed Add cross-reference to later section 2010-05-16 23:31:16 +00:00
Antoine Pitrou ec0a3886ca Merged revisions 81229 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81229 | antoine.pitrou | 2010-05-16 16:16:56 +0200 (dim., 16 mai 2010) | 3 lines

  Document that SSL v2 is insecure.
........
2010-05-16 14:17:51 +00:00
Antoine Pitrou 308c2af9a4 Document that SSL v2 is insecure. 2010-05-16 14:16:56 +00:00
Victor Stinner 7be6dae3f6 Merged revisions 81166 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81166 | victor.stinner | 2010-05-14 17:53:20 +0200 (ven., 14 mai 2010) | 4 lines

  Issue #8711: add paragraph titles to c-api/unicode.rst

  (Python2 doesn't have PyUnicode_DecodeFSDefault*() functions)
........
2010-05-14 15:55:12 +00:00
Victor Stinner 5f8aae0be3 Issue #8711: add paragraph titles to c-api/unicode.rst
(Python2 doesn't have PyUnicode_DecodeFSDefault*() functions)
2010-05-14 15:53:20 +00:00
Victor Stinner 4f25ac7abd Merged revisions 81163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81163 | victor.stinner | 2010-05-14 16:20:07 +0200 (ven., 14 mai 2010) | 2 lines

  Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP
........
2010-05-14 14:30:11 +00:00
Victor Stinner 8ded477916 Doc: replace PEP xxx by :pep:`xxx` to create a link on the PEP 2010-05-14 14:20:07 +00:00
Benjamin Peterson be6f086502 Merged revisions 81145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81145 | benjamin.peterson | 2010-05-13 16:14:10 -0500 (Thu, 13 May 2010) | 1 line

  rip out mention of types.ListType #8703
........
2010-05-13 21:16:53 +00:00
Benjamin Peterson 8c72b4e931 rip out mention of types.ListType #8703 2010-05-13 21:14:10 +00:00
Andrew M. Kuchling f09bc66083 #8696: add documentation for logging.config.dictConfig (PEP 391) 2010-05-12 18:56:48 +00:00
Andrew M. Kuchling e551337f16 Grammar fix 2010-05-12 13:56:07 +00:00
Fred Drake 62bebdf49f - clarify Attr.name comment on the presence of colons in namespace mode
- document Attr.value
- wrap some long lines
2010-05-12 02:24:50 +00:00
Fred Drake 5840469067 fix error introduced in previous commit, and the adjacent additional typo 2010-05-12 01:22:03 +00:00
Andrew M. Kuchling 68df234b73 Let's call this done 2010-05-12 00:40:47 +00:00
Andrew M. Kuchling 2702491687 Revision pass: lots of edits, typo fixes, rearrangements 2010-05-12 00:38:44 +00:00
Brian Curtin 59170e37bb Backport of r81088, plus the exposure of the previously undocumented
*ReflectionKey functions. Apparently that was not backported.

Merged revisions 81088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81088 | brian.curtin | 2010-05-11 14:13:13 -0500 (Tue, 11 May 2010) | 13 lines

  #8575 - Update and reorganize some _winreg contents.

  I've removed the hopeful note about a future higher-level module since
  it's been in there for quite a long time and nothing of the sort has
  come up. There are a few places where markup was added to cross-reference
  other sections, and many of the external links have been removed and now
  point to newly created sections containing previously undocumented
  information.

  The Value Types section was created and it's contents were taken from
  a function-specific area, since it applies to more than just that
  function. It fits in better with the other newly documented constants.
........
2010-05-11 19:32:26 +00:00
Brian Curtin b9bf97132d #8575 - Update and reorganize some _winreg contents.
I've removed the hopeful note about a future higher-level module since
it's been in there for quite a long time and nothing of the sort has
come up. There are a few places where markup was added to cross-reference
other sections, and many of the external links have been removed and now
point to newly created sections containing previously undocumented
information.

The Value Types section was created and it's contents were taken from
a function-specific area, since it applies to more than just that
function. It fits in better with the other newly documented constants.
2010-05-11 19:13:13 +00:00
Fred Drake 8b37dd1613 fix typo 2010-05-11 18:12:27 +00:00
Andrew M. Kuchling 5d864c847e Fix typo 2010-05-10 23:13:41 +00:00
Georg Brandl 6487952a46 Fix typo. 2010-05-10 21:51:33 +00:00
Georg Brandl 6f635f41f2 Consolidate deprecation messages. 2010-05-10 21:50:57 +00:00
Georg Brandl 0ddc30b7f9 Fix reference direction. 2010-05-10 21:46:50 +00:00
Georg Brandl b377b0e2e4 Merged revisions 78581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78581 | michael.foord | 2010-03-02 15:22:15 +0100 (Di, 02 Mär 2010) | 1 line

  Link correction in documentation.
........
2010-05-10 21:12:44 +00:00
Georg Brandl c630195784 #8642: fix wrong function name. 2010-05-10 21:02:51 +00:00
Florent Xicluna 638b869004 Add a link on maketrans(). 2010-05-10 19:59:22 +00:00
Andrew M. Kuchling 264552a827 Link to unittest2 article 2010-05-10 15:03:35 +00:00
Andrew M. Kuchling 10595a64f3 Use title case 2010-05-10 14:20:12 +00:00
Andrew M. Kuchling 93c40d49f5 Markup fix; re-word a sentence 2010-05-10 14:18:27 +00:00
Benjamin Peterson 814a66f2d3 finish clause 2010-05-09 21:09:40 +00:00
Eric Smith ba32864b2d Merged revisions 81026 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81026 | eric.smith | 2010-05-09 10:04:59 -0400 (Sun, 09 May 2010) | 1 line

  Issue 8671: Whitespace fix.
........
2010-05-09 14:07:57 +00:00
Eric Smith 368ede83d9 Issue 8671: Whitespace fix. 2010-05-09 14:04:59 +00:00
Mark Dickinson 7000e9e01b Issue #8644: Improve accuracy of timedelta.total_seconds method.
(Backport of r80979 to py3k.)  Thanks Alexander Belopolsky.
2010-05-09 09:30:06 +00:00
Michael Foord 959c16d7a4 Updating documentation and adding docstrings to unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038. 2010-05-08 16:40:52 +00:00
Andrew M. Kuchling 0efe18ab0c Write summary of the 2.7 release; rewrite the future section some more;
mention PYTHONWARNINGS env. var; tweak some examples for readability.

And with this commit, the "What's New" is done... except for a
complete read-through to polish the text, and fixing any reported errors,
but those tasks can easily wait until after beta2.
2010-05-08 15:39:46 +00:00
Michael Foord 8851b71c6f Documenting test discovery from package name and potential problems with test discovery importing tests from the wrong location. Issue 7780 and issue 8547. 2010-05-08 15:09:37 +00:00
Andrew M. Kuchling 304500cd10 Markup fixes 2010-05-08 13:29:46 +00:00
Andrew M. Kuchling 8e34386028 Add logging.dictConfig example; give up on writing a Ttk example 2010-05-08 13:28:03 +00:00
Andrew M. Kuchling badc709847 Get accents correct 2010-05-08 01:35:55 +00:00
Andrew M. Kuchling 85fffc368d Add two items 2010-05-08 01:15:26 +00:00
Andrew M. Kuchling d1e696b60f Re-word text 2010-05-07 11:30:47 +00:00
Antoine Pitrou d69e6ee656 Fix some markup and a class name. Also, wrap a long line. 2010-05-07 10:15:51 +00:00
Andrew M. Kuchling 02f7b990e1 Add a new section on the development plan; add an item 2010-05-07 01:45:14 +00:00
Benjamin Peterson 2f9134b11d Merged revisions 80894,80896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80894 | benjamin.peterson | 2010-05-06 17:33:46 -0500 (Thu, 06 May 2010) | 1 line

  Availability gets its own line
........
  r80896 | benjamin.peterson | 2010-05-06 17:49:28 -0500 (Thu, 06 May 2010) | 1 line

  ensure that availability information is on its own line at the end of the function docs
........
2010-05-06 23:04:44 +00:00
Benjamin Peterson 328e3775df ensure that availability information is on its own line at the end of the function docs 2010-05-06 22:49:28 +00:00
Benjamin Peterson 7aaef849f9 Availability gets its own line 2010-05-06 22:33:46 +00:00
Andrew M. Kuchling acab940c70 Change section title; point to unittest2 2010-05-06 17:27:57 +00:00
Andrew M. Kuchling 837a538db1 Add 2 items; record ideas for two initial sections; clarify wording 2010-05-06 17:21:59 +00:00
Andrew M. Kuchling e86b7fe37d Describe ElementTree 1.3; rearrange new-module sections; describe dict views as sets; small edits and items 2010-05-06 14:14:09 +00:00
Andrew M. Kuchling a14f2d1147 Use anonymous hyperlinks 2010-05-06 13:03:39 +00:00
Andrew M. Kuchling ca4856249d Add various items 2010-05-06 01:10:56 +00:00
Andrew M. Kuchling 4758183f0a Reword paragraph; fix filename, which should be pyconfig.h 2010-05-06 01:09:47 +00:00
Mark Dickinson 6bb7c4f2ef Merged revisions 80826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80826 | mark.dickinson | 2010-05-05 22:52:39 +0100 (Wed, 05 May 2010) | 1 line

  Issue 8628: fix incorrect documentation for numbers.Complex.imag.
........
2010-05-05 21:53:32 +00:00
Mark Dickinson 9319548e56 Issue 8628: fix incorrect documentation for numbers.Complex.imag. 2010-05-05 21:52:39 +00:00
Ronald Oussoren 9545a23c7f In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).

Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Andrew M. Kuchling 04b99cc68d Add some more items; the urlparse change is added twice 2010-05-04 01:24:22 +00:00
Jesus Cea 2f49f4eb70 Merged revisions 80716 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80716 | jesus.cea | 2010-05-03 18:09:21 +0200 (Mon, 03 May 2010) | 1 line

  wbits negative was documented SEVEN years ago
........
2010-05-03 16:11:45 +00:00
Jesus Cea c3ce9e357d wbits negative was documented SEVEN years ago 2010-05-03 16:09:21 +00:00
Antoine Pitrou 5cace78c87 Fix attribution. Travis didn't do much and he did a bad work.
(yes, this is a sensitive subject, sorry)
2010-05-01 12:16:39 +00:00
Andrew M. Kuchling 9fbbd3b83d Describe memoryview 2010-05-01 12:06:51 +00:00
Andrew M. Kuchling 7de14ac034 Minor grammar fix 2010-05-01 12:05:52 +00:00
Andrew M. Kuchling d3b6022d0a Add various items 2010-05-01 01:19:16 +00:00
Andrew M. Kuchling c4ae73e5f7 Add item 2010-04-30 13:47:34 +00:00
Andrew M. Kuchling b3437c9f95 Minor grammar re-wording 2010-04-30 13:46:55 +00:00
Andrew M. Kuchling c121f130b5 Add various items; rearrange unittest section a bit 2010-04-30 01:33:40 +00:00
Andrew M. Kuchling 603831825b Markup fix; clarify by adding 'in that order' 2010-04-30 01:32:47 +00:00
Andrew M. Kuchling 545336673e Fix typos 2010-04-30 01:02:15 +00:00
Andrew M. Kuchling 3ded421fd5 Reword paragraph to make its meaning clearer.
Antoine Pitrou: is my version of the paragraph still correct?

R. David Murray: is this more understandable than the previous version?
2010-04-30 00:52:31 +00:00
Giampaolo Rodolà 6ea795ed49 Merged revisions 80631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80631 | giampaolo.rodola | 2010-04-29 22:31:17 +0200 (gio, 29 apr 2010) | 1 line

  Fixes issue 8543 (asynchat documentation issues)
........
2010-04-29 20:34:25 +00:00
Giampaolo Rodolà a01f6892d6 Fixes issue 8543 (asynchat documentation issues) 2010-04-29 20:31:17 +00:00
Senthil Kumaran 5a33f0b5ed Merged revisions 80627 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80627 | senthil.kumaran | 2010-04-30 01:16:08 +0530 (Fri, 30 Apr 2010) | 3 lines

  Fixing the Broken links of mechanize library.
........
2010-04-29 19:49:57 +00:00
Senthil Kumaran f62b50f306 Fixing the Broken links of mechanize library. 2010-04-29 19:46:08 +00:00
Ezio Melotti 9c06129ab5 Merged revisions 80620 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80620 | ezio.melotti | 2010-04-29 18:07:20 +0200 (Thu, 29 Apr 2010) | 1 line

  Group the Windows entries in getfilesystemencoding doc, move the win 9x one at the bottom of the list and fix some markup.
........
2010-04-29 16:21:53 +00:00
Ezio Melotti ab9149dc8a Group the Windows entries in getfilesystemencoding doc, move the win 9x one at the bottom of the list and fix some markup. 2010-04-29 16:07:20 +00:00
Benjamin Peterson b17b3c51e2 update pypy url 2010-04-29 03:30:59 +00:00
Benjamin Peterson fa0e7796dd update pypy description 2010-04-29 03:18:05 +00:00
Andrew M. Kuchling b2454b2ead Add various unittest items 2010-04-29 01:45:41 +00:00
Andrew M. Kuchling fb759a25f2 Fix doubled 'the'.
Markup fixes to use :exc:, :option: in a few places.
  (Glitch: unittest.main's -c ends up a link to the Python
  interpreter's -c option.  Should we skip using :option: for that
  switch, or disable the auto-linking somehow?)
2010-04-29 01:44:30 +00:00
Andrew M. Kuchling 15c82d2151 Add various items 2010-04-29 00:22:16 +00:00
Antoine Pitrou f34c4c6a77 Merged revisions 80591-80592 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80591 | antoine.pitrou | 2010-04-28 21:53:35 +0200 (mer., 28 avril 2010) | 4 lines

  State clearly that truncate() doesn't move the file position,
  and remove a duplicate of its specification.
........
  r80592 | antoine.pitrou | 2010-04-28 21:57:33 +0200 (mer., 28 avril 2010) | 3 lines

  Clarify and fix the documentation for IOBase.close()
........
2010-04-28 19:59:22 +00:00
Antoine Pitrou 689405ee14 Clarify and fix the documentation for IOBase.close() 2010-04-28 19:57:33 +00:00
Antoine Pitrou ece349e517 State clearly that truncate() doesn't move the file position,
and remove a duplicate of its specification.
2010-04-28 19:53:35 +00:00
Senthil Kumaran 379eaac7a7 Merged revisions 80583 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80583 | senthil.kumaran | 2010-04-28 22:50:43 +0530 (Wed, 28 Apr 2010) | 3 lines

  Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked"
........
2010-04-28 17:25:58 +00:00
Senthil Kumaran ed9204346e Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked" 2010-04-28 17:20:43 +00:00
Nick Coghlan ad709ee06b Add version changed note for -m tinkering with sys.argv[0] during the search process 2010-04-28 14:53:59 +00:00
Nick Coghlan c5e4485248 Issue 8202: when using the -m command line switch, sys.argv[0] is now '-m' instead of '-c' while searching for the module to be executed 2010-04-28 14:51:08 +00:00
Nick Coghlan dfb45dfd04 Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro) 2010-04-28 14:29:06 +00:00
Benjamin Peterson 55a22d9105 Merged revisions 80561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80561 | benjamin.peterson | 2010-04-27 17:56:31 -0500 (Tue, 27 Apr 2010) | 1 line

  make slice notation in (r)find docs consistent
........
2010-04-27 22:59:11 +00:00
Benjamin Peterson eef5c35c14 make slice notation in (r)find docs consistent 2010-04-27 22:56:31 +00:00
Benjamin Peterson a9bd6d5ea7 reject None as the buffering argument like the C implementation does #8546 2010-04-27 21:01:54 +00:00
Michael Foord 47b5440f43 Adding versionadded to various new unittest functions in documentation 2010-04-26 23:36:47 +00:00
Michael Foord 5c322ece96 Adding unittest.removeHandler function / decorator for removing the signal.SIGINT signal handler. With tests and docs. 2010-04-25 19:02:46 +00:00
Georg Brandl 34e44c4361 Merged revisions 80465-80470 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80465 | georg.brandl | 2010-04-25 12:29:17 +0200 (So, 25 Apr 2010) | 1 line

  Remove LaTeXy index entry syntax.
........
  r80466 | georg.brandl | 2010-04-25 12:54:42 +0200 (So, 25 Apr 2010) | 1 line

  Patch from Tim Hatch: Better cross-referencing in socket and winreg docs.
........
  r80467 | georg.brandl | 2010-04-25 12:55:16 +0200 (So, 25 Apr 2010) | 1 line

  Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface.
........
  r80468 | georg.brandl | 2010-04-25 12:55:58 +0200 (So, 25 Apr 2010) | 1 line

  Patch from Tim Hatch: Minor spelling changes to _winreg docs.
........
  r80469 | georg.brandl | 2010-04-25 12:56:41 +0200 (So, 25 Apr 2010) | 1 line

  Fix code example to have valid syntax so that it can be highlighted.
........
  r80470 | georg.brandl | 2010-04-25 12:57:15 +0200 (So, 25 Apr 2010) | 1 line

  Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric.
........
2010-04-25 17:15:51 +00:00
Georg Brandl adbcf1f4a8 Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric. 2010-04-25 10:57:15 +00:00
Georg Brandl 1e518258c9 Fix code example to have valid syntax so that it can be highlighted. 2010-04-25 10:56:41 +00:00
Georg Brandl bb091e733c Patch from Tim Hatch: Minor spelling changes to _winreg docs. 2010-04-25 10:55:58 +00:00
Georg Brandl a3f1e4cde7 Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface. 2010-04-25 10:55:16 +00:00
Georg Brandl 9bfb78d698 Patch from Tim Hatch: Better cross-referencing in socket and winreg docs. 2010-04-25 10:54:42 +00:00
Georg Brandl 1f62087649 Remove LaTeXy index entry syntax. 2010-04-25 10:29:17 +00:00
Georg Brandl a33971a395 Merged revisions 80461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80461 | georg.brandl | 2010-04-25 12:17:27 +0200 (So, 25 Apr 2010) | 1 line

  #8522: use with statement instead of try-finally for file handling.
........
2010-04-25 10:18:59 +00:00
Georg Brandl 0b093e068e #8522: use with statement instead of try-finally for file handling. 2010-04-25 10:17:27 +00:00
Georg Brandl 404bd7f473 #8528: fix typo. 2010-04-25 10:16:00 +00:00
Brian Curtin 2ec87deede Backport fix of #5774 (only OpenKey applies here). 2010-04-24 17:14:35 +00:00
Brian Curtin 5fa9fb4062 Fix #5774. Some _winreg functions are documented as taking kwargs but don't. 2010-04-24 17:10:22 +00:00
Georg Brandl fbd74d0805 Merged revisions 80150 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80150 | r.david.murray | 2010-04-17 17:45:38 +0200 (Sa, 17 Apr 2010) | 2 lines

  Update link to Apple Publication Style guide.
........
2010-04-24 13:04:12 +00:00
Georg Brandl f8bff488bd Markup fixes. 2010-04-24 08:56:58 +00:00
Sean Reifscheider f6ce3cb84e issue8451: Making syslog module use sys.argv[0] for "ident". 2010-04-23 08:31:55 +00:00
Georg Brandl 160c6aba4b Merged revisions 80388 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80388 | georg.brandl | 2010-04-23 00:15:33 +0200 (Fr, 23 Apr 2010) | 1 line

  Add "report a bug" links in some prominent places.  Make it clear that doc bugs can be mailed to docs@python.org.  Clarify tracker usage.
........
2010-04-22 23:19:41 +00:00
Georg Brandl e11d85c717 Add "report a bug" links in some prominent places. Make it clear that doc bugs can be mailed to docs@python.org. Clarify tracker usage. 2010-04-22 22:15:33 +00:00
Senthil Kumaran 398246169c Changed tests to only urlparse one, which was enough, addressed Ezio's comment
on Invalid url check statement and versionchanged string in docs.
2010-04-22 12:10:13 +00:00
Senthil Kumaran 8feca22c14 Merged revisions 80336 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80336 | senthil.kumaran | 2010-04-22 11:18:35 +0530 (Thu, 22 Apr 2010) | 3 lines

  Updated the RFCs list in the See Also section of urlparse.rst
........
2010-04-22 05:56:45 +00:00
Senthil Kumaran 0a36181953 Updated the RFCs list in the See Also section of urlparse.rst 2010-04-22 05:48:35 +00:00
Tarek Ziadé e593fad81b removed ztar support in shutil.make_archive 2010-04-20 21:09:06 +00:00
Ezio Melotti 05842bbe1a Merged revisions 80270 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80270 | ezio.melotti | 2010-04-20 19:49:48 +0300 (Tue, 20 Apr 2010) | 1 line

  #8472: fix wrong function name in functions.rst: itertools.filterfalse -> itertools.ifilterfalse
........
2010-04-20 16:56:44 +00:00
Ezio Melotti 8c09ebcf0c #8472: fix wrong function name in functions.rst: itertools.filterfalse -> itertools.ifilterfalse 2010-04-20 16:49:48 +00:00
Brian Curtin 1f8dd363b7 Add version info for os.kill and signal changes from #1220212. 2010-04-20 15:23:18 +00:00
Ezio Melotti 39ef68359a Merged revisions 80082 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80082 | georg.brandl | 2010-04-15 00:36:49 +0300 (Thu, 15 Apr 2010) | 1 line

  #8370: fix module name in backported doc addition.
........
2010-04-20 10:43:38 +00:00
Tarek Ziadé 8a12f940fe Fixed #8463: added missing reference to bztar in shutil's documentation. 2010-04-19 21:28:21 +00:00
Georg Brandl 9cef92151c Remove link to nonexisting target. 2010-04-18 09:46:52 +00:00
Georg Brandl 3185c27453 Merged revisions 80030 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80030 | georg.brandl | 2010-04-13 08:43:54 +0200 (Di, 13 Apr 2010) | 1 line

  Get rid of multi-row cells.
........
2010-04-18 09:31:55 +00:00
Antoine Pitrou 0a6373c1a9 Issue #8322: Add a *ciphers* argument to SSL sockets, so as to change the
available cipher list.  Helps fix test_ssl with OpenSSL 1.0.0.
2010-04-17 17:10:38 +00:00
R. David Murray 7794b5b52f Update link to Apple Publication Style guide. 2010-04-17 15:45:38 +00:00
Andrew M. Kuchling 85f928a5c9 Add various items 2010-04-15 01:42:27 +00:00
Andrew M. Kuchling 363dbccb2a Add various items; correct argparse output 2010-04-14 23:55:17 +00:00
Georg Brandl 9f5fd6092b Fix missing. 2010-04-14 21:46:45 +00:00
Georg Brandl c9a8a4aab8 #8370: fix module name in backported doc addition. 2010-04-14 21:36:49 +00:00
Georg Brandl 710a5dbc4a #5250: document __instancecheck__ and __subclasscheck__. I hope the part about the class/metaclass distinction is understandable. 2010-04-14 21:34:44 +00:00
Georg Brandl 4a589c3ede #8399: add note about Windows and O_BINARY. 2010-04-14 19:16:38 +00:00
Andrew M. Kuchling b6c1aeb486 Add some text 2010-04-14 14:28:31 +00:00
Georg Brandl 6c50efe76b Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek(). 2010-04-14 13:50:31 +00:00
Andrew M. Kuchling f03641ace3 Add argparse example 2010-04-14 01:14:59 +00:00
Georg Brandl d0731072a9 Get rid of multi-row cells. 2010-04-13 06:43:54 +00:00
Andrew M. Kuchling ce6905245b Add an item; stray edit 2010-04-13 01:32:51 +00:00
Raymond Hettinger 44340e6d78 Add usage notes for collections.Counter(). 2010-04-12 21:12:06 +00:00
Mark Dickinson 78ab583d63 More struct doc tweaks. 2010-04-12 20:38:36 +00:00
Mark Dickinson b633f10f81 Rewrap some long lines in struct module doc source. 2010-04-12 19:46:20 +00:00
Mark Dickinson bbacb838c9 Issue #7355: Various improvements to struct module documentation.
- note early on that the result of struct.pack includes padding
   bytes by default

 - add examples showing how order of struct fields can affect size
   (due to padding)

 - better headers and references; introduction to format strings

 - integrate packing notes into table

Many thanks to Meador Inge for the patch.
2010-04-12 19:25:32 +00:00
Mark Dickinson b30da1277f Merged revisions 79875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79875 | mark.dickinson | 2010-04-06 23:18:23 +0100 (Tue, 06 Apr 2010) | 1 line

  More NaN consistency doc fixes.
........
2010-04-12 18:43:56 +00:00
Brian Curtin 4e20ab24cf Update the Windows FAQ's text about os.kill (#1220212). 2010-04-12 18:07:21 +00:00
R. David Murray 1a14d3d169 Issue #7585: use tab between components in unified and context diff headers.
Instead of spaces between the filename and date (or whatever the string
is that follows the filename, if any) use tabs.  This is what the unix
'diff' command does, for example, and difflib was intended to follow
the 'standard' way of doing diffs.  This improves compatibility with
patch tools.  The docs and examples are also changed to recommended that
the date format used be the ISO 8601 format, which is what modern diff
tools emit by default.

Patch by Anatoly Techtonik.
2010-04-12 16:35:19 +00:00
Barry Warsaw fa900d47b8 typo 2010-04-12 14:40:49 +00:00
Andrew M. Kuchling 4515f0de21 Add several items 2010-04-11 20:40:09 +00:00
Andrew M. Kuchling 6d7dfa231f Add two items 2010-04-11 12:49:37 +00:00
Andrew M. Kuchling 884d0a3c27 Two typo fixes 2010-04-11 12:48:08 +00:00
Raymond Hettinger b0765c4648 Add descriptor howto to main documentation 2010-04-11 08:17:32 +00:00
Raymond Hettinger f11363dcd3 Add descriptor howto to main documentation 2010-04-11 08:14:45 +00:00
Andrew M. Kuchling 7c2ab87568 Remove distutils section 2010-04-11 01:44:13 +00:00
Andrew M. Kuchling bfe8a84ce9 name correct 2010-04-11 01:40:49 +00:00
Andrew M. Kuchling ec6393f380 Add various items 2010-04-11 01:40:30 +00:00
Andrew M. Kuchling ca2413e2ad Punctuation fix 2010-04-11 01:40:06 +00:00
Andrew M. Kuchling fced90835c Two grammar fixes 2010-04-11 01:39:36 +00:00
Raymond Hettinger 0fe095e87f Add the sorting HOWTO to the main docs. 2010-04-11 00:03:33 +00:00
Raymond Hettinger e694e00ee1 Add the sorting HOWTO to the main docs. 2010-04-11 00:01:23 +00:00
Georg Brandl 9352f1c64e #8346: update version. 2010-04-10 11:16:59 +00:00
Georg Brandl 90aae551b1 #8360: skipTest was added in 2.7. 2010-04-10 11:15:24 +00:00
Raymond Hettinger a1d61d0495 Fixup new itertools recipes. 2010-04-10 07:01:32 +00:00
Raymond Hettinger da176eeb68 Fixup new itertools recipes. 2010-04-10 06:51:41 +00:00
Michael Foord efc2f497fd Correction of unittest documentation typos and omissions 2010-04-08 04:33:20 +00:00
Vinay Sajip 497256ba18 Issue #8331: logging: fixed some grammatical errors in documentation. 2010-04-07 09:40:52 +00:00
Benjamin Peterson f3a8c6675f tell people to update python.man, too 2010-04-06 23:32:27 +00:00
Philip Jenvey aebbaeb962 #7301: add the environment variable $PYTHONWARNINGS to supplement the -W
command line option
patch from Brian Curtin
2010-04-06 23:24:45 +00:00
Vinay Sajip ccd8bc8a83 Issue #8327: logging: Clarification of propagation functionality in documentation. 2010-04-06 22:32:37 +00:00
Mark Dickinson ad971d62ee More NaN consistency doc fixes. 2010-04-06 22:18:23 +00:00
Mark Dickinson 8008038afd Merged revisions 79871 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79871 | mark.dickinson | 2010-04-06 23:10:55 +0100 (Tue, 06 Apr 2010) | 2 lines

  Use consistent spelling for nans (thanks Georg for noticing).
........
2010-04-06 22:11:54 +00:00
Mark Dickinson e07acb5f15 Use consistent spelling for nans (thanks Georg for noticing). 2010-04-06 22:10:55 +00:00
Georg Brandl fb12044392 Fix syntax. 2010-04-06 20:27:59 +00:00
Mark Dickinson 02c36efef5 Merged revisions 79858 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79858 | mark.dickinson | 2010-04-06 20:50:03 +0100 (Tue, 06 Apr 2010) | 3 lines

  Issue #7947:  Clarify math module behaviour for IEEE 754 special cases, along
  with a number of additional minor edits and typo corrections.
........
2010-04-06 19:52:05 +00:00
Mark Dickinson 99e73f9145 Issue #7947: Clarify math module behaviour for IEEE 754 special cases, along
with a number of additional minor edits and typo corrections.
2010-04-06 19:50:03 +00:00
Mark Dickinson a5db4310f3 Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator. 2010-04-06 18:20:11 +00:00
Eric Smith 6a92860a3e Note that PEP 378 also applies to int. 2010-04-06 15:17:33 +00:00
Eric Smith c4663856d9 Fixed PEP 378 example. 2010-04-06 14:30:15 +00:00
Georg Brandl abe448c49b #8320: document return value of recv_into(). 2010-04-06 08:18:15 +00:00
Ezio Melotti 021f334b9f Fix several links and other mistakes. 2010-04-06 03:26:49 +00:00
Antoine Pitrou f9de534c21 Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
and `ssl.OPENSSL_VERSION_NUMBER`.
2010-04-05 21:35:07 +00:00
Tarek Ziadé 0b93a6b19a added a note for Andrew, about distutils2 2010-04-05 14:58:14 +00:00
Ezio Melotti eff4850e44 Merged revisions 79797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79797 | ezio.melotti | 2010-04-05 15:51:45 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix some broken URLs.
........
2010-04-05 12:55:05 +00:00
Ezio Melotti 425aa2e11b Fix some broken URLs. 2010-04-05 12:51:45 +00:00
Georg Brandl 9bfb628d71 #7721: replace code that works only in 2.7+ with equivalent. 2010-04-05 11:46:16 +00:00
Michael Foord d341ec82c7 Further documentation fix for unittest.rst 2010-04-05 10:30:14 +00:00
Michael Foord c5ff3f6ff0 Furterh documentation fix for unittest.rst 2010-04-05 10:28:27 +00:00
Michael Foord 3165503b4a Documentation fixes for unittest 2010-04-05 10:26:26 +00:00
Ezio Melotti 9ccc58113e Fix markup errors. 2010-04-05 08:16:41 +00:00
Ezio Melotti 463aa2028b Merged revisions 79786 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79786 | ezio.melotti | 2010-04-05 11:02:54 +0300 (Mon, 05 Apr 2010) | 1 line

  Fix markup, punctuation and whitespaces in _winreg.rst.
........
2010-04-05 08:08:36 +00:00
Ezio Melotti 01fa86a0bd Fix markup, punctuation and whitespaces in _winreg.rst. 2010-04-05 08:02:54 +00:00
Ezio Melotti d837c7dd04 Merged revisions 79781 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79781 | ezio.melotti | 2010-04-05 06:51:38 +0300 (Mon, 05 Apr 2010) | 1 line

  #8212: rephrase the webservers howto and fix some mistakes.
........
2010-04-05 04:00:14 +00:00
Ezio Melotti c0deec1839 #8212: rephrase the webservers howto and fix some mistakes. 2010-04-05 03:51:38 +00:00
Michael Foord 554303530c Document signal handling functions in unittest.rst 2010-04-05 00:39:50 +00:00
Michael Foord ddb20df018 Adding documentation for new unittest.main() parameters 2010-04-04 23:28:44 +00:00
Ezio Melotti 6f65d2dd1b Fix markup in decimal.rst. 2010-04-04 23:21:53 +00:00
Michael Foord 09e2980c15 unittest documentation formatting changes 2010-04-04 22:41:54 +00:00
Raymond Hettinger 06bc0b6d2e Add tests for functools.total_ordering. 2010-04-04 22:24:03 +00:00
Mark Dickinson b1affc517f Add versionchanged entry for Decimal(float) construction.
Also add an example of constructing a Decimal directly from a float,
update the quickstart tutorial, and tweak another couple of
sentences.
2010-04-04 22:09:21 +00:00
Raymond Hettinger bb006cf26c Add tests for cmp_to_key.
Adopt PEP 8 compliant function name.
Factor-out existing uses cmp_to_key.
Update documentation to use internal pointers instead of external resource.
2010-04-04 21:45:01 +00:00
Raymond Hettinger a551f31d48 Add functools.CmpToKey() 2010-04-04 18:34:45 +00:00
Raymond Hettinger 0d57caa267 Documentation nit 2010-04-04 07:33:46 +00:00
Ezio Melotti 4edfe96381 Revert 79733 - Counter is new in 2.7, the versionadded is not necessary - and fix a typo. 2010-04-04 06:50:58 +00:00
Ezio Melotti 0cee3794c7 Add a versionadded to Counter.subtract() doc. 2010-04-04 06:41:27 +00:00
Raymond Hettinger 20ae90d887 Issue 5479: Add functools.total_ordering class decorator. 2010-04-04 01:24:59 +00:00
Antoine Pitrou 945d4ccdd9 Fix wording / typography, and a slightly misleading statement
(memoryviews don't support complex structures right now)
2010-04-03 21:22:38 +00:00
Raymond Hettinger 5f516edd77 Add count() method to collections.deque(). 2010-04-03 18:10:37 +00:00
Michael Foord ba097ec1be Documenting new features in unittest 2010-04-03 17:03:11 +00:00
Mark Dickinson 4846a8e828 Issue #8300: Let struct.pack use __index__ to convert and pack non-integers.
Based on a patch by Meador Inge.
2010-04-03 14:05:10 +00:00
Raymond Hettinger 34c35b2788 Add subtract() method to collections.Counter() objects. 2010-04-03 10:22:00 +00:00
Victor Stinner 295359cb61 Merged revisions 79654 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79654 | victor.stinner | 2010-04-03 10:40:16 +0200 (sam., 03 avril 2010) | 5 lines

  Issue #8227: Fix C API documentation, argument parsing

   * 'z', 'z#', 'z*' does also accept Unicode
   * unify types name: replace "string or Unicode objet" by "string or Unicode"
........
2010-04-03 08:42:35 +00:00
Victor Stinner f70c581056 Issue #8227: Fix C API documentation, argument parsing
* 'z', 'z#', 'z*' does also accept Unicode
 * unify types name: replace "string or Unicode objet" by "string or Unicode"
2010-04-03 08:40:16 +00:00
Brian Curtin e5aa886b44 Implement #1220212. Add os.kill support for Windows.
os.kill takes one of two newly added signals, CTRL_C_EVENT and
CTRL_BREAK_EVENT, or any integer value. The events are a special case
which work with subprocess console applications which implement a
special console control handler. Any other value but those two will
cause os.kill to use TerminateProcess, outright killing the process.

This change adds win_console_handler.py, which is a script to implement
SetConsoleCtrlHandler and applicable handler function, using ctypes.

subprocess also gets another attribute which is a necessary flag to
creationflags in Popen in order to send the CTRL events.
2010-04-02 23:26:06 +00:00
Mark Dickinson 7c63eee485 Issue #8294: Allow float and Decimal arguments in Fraction constructor. 2010-04-02 22:27:36 +00:00
Ezio Melotti 8d837ab869 Merged revisions 79582 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79582 | georg.brandl | 2010-04-02 11:51:31 +0300 (Fri, 02 Apr 2010) | 1 line

  Fix typo in unicode character name.
........
2010-04-02 22:13:35 +00:00
Tarek Ziadé 51f2f16ee3 removed documentation on code that was reverted and pushed into distutils2 2010-04-02 21:34:19 +00:00
Brian Curtin e33fa887d3 Implement #7347. Add CreateKeyEx, DeleteKeyEx, and update _winreg tests.
*ReflectionKey functions used to not be documented or tested, but they are
now sufficiently documented and tested on platforms where they apply.
Additionally, fixed a bug in QueryReflectionKey which was returning an
incorrect value.

All tests pass from XP through Windows 7, on 32 and 64-bit platforms.
2010-04-02 21:18:14 +00:00
Raymond Hettinger ed171abd93 Issue 8257: Decimal constructor to accept float. 2010-04-02 18:39:24 +00:00
Andrew M. Kuchling dc36d7cf85 #6647: add note to two examples 2010-04-02 17:54:26 +00:00
Andrew M. Kuchling d886290464 #6647: document that catch_warnings is not thread-safe 2010-04-02 17:48:23 +00:00
Georg Brandl ea2d389474 #8012: clarification in generator glossary entry. 2010-04-02 09:11:49 +00:00
Georg Brandl 677fdec8fc Document PyImport_ExecCodeModuleEx(). 2010-04-02 09:07:42 +00:00
Georg Brandl d3bab6aba9 Remove col-spanning cells in logging docs. 2010-04-02 09:03:18 +00:00
Mark Dickinson 99d8096c17 Issue #2531: Make float-to-decimal comparisons return correct results.
Float to decimal comparison operations now return a result based on
the numeric values of the operands.  Decimal.__hash__ has also been
fixed so that Decimal and float values that compare equal have equal
hash value.
2010-04-02 08:53:22 +00:00
Georg Brandl 6eba779235 Fix typo in unicode character name. 2010-04-02 08:51:31 +00:00
Georg Brandl 49b9192b12 #2768: add a note on how to get a file descriptor. 2010-04-02 08:39:09 +00:00
Raymond Hettinger f28dd0d1bf Cleanup itertools recipes 2010-04-02 06:23:12 +00:00
Raymond Hettinger b640bcc32b Cleanup itertools recipes 2010-04-02 06:21:59 +00:00
Raymond Hettinger 4bfd3bda2e Add and update itertools recipes. 2010-04-02 02:44:31 +00:00
Raymond Hettinger ce2338a16b Add and update itertools recipes. 2010-04-02 02:37:33 +00:00
Raymond Hettinger f54c268326 Document link to Sorting HowTo 2010-04-01 07:54:16 +00:00
Raymond Hettinger efb4b07fff Document the link to the HowTo guide. 2010-04-01 07:25:26 +00:00
R. David Murray 6c9fc4cf2b A couple small grammar fixes in test.rst, and rewrite the
check_warnings docs to be clearer.
2010-04-01 01:28:39 +00:00
Florent Xicluna ad59833649 Fix typo 2010-03-31 21:40:32 +00:00
Ezio Melotti fc7b3d26b1 Remove paragraph about inefficiency of lists used as queues now that the example uses deque. 2010-03-31 07:39:45 +00:00
Ezio Melotti eb72991fbb Revert r79179 and merge r75584 to explain how to implement a queue using collection.deque instead of a list. 2010-03-31 07:26:24 +00:00
Benjamin Peterson 7e213255ce add inspect.getcallargs, which binds function arguments like a normal call #3135
Patch by George Sakkis
2010-03-30 17:58:13 +00:00
Michael Foord e6410c536c Backport of weakref.WeakSet and tests from Python 3. 2010-03-29 20:04:23 +00:00
Raymond Hettinger b8d688cd7c Update itertools recipe for consume(). 2010-03-28 18:25:01 +00:00
Raymond Hettinger 6044655d59 Update itertools recipes. 2010-03-28 18:12:35 +00:00
Raymond Hettinger d282b931a3 Add a note on optimizing the itertools recipes for production. 2010-03-28 18:08:15 +00:00
Raymond Hettinger 5b027f87b5 Update itertools recipes. 2010-03-28 18:02:41 +00:00
Brian Curtin b5f062703e Merged revisions 79430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines

  Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
........
2010-03-25 23:56:05 +00:00
Brian Curtin fbe519975b Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana. 2010-03-25 23:48:54 +00:00
Andrew M. Kuchling 4a0661b487 Add various items 2010-03-25 01:35:51 +00:00
Larry Hastings 402b73fb8d Backported PyCapsule from 3.1, and converted most uses of
CObject to PyCapsule.
2010-03-25 00:54:54 +00:00
Andrew M. Kuchling f91a6796af Various edits 2010-03-24 18:07:43 +00:00
Vinay Sajip 66d19e2a0c logging: Updated SysLogHandler documentation. 2010-03-24 17:36:35 +00:00
Vinay Sajip a3c39c0f72 logging: Documentation tweak. 2010-03-24 15:10:40 +00:00
Vinay Sajip b0623d64a8 logging: Added LOG_FTP for SysLogHandler and updated documentation. 2010-03-24 14:31:21 +00:00
Ezio Melotti 983cfa1251 Merged revisions 79362 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79362 | ezio.melotti | 2010-03-24 01:53:20 +0200 (Wed, 24 Mar 2010) | 1 line

  Another typo.
........
2010-03-23 23:54:33 +00:00
Ezio Melotti f8d1d0f7fb Another typo. 2010-03-23 23:53:20 +00:00
Ezio Melotti 42a393fe6c Merged revisions 79358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79358 | ezio.melotti | 2010-03-24 01:26:21 +0200 (Wed, 24 Mar 2010) | 1 line

  #8217: typo.
........
2010-03-23 23:27:51 +00:00
Ezio Melotti d72a628797 #8217: typo. 2010-03-23 23:26:21 +00:00
Andrew M. Kuchling 9858f635a0 add some unittest items 2010-03-23 18:39:24 +00:00
Ezio Melotti 4f5e828d95 Merged revisions 77298 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77298 | ezio.melotti | 2010-01-04 11:00:11 +0200 (Mon, 04 Jan 2010) | 1 line

  fixed markup errors
........
2010-03-23 13:24:15 +00:00
Ezio Melotti c0fd6ffd4f Merged revisions 73824,78887,78895,78900,79024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73824 | ezio.melotti | 2009-07-04 04:18:08 +0300 (Sat, 04 Jul 2009) | 1 line

  #6398 typo: versio. -> version.
........
  r78887 | ezio.melotti | 2010-03-13 02:15:36 +0200 (Sat, 13 Mar 2010) | 1 line

  fix broken links
........
  r78895 | ezio.melotti | 2010-03-13 03:21:34 +0200 (Sat, 13 Mar 2010) | 1 line

  #8011: use exc.tb_lineno instead of traceback.tb_lineno() and pep8ify variable names.
........
  r78900 | ezio.melotti | 2010-03-13 06:39:51 +0200 (Sat, 13 Mar 2010) | 1 line

  Silence compiler warnings.
........
  r79024 | ezio.melotti | 2010-03-17 16:22:34 +0200 (Wed, 17 Mar 2010) | 1 line

  Use "x in y" instead of y.find(x) != -1.
........
2010-03-23 13:20:39 +00:00
Senthil Kumaran d352b24b35 Merged revisions 79329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79329 | senthil.kumaran | 2010-03-23 14:16:31 +0530 (Tue, 23 Mar 2010) | 2 lines

  Fixed Issue8209 - OptionParser keyword arg 'epilog' not mentioned in the docs
........
2010-03-23 08:57:00 +00:00
Senthil Kumaran 67b4e187e1 Fixed Issue8209 - OptionParser keyword arg 'epilog' not mentioned in the docs 2010-03-23 08:46:31 +00:00
Ezio Melotti 0d0b80bc3e Link specifically to the UCD version 5.2.0. 2010-03-23 00:38:12 +00:00
Ezio Melotti 88b6f8bada Remove link to objects.rst (gone in r79179). 2010-03-23 00:25:19 +00:00
Ezio Melotti ae735a763e Update the version number of the Unicode Database in a few more places. 2010-03-22 23:07:32 +00:00
Benjamin Peterson 267f2c7258 Merged revisions 79138-79139,79306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r79138 | benjamin.peterson | 2010-03-20 11:16:44 -0500 (Sat, 20 Mar 2010) | 1 line

  document exitfunc fixer
................
  r79139 | benjamin.peterson | 2010-03-20 11:17:37 -0500 (Sat, 20 Mar 2010) | 1 line

  wrap
................
  r79306 | benjamin.peterson | 2010-03-22 17:40:06 -0500 (Mon, 22 Mar 2010) | 21 lines

  Merged revisions 79077,79137,79304-79305 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r79077 | benjamin.peterson | 2010-03-18 18:05:29 -0500 (Thu, 18 Mar 2010) | 1 line

    port detect_encoding improvements from py3k
  ........
    r79137 | benjamin.peterson | 2010-03-20 11:12:53 -0500 (Sat, 20 Mar 2010) | 1 line

    add a fixer for setting sys.exitfunc #2356
  ........
    r79304 | benjamin.peterson | 2010-03-22 17:20:22 -0500 (Mon, 22 Mar 2010) | 1 line

    fix test_parser when it's run in a path with spaces #7666
  ........
    r79305 | benjamin.peterson | 2010-03-22 17:27:07 -0500 (Mon, 22 Mar 2010) | 1 line

    normalize whitespace
  ........
................
2010-03-22 22:47:20 +00:00
Vinay Sajip 804899b4ab logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter. 2010-03-22 15:29:01 +00:00
Georg Brandl 4c86cb31e2 Merged revisions 78859-78860,78952,79168-79169,79173,79176,79178-79179,79181,79184-79185,79192,79212 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78859 | georg.brandl | 2010-03-12 10:57:43 +0100 (Fr, 12 Mär 2010) | 1 line

  Get rid of backticks.
........
  r78860 | georg.brandl | 2010-03-12 11:02:03 +0100 (Fr, 12 Mär 2010) | 1 line

  Fix warnings from "make check".
........
  r78952 | georg.brandl | 2010-03-14 10:55:08 +0100 (So, 14 Mär 2010) | 1 line

  #8137: add iso-8859-16 to the standard encodings table.
........
  r79168 | georg.brandl | 2010-03-21 10:01:27 +0100 (So, 21 Mär 2010) | 1 line

  Fix some issues found by Jacques Ducasse on the docs list.
........
  r79169 | georg.brandl | 2010-03-21 10:02:01 +0100 (So, 21 Mär 2010) | 1 line

  Remove the "built-in objects" file.  It only contained two paragraphs of which only one contained useful information, which belongs in the ref manual however.
........
  r79173 | georg.brandl | 2010-03-21 10:09:38 +0100 (So, 21 Mär 2010) | 1 line

  Document that GzipFile supports iteration.
........
  r79176 | georg.brandl | 2010-03-21 10:17:41 +0100 (So, 21 Mär 2010) | 1 line

  Introduce copy by slicing, used in later chapters.
........
  r79178 | georg.brandl | 2010-03-21 10:28:16 +0100 (So, 21 Mär 2010) | 1 line

  Clarify that for shell=True, the shell PID will be the child PID.
........
  r79179 | georg.brandl | 2010-03-21 10:37:54 +0100 (So, 21 Mär 2010) | 1 line

  Mention inefficiency of lists as queues, add link to collections.deque discussion.
........
  r79181 | georg.brandl | 2010-03-21 10:51:16 +0100 (So, 21 Mär 2010) | 1 line

  Update os.kill() emulation example for Windows to use ctypes.
........
  r79184 | georg.brandl | 2010-03-21 10:58:36 +0100 (So, 21 Mär 2010) | 1 line

  Update text for newest US DST regulation.  The sample file already has the calculation right.
........
  r79185 | georg.brandl | 2010-03-21 11:02:47 +0100 (So, 21 Mär 2010) | 1 line

  Include structmember.h correctly.
........
  r79192 | georg.brandl | 2010-03-21 12:50:58 +0100 (So, 21 Mär 2010) | 1 line

  Remove leftover word.
........
  r79212 | georg.brandl | 2010-03-21 20:01:38 +0100 (So, 21 Mär 2010) | 1 line

  Fix plural.
........
2010-03-21 19:34:26 +00:00
Georg Brandl 5a7eca1749 Merged revisions 77593,77702-77703,77858,77887,78113-78115,78117,78245,78385-78386,78496,78760,78771-78773,78802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77593 | georg.brandl | 2010-01-18 00:33:53 +0100 (Mo, 18 Jan 2010) | 1 line

  Fix internal reference.
........
  r77702 | georg.brandl | 2010-01-23 09:43:31 +0100 (Sa, 23 Jan 2010) | 1 line

  #7762: fix refcount annotation of PyUnicode_Tailmatch().
........
  r77703 | georg.brandl | 2010-01-23 09:47:54 +0100 (Sa, 23 Jan 2010) | 1 line

  #7725: fix referencing issue.
........
  r77858 | georg.brandl | 2010-01-30 18:57:48 +0100 (Sa, 30 Jan 2010) | 1 line

  #7802: fix invalid example (heh).
........
  r77887 | georg.brandl | 2010-01-31 19:51:49 +0100 (So, 31 Jan 2010) | 5 lines

  Fix-up ftplib documentation:
  move exception descriptions to toplevel, not inside a class
  remove attribution in "versionadded"
  spell and grammar check docstring of FTP_TLS
........
  r78113 | georg.brandl | 2010-02-08 23:37:20 +0100 (Mo, 08 Feb 2010) | 1 line

  Fix missing string formatting argument.
........
  r78114 | georg.brandl | 2010-02-08 23:37:52 +0100 (Mo, 08 Feb 2010) | 1 line

  Fix undefined local.
........
  r78115 | georg.brandl | 2010-02-08 23:40:51 +0100 (Mo, 08 Feb 2010) | 1 line

  Fix missing string formatting placeholder.
........
  r78117 | georg.brandl | 2010-02-08 23:48:37 +0100 (Mo, 08 Feb 2010) | 1 line

  Convert test failure from output-producing to self.fail().
........
  r78245 | georg.brandl | 2010-02-19 20:36:08 +0100 (Fr, 19 Feb 2010) | 1 line

  #7967: PyXML is no more.
........
  r78385 | georg.brandl | 2010-02-23 22:33:17 +0100 (Di, 23 Feb 2010) | 1 line

  #8000: fix deprecated directive.  What a shame to lose that glorious issue number to such a minor bug :)
........
  r78386 | georg.brandl | 2010-02-23 22:48:57 +0100 (Di, 23 Feb 2010) | 1 line

  #6544: fix refleak in kqueue, occurring in certain error conditions.
........
  r78496 | georg.brandl | 2010-02-27 15:58:08 +0100 (Sa, 27 Feb 2010) | 1 line

  Link to http://www.python.org/dev/workflow/ from bugs page.
........
  r78760 | georg.brandl | 2010-03-07 16:23:59 +0100 (So, 07 Mär 2010) | 1 line

  #5341: more built-in vs builtin fixes.
........
  r78771 | georg.brandl | 2010-03-07 21:58:31 +0100 (So, 07 Mär 2010) | 1 line

  #8085: The function is called PyObject_NewVar, not PyObject_VarNew.
........
  r78772 | georg.brandl | 2010-03-07 22:12:28 +0100 (So, 07 Mär 2010) | 1 line

  #8039: document conditional expressions better, giving them their own section.
........
  r78773 | georg.brandl | 2010-03-07 22:32:06 +0100 (So, 07 Mär 2010) | 1 line

  #8044: document Py_{Enter,Leave}RecursiveCall functions.
........
  r78802 | georg.brandl | 2010-03-08 17:28:40 +0100 (Mo, 08 Mär 2010) | 1 line

  Fix typo.
........
2010-03-21 19:29:04 +00:00
Georg Brandl b6453a902e Merged revisions 77120,77151,77155,77209,77229,77256,77317,77331,77333,77359-77360,77382,77561,77570 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77120 | georg.brandl | 2009-12-29 22:09:17 +0100 (Di, 29 Dez 2009) | 1 line

  #7595: fix typo in argument default constant.
........
  r77151 | georg.brandl | 2009-12-30 19:32:50 +0100 (Mi, 30 Dez 2009) | 1 line

  #7487: update Pygments version.
........
  r77155 | georg.brandl | 2009-12-30 20:03:00 +0100 (Mi, 30 Dez 2009) | 1 line

  We only support Windows NT derivatives now.
........
  r77209 | georg.brandl | 2010-01-01 14:07:05 +0100 (Fr, 01 Jan 2010) | 1 line

  More yearly updates.
........
  r77229 | georg.brandl | 2010-01-02 13:35:01 +0100 (Sa, 02 Jan 2010) | 1 line

  Fix casing.
........
  r77256 | georg.brandl | 2010-01-02 23:55:55 +0100 (Sa, 02 Jan 2010) | 1 line

  Fix typo.
........
  r77317 | georg.brandl | 2010-01-05 19:14:52 +0100 (Di, 05 Jan 2010) | 1 line

  Add Stefan.
........
  r77331 | georg.brandl | 2010-01-06 18:43:06 +0100 (Mi, 06 Jan 2010) | 1 line

  Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class.
........
  r77333 | georg.brandl | 2010-01-06 19:26:08 +0100 (Mi, 06 Jan 2010) | 1 line

  #5950: document that zip files with comments are unsupported in zipimport.
........
  r77359 | georg.brandl | 2010-01-07 21:54:45 +0100 (Do, 07 Jan 2010) | 1 line

  Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
  r77360 | georg.brandl | 2010-01-07 22:48:47 +0100 (Do, 07 Jan 2010) | 1 line

  #7653: clarify how the PythonPath registry key should look like.
........
  r77382 | georg.brandl | 2010-01-09 10:47:11 +0100 (Sa, 09 Jan 2010) | 1 line

  #7422: make it clear that getargspec() only works on Python functions.
........
  r77561 | georg.brandl | 2010-01-17 09:42:30 +0100 (So, 17 Jan 2010) | 1 line

  #7699: improve datetime docs: straightforward linking to strftime/strptime section, mark classmethods as such.
........
  r77570 | georg.brandl | 2010-01-17 13:14:42 +0100 (So, 17 Jan 2010) | 1 line

  Add note about usage of STRINGLIB_EMPTY.
........
2010-03-21 19:16:28 +00:00
Georg Brandl 953fe5f7e7 Merged revisions 76538,76559,76882-76883,76886,76891-76892,76920,76924-76925,77081,77084,77086,77092 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76538 | georg.brandl | 2009-11-26 21:48:25 +0100 (Do, 26 Nov 2009) | 1 line

  #7400: typo.
........
  r76559 | georg.brandl | 2009-11-28 12:11:50 +0100 (Sa, 28 Nov 2009) | 1 line

  Fix versions and spacing.
........
  r76882 | georg.brandl | 2009-12-19 18:30:28 +0100 (Sa, 19 Dez 2009) | 1 line

  #7527: use standard versionadded tags.
........
  r76883 | georg.brandl | 2009-12-19 18:34:32 +0100 (Sa, 19 Dez 2009) | 1 line

  #7521: remove Py_GetBuildNumber(), which was removed in favor of Py_GetBuildInfo().
........
  r76886 | georg.brandl | 2009-12-19 18:43:33 +0100 (Sa, 19 Dez 2009) | 1 line

  #7493: review of Design FAQ by Florent Xicluna.
........
  r76891 | georg.brandl | 2009-12-19 19:16:31 +0100 (Sa, 19 Dez 2009) | 1 line

  #7479: add note about function availability on Unices.
........
  r76892 | georg.brandl | 2009-12-19 19:20:18 +0100 (Sa, 19 Dez 2009) | 1 line

  #7480: remove tautology.
........
  r76920 | georg.brandl | 2009-12-20 15:20:16 +0100 (So, 20 Dez 2009) | 1 line

  #7495: backport Programming FAQ review to trunk.
........
  r76924 | georg.brandl | 2009-12-20 15:28:05 +0100 (So, 20 Dez 2009) | 1 line

  Small indentation fix.
........
  r76925 | georg.brandl | 2009-12-20 15:33:20 +0100 (So, 20 Dez 2009) | 1 line

  #7381: subprocess documentation and library docstring consistency fixes.
........
  r77081 | georg.brandl | 2009-12-28 08:59:05 +0100 (Mo, 28 Dez 2009) | 1 line

  #7577: fix signature of PyBuffer_FillInfo().
........
  r77084 | georg.brandl | 2009-12-28 09:01:59 +0100 (Mo, 28 Dez 2009) | 1 line

  #7586: fix typo.
........
  r77086 | georg.brandl | 2009-12-28 09:09:32 +0100 (Mo, 28 Dez 2009) | 1 line

  #7381: consistency update, and backport avoiding ``None >= 0`` check from py3k.
........
  r77092 | georg.brandl | 2009-12-28 09:48:24 +0100 (Mo, 28 Dez 2009) | 1 line

  #7404: remove reference to non-existing example files.
........
2010-03-21 19:06:51 +00:00
Georg Brandl 46d441e0c2 Merged revisions 75952-75953,75955,76105,76143,76223,76259,76326,76376-76377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75952 | georg.brandl | 2009-10-29 21:38:32 +0100 (Do, 29 Okt 2009) | 1 line

  Use the correct function name in docstring.
........
  r75953 | georg.brandl | 2009-10-29 21:39:50 +0100 (Do, 29 Okt 2009) | 1 line

  Remove mention of the old -X command line switch.
........
  r75955 | georg.brandl | 2009-10-29 21:54:03 +0100 (Do, 29 Okt 2009) | 1 line

  Use a single style for all the docstrings in the math module.
........
  r76105 | georg.brandl | 2009-11-04 08:38:12 +0100 (Mi, 04 Nov 2009) | 1 line

  #7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs.
........
  r76143 | georg.brandl | 2009-11-07 09:26:07 +0100 (Sa, 07 Nov 2009) | 1 line

  #7271: fix typo.
........
  r76223 | georg.brandl | 2009-11-12 09:29:46 +0100 (Do, 12 Nov 2009) | 1 line

  Give the profile module a module directive.
........
  r76259 | georg.brandl | 2009-11-14 12:50:51 +0100 (Sa, 14 Nov 2009) | 1 line

  Fix terminology.
........
  r76326 | georg.brandl | 2009-11-16 17:44:05 +0100 (Mo, 16 Nov 2009) | 1 line

  #7302: fix link.
........
  r76376 | georg.brandl | 2009-11-18 20:39:14 +0100 (Mi, 18 Nov 2009) | 1 line

  upcase Python
........
  r76377 | georg.brandl | 2009-11-18 21:05:15 +0100 (Mi, 18 Nov 2009) | 1 line

  Fix markup.
........
2010-03-21 19:01:15 +00:00
Andrew M. Kuchling 46c2db5d3c Add items 2010-03-21 18:47:12 +00:00
Georg Brandl aa89f8d04c Remove leftover word. 2010-03-21 11:50:58 +00:00
Georg Brandl 236da4be4e Include structmember.h correctly. 2010-03-21 10:02:47 +00:00
Georg Brandl ce00cf2ce7 Update text for newest US DST regulation. The sample file already has the calculation right. 2010-03-21 09:58:36 +00:00
Georg Brandl f23f0a2c7c Update os.kill() emulation example for Windows to use ctypes. 2010-03-21 09:51:16 +00:00
Georg Brandl a39f2afe9b Mention inefficiency of lists as queues, add link to collections.deque discussion. 2010-03-21 09:37:54 +00:00
Georg Brandl 0b56ce0bc4 Clarify that for shell=True, the shell PID will be the child PID. 2010-03-21 09:28:16 +00:00
Georg Brandl 0fcd882101 Introduce copy by slicing, used in later chapters. 2010-03-21 09:17:41 +00:00
Georg Brandl d1068be653 Document that GzipFile supports iteration. 2010-03-21 09:09:38 +00:00
Georg Brandl 3814ddfcfc Add a paragraph about set displays. 2010-03-21 09:08:00 +00:00
Georg Brandl dad0203f0a Remove the "built-in objects" file. It only contained two paragraphs of which only one contained useful information, which belongs in the ref manual however. 2010-03-21 09:02:01 +00:00
Georg Brandl 118c55778e Fix some issues found by Jacques Ducasse on the docs list. 2010-03-21 09:01:27 +00:00
Benjamin Peterson 2405547a2a wrap 2010-03-20 16:17:37 +00:00
Benjamin Peterson d47667c32b document exitfunc fixer 2010-03-20 16:16:44 +00:00
Michael Foord 98e7b7644b Issue 7832: renaming unittest.TestCase.assertSameElements to assertItemsEqual and changing behaviour 2010-03-20 03:00:34 +00:00
Sean Reifscheider b2efeff4a5 Fixing the file call in the rfc822.Message replacement example. 2010-03-20 00:05:42 +00:00
Sean Reifscheider 95ce1fcf8b Adding an example of reproducing the rfc822.Message() parsing. 2010-03-19 23:19:55 +00:00
Collin Winter 001a3952c9 Add support for weak references to code objects. This will be used by an optimization in the incoming Python 3 JIT.
Patch by Reid Kleckner!
2010-03-18 21:54:01 +00:00
Florent Xicluna 735885428d #8155: Preserve backward compatibility for test_support.check_warnings(). Add regression tests. 2010-03-18 19:51:47 +00:00
Vinay Sajip 2060e42206 Issue #8162: logging: Clarified docstring and documentation for disable function. 2010-03-17 15:05:57 +00:00
Georg Brandl 65db5872b0 #8137: add iso-8859-16 to the standard encodings table. 2010-03-14 09:55:08 +00:00
Florent Xicluna 88db6f402e Minor documentation updates for xml.etree. 2010-03-14 01:22:09 +00:00
Florent Xicluna a231e45fb1 Add the keyword argument "method=None" to the .write() method and the tostring/tostringlist functions.
Update the function, class and method signatures, according to the new convention.
2010-03-13 20:30:15 +00:00
Florent Xicluna 583302c54e Update some parts of the xml.etree documentation. 2010-03-13 17:56:19 +00:00
Georg Brandl a93c4e395f Merged revisions 78921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78921 | georg.brandl | 2010-03-13 14:39:46 +0100 (Sa, 13 Mär 2010) | 1 line

  Change/fix handling of docs download location: for daily builds, put them right next to the HTML.
........
2010-03-13 13:42:13 +00:00
Georg Brandl 45534cec26 Update for new download location. 2010-03-13 13:41:58 +00:00
Georg Brandl e82110f3a5 Change/fix handling of docs download location: for daily builds, put them right next to the HTML. 2010-03-13 13:39:46 +00:00
Georg Brandl 10b4e8c0b8 Merged revisions 78908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78908 | georg.brandl | 2010-03-13 11:12:39 +0100 (Sa, 13 Mär 2010) | 1 line

  Add Makefile targets for automatic doc build.  Add script that will be used for daily build.
........
2010-03-13 11:00:44 +00:00
Georg Brandl b01f94324a Merged revisions 78910 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78910 | georg.brandl | 2010-03-13 11:54:12 +0100 (Sa, 13 Mär 2010) | 1 line

  Bump externals versions for doc build.
........
2010-03-13 10:59:09 +00:00
Georg Brandl fce7b86807 Bump externals versions for doc build. 2010-03-13 10:54:12 +00:00
Georg Brandl 3446583976 Add Makefile targets for automatic doc build. Add script that will be used for daily build. 2010-03-13 10:12:39 +00:00
Georg Brandl de1838c4a3 Merged revisions 77152 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77152 | georg.brandl | 2009-12-30 19:36:09 +0100 (Mi, 30 Dez 2009) | 1 line

  #7602: improve "clean" and "checkout" targets now that all tools are in externals.
........
2010-03-13 10:02:09 +00:00
Ezio Melotti 93dd9b808e #8011: use exc.tb_lineno instead of traceback.tb_lineno() and pep8ify variable names. 2010-03-13 01:21:34 +00:00
Ezio Melotti c4785a7547 fix broken links 2010-03-13 00:15:36 +00:00
Georg Brandl f6d3674599 Fix warnings from "make check". 2010-03-12 10:02:03 +00:00
Georg Brandl 554272743a Get rid of backticks. 2010-03-12 09:57:43 +00:00
Vinay Sajip ecfa08fdf8 Issue #8117: Updated NEWS entry and added to logging documentation. 2010-03-12 09:16:10 +00:00
Benjamin Peterson 9cf41d0c9d normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
Florent Xicluna 3e8c189faa Issue #6472: The xml.etree package is updated to ElementTree 1.3. The cElementTree module is updated too. 2010-03-11 14:36:19 +00:00
Raymond Hettinger 9bd3508530 Add nicer docstrings to namedtuples().
Provides better tooltips and looks better in help().
2010-03-09 09:01:46 +00:00
Raymond Hettinger 08090bf36a Improve the basic example.
* Show both the decorator and regular form for assertRaises()
* Use assertTrue() instead of assertIn() to teach useful minimal subset of the API
2010-03-09 08:44:18 +00:00
Georg Brandl d22557cf0a Fix typo. 2010-03-08 16:28:40 +00:00
Andrew M. Kuchling fed15766f9 Add various items 2010-03-08 12:00:39 +00:00
Florent Xicluna cf741ceb69 Fix syntax: "rc != None" -> "rc is not None" 2010-03-08 10:58:12 +00:00
Georg Brandl 0d4bfec134 #8044: document Py_{Enter,Leave}RecursiveCall functions. 2010-03-07 21:32:06 +00:00
Georg Brandl 38c72030db #8039: document conditional expressions better, giving them their own section. 2010-03-07 21:12:28 +00:00
Georg Brandl 303e675940 #8085: The function is called PyObject_NewVar, not PyObject_VarNew. 2010-03-07 20:58:31 +00:00
Florent Xicluna fc8a1ed70e Refresh the documentation for the test.test_support module. 2010-03-07 19:14:12 +00:00
Mark Dickinson 154b7ad07e Issue #1530559: When packing a non-integer with any integer conversion
code using struct.pack, attempt to convert to an integer first using
the argument's __int__ method (if present).  Also raise a
DeprecationWarning for any such usage of __int__.

This fixes a regression from 2.6, where some (but not all) integer
conversion codes already used __int__.
2010-03-07 16:24:45 +00:00
Georg Brandl 21e99f4924 #5341: more built-in vs builtin fixes. 2010-03-07 15:23:59 +00:00
Benjamin Peterson a7fa0324fb settscdump is definitely an implementation detail 2010-03-06 03:13:33 +00:00
Gerhard Häring 3bbb67273a Merged code from pysqlite 2.6.0. 2010-03-05 09:12:37 +00:00
R. David Murray 3f3330f388 Fix documentation of email.Message.get_filename to match
the fix applied in Issue 7082.
2010-03-04 17:34:05 +00:00
Benjamin Peterson ac80c157c7 rephrase 2010-03-03 21:28:25 +00:00
Lars Gustäbel 6458104188 Issue #7232: Add support for the context manager protocol
to the TarFile class.
2010-03-03 11:55:48 +00:00
Benjamin Peterson c516d199ec fix Sphinx warnings 2010-03-03 02:04:24 +00:00
Benjamin Peterson 90c5802e6b edit for style 2010-03-03 01:55:09 +00:00
Georg Brandl d2decd9965 Add some x-refs. 2010-03-02 22:17:38 +00:00
Benjamin Peterson a39e966e97 set svn:eol-style 2010-03-02 22:05:59 +00:00
Michael Foord abe6331cca Link correction in documentation. 2010-03-02 14:22:15 +00:00
Andrew M. Kuchling ab21f75ff1 Add an item 2010-03-02 13:55:33 +00:00
Steven Bethard e9330e7941 Initial commit of the argparse library, based on argparse 1.1.
Docs still need some updating to make getopt and optparse match the wording promised in the PEP.
There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation.
2010-03-02 08:38:09 +00:00
Barry Warsaw 1803024c8a More copyright year updates. 2010-03-01 22:16:51 +00:00
Andrew M. Kuchling fe6f07c0ac #7637: avoid repeated-concatenation antipattern in example 2010-03-01 20:11:57 +00:00
Andrew M. Kuchling 66dab172fe #7191: describe more details of wbits parameter 2010-03-01 19:51:43 +00:00
Andrew M. Kuchling f8af7b46fd #7637: update discussion of minidom.unlink() and garbage collection 2010-03-01 19:45:21 +00:00
Gregory P. Smith 3c699d334a Adds c_ssize_t to ctypes. issue 6729. 2010-03-01 04:56:12 +00:00
Gregory P. Smith e6390a1503 Adds the hashlib.algorithms attribute. See issue7418. 2010-03-01 02:01:47 +00:00
Ezio Melotti 5d702385e4 Merged revisions 78511 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78511 | ezio.melotti | 2010-02-28 05:11:07 +0200 (Sun, 28 Feb 2010) | 1 line

  Pep8ify test names in the examples.
........
2010-02-28 03:42:56 +00:00
Ezio Melotti 68beef6633 Pep8ify test names in the examples. 2010-02-28 03:11:07 +00:00
Georg Brandl 37212ed489 Link to http://www.python.org/dev/workflow/ from bugs page. 2010-02-27 14:58:08 +00:00
Ezio Melotti 04eef97a8a Merged revisions 78489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78489 | ezio.melotti | 2010-02-27 15:50:35 +0200 (Sat, 27 Feb 2010) | 1 line

  Fix missing parenthesis.
........
2010-02-27 13:52:50 +00:00
Ezio Melotti 8dd547f689 Fix missing parenthesis. 2010-02-27 13:50:35 +00:00
Raymond Hettinger 9ea3bbafaa Move the namedtuple class definition to the end of the example. 2010-02-27 07:05:37 +00:00
Ezio Melotti b2c3202114 Merged revisions 78465 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78465 | ezio.melotti | 2010-02-27 01:27:06 +0200 (Sat, 27 Feb 2010) | 1 line

  typo: __next__ -> next
........
2010-02-26 23:29:38 +00:00
Ezio Melotti 84424f1532 typo: __next__ -> next 2010-02-26 23:27:06 +00:00
Andrew M. Kuchling 9aeeffa929 #7407: specify default maxsize value; patch by Floris Bruynooghe 2010-02-26 13:22:50 +00:00
Senthil Kumaran 5b2c005135 Merged revisions 78457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78457 | senthil.kumaran | 2010-02-26 06:17:05 +0530 (Fri, 26 Feb 2010) | 3 lines

  Fixing issue5475 : urllib2.getproxies not documented
........
2010-02-26 00:49:45 +00:00
Senthil Kumaran c994186dad Fixing issue5475 : urllib2.getproxies not documented 2010-02-26 00:47:05 +00:00
Eric Smith 5a896788b6 Merged revisions 78444 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78444 | eric.smith | 2010-02-25 09:26:33 -0500 (Thu, 25 Feb 2010) | 1 line

  Issue #7928: Document str.format element_index better.
........
2010-02-25 14:55:41 +00:00
Eric Smith 271b7e1abb Issue #7928: Document str.format element_index better. 2010-02-25 14:26:33 +00:00
Eric Smith f34bef2378 Merged revisions 78440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78440 | eric.smith | 2010-02-25 09:14:35 -0500 (Thu, 25 Feb 2010) | 1 line

  Issue #5965: Add documentation for parts of format specification language.
........
2010-02-25 14:16:46 +00:00
Eric Smith de8b2ac332 Issue #5965: Add documentation for parts of format specification language. 2010-02-25 14:14:35 +00:00
Dirkjan Ochtman e4c74e1ea2 Issue #8004: add a serve target to the Doc Makefile. 2010-02-24 04:12:11 +00:00
Dirkjan Ochtman 2d78070f63 Issue #7733: add explicit reference in asyncore docs. 2010-02-24 04:00:52 +00:00
Georg Brandl 6ae19ade64 #8000: fix deprecated directive. What a shame to lose that glorious issue number to such a minor bug :) 2010-02-23 21:33:17 +00:00
Dirkjan Ochtman 8614817875 Fix #1537721: add writeheader() method to csv.DictWriter.
Reviewed by skip.montanaro and thomas.wouters.
2010-02-23 21:09:52 +00:00
Jack Diederich 1605b3316f fixup markup error 2010-02-23 17:23:30 +00:00
Tarek Ziadé 1e069eeab7 added a note on shutil new APIs 2010-02-23 05:20:22 +00:00
Tarek Ziadé 48cc8dc958 added make_archive (and secondary APIs) to shutil 2010-02-23 05:16:41 +00:00
Andrew M. Kuchling f2055ae43d Remove Tools/modulator, a reference to it in the docs, and a screenshot of it.
(I asked the BDFL first, and he approved removing it.  The last actual bugfix
to Tools/modulator was in 2001; since then all changes have been search-and-replace:
string methods, whitespace fixes, etc.)
2010-02-22 21:04:02 +00:00
Jack Diederich 8f48f4c5f6 fixes issue #7530, serve_forever() 2010-02-22 18:17:16 +00:00
Mark Dickinson 7c5adf1710 Merged revisions 78312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78312 | mark.dickinson | 2010-02-22 15:40:28 +0000 (Mon, 22 Feb 2010) | 1 line

  Clarify description of three-argument pow for Decimal types:  the exponent of the result is always 0.
........
2010-02-22 15:41:07 +00:00
Mark Dickinson f5be4e612c Clarify description of three-argument pow for Decimal types: the exponent of the result is always 0. 2010-02-22 15:40:28 +00:00
Andrew M. Kuchling dfd0148909 #6414: clarify description of processor endianness.
Text by Alexey Shamrin; I changed 'DEC Alpha' to the more relevant 'Intel Itanium'.
2010-02-22 15:13:17 +00:00
Andrew M. Kuchling 2f7b50a0db Merged revisions 78303 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78303 | andrew.kuchling | 2010-02-22 09:53:17 -0500 (Mon, 22 Feb 2010) | 1 line

  #7794: describe 2.6 support for executing directories and zip archives
........
2010-02-22 14:55:17 +00:00
Andrew M. Kuchling 6b2bd05b16 #7794: describe 2.6 support for executing directories and zip archives 2010-02-22 14:53:17 +00:00
Andrew M. Kuchling 25d6ddd38b #7076: mention SystemRandom class near start of the module docs; reword change description for clarity. Noted by Shawn Ligocki. 2010-02-22 02:29:10 +00:00
Andrew M. Kuchling c7337b8b3a Re-word 2010-02-22 02:08:45 +00:00
Mark Dickinson 82b34c5dbe Issue #5211: Fix complex type to avoid implicit calls to
complex.__coerce__.  Thanks Meador Inge for the patch.
2010-02-21 12:57:35 +00:00
Vinay Sajip 61afd2694b logging: Documented warnings module integration. 2010-02-19 23:53:17 +00:00
Georg Brandl 74cbd664d2 #7967: PyXML is no more. 2010-02-19 19:36:08 +00:00
Fred Drake cc43b56960 - apply patch from issue 7005
- add corresponding documentation
2010-02-19 05:24:30 +00:00
Mark Dickinson 6d8effb1fc Issue #7633: Context method in the decimal module (with the exception
of the 'canonical' and 'is_canonical' methods) now consistently accept
integer arguments wherever a Decimal instance is accepted.  Thanks
Juan José Conti for the patch.
2010-02-18 14:27:02 +00:00
Andrew M. Kuchling e41e4db259 Add various items 2010-02-18 14:16:48 +00:00
R. David Murray 6dfe66298b Make the references to Popen in the description of Call
and check_call into links.
2010-02-16 17:55:26 +00:00
Eric Smith 7b12cce65d Merged revisions 78198 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78198 | eric.smith | 2010-02-15 06:55:38 -0500 (Mon, 15 Feb 2010) | 1 line

  Remove incorrect apostrophe.
........
2010-02-15 11:56:37 +00:00
Eric Smith cef34099b5 Remove incorrect apostrophe. 2010-02-15 11:55:38 +00:00
Georg Brandl 2fe3b3d4be Merged revisions 78182,78188 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78182 | georg.brandl | 2010-02-14 09:18:23 +0100 (So, 14 Feb 2010) | 1 line

  #7926: fix stray parens.
........
  r78188 | georg.brandl | 2010-02-14 14:38:12 +0100 (So, 14 Feb 2010) | 1 line

  #7926: fix-up wording.
........
2010-02-14 13:40:45 +00:00
Georg Brandl f0f6bd6332 #7926: fix-up wording. 2010-02-14 13:38:12 +00:00
Georg Brandl 4a670c5572 #7926: fix stray parens. 2010-02-14 08:18:23 +00:00
Ezio Melotti 71e38f57f3 Merged revisions 78176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78176 | ezio.melotti | 2010-02-14 04:50:23 +0200 (Sun, 14 Feb 2010) | 1 line

  #7921: fix links. Patch by Brian Curtin.
........
2010-02-14 02:52:55 +00:00
Ezio Melotti a68f7b8a0d #7921: fix links. Patch by Brian Curtin. 2010-02-14 02:50:23 +00:00
Ezio Melotti 896660ad4d Merged revisions 78162 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78162 | ezio.melotti | 2010-02-12 01:50:57 +0200 (Fri, 12 Feb 2010) | 1 line

  #7907: fix wrong function name in doc. Patch by Brian Curtin.
........
2010-02-11 23:54:04 +00:00
Ezio Melotti 6164d7ac84 #7907: fix wrong function name in doc. Patch by Brian Curtin. 2010-02-11 23:50:57 +00:00
R. David Murray b92a305d2a Merged revisions 78141-78142 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78141 | r.david.murray | 2010-02-10 20:38:42 -0500 (Wed, 10 Feb 2010) | 6 lines

  Issue 5754:  tweak shelve doc wording to make it clearer that even when
  writeback=True values are written to the backing store when assigned to
  the shelf.  Add test to confirm that this happens.  Doc patch and added
  test by Robert Lehmann.  I also fixed the cross references to the sync
  and close methods.
........
  r78142 | r.david.murray | 2010-02-10 20:56:42 -0500 (Wed, 10 Feb 2010) | 3 lines

  Improve issue 7835 fix per MAL to handle the case that the
  module dictionary has also been cleared.
........
2010-02-11 02:01:02 +00:00
R. David Murray 7c29f071d5 Issue 5754: tweak shelve doc wording to make it clearer that even when
writeback=True values are written to the backing store when assigned to
the shelf.  Add test to confirm that this happens.  Doc patch and added
test by Robert Lehmann.  I also fixed the cross references to the sync
and close methods.
2010-02-11 01:38:42 +00:00
Michael Foord db43b5a1f5 Issue 7893 and Issue 7588 2010-02-10 14:25:12 +00:00
Michael Foord 7b5aa463f9 Doc fix for unittest. 2010-02-08 23:15:22 +00:00
Michael Foord fe6349c965 Make assertMultiLineEqual the default for comparing unicode strings. 2010-02-08 22:41:16 +00:00
Ezio Melotti 1247775afa Fix typo 2010-02-08 22:22:41 +00:00
Antoine Pitrou dde96e6dd6 Clarify and correct description for ccbench and iobench. 2010-02-08 20:25:47 +00:00
Andrew M. Kuchling 0e7123fbd4 Add two items; move a subsection 2010-02-08 13:22:24 +00:00
Andrew M. Kuchling 9e483ef66d Move distutils into its own subsection; add various items 2010-02-08 01:35:35 +00:00
Ronald Oussoren dd25e86cf4 Issue 6003: ZipFile.writestr "compression_type" argument 2010-02-07 20:18:02 +00:00
Ronald Oussoren 8ed66ed712 Backport the patch that enables linking the readline
module to libedit on OSX 10.5 or later. (Issue 6877)
2010-02-07 20:04:45 +00:00
Georg Brandl dc3694bee0 Rename "exc_value" attribute on assertRaises context manager to "exception". 2010-02-07 17:02:22 +00:00
Georg Brandl 9c2c1f8071 Merged revisions 78024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78024 | georg.brandl | 2010-02-06 19:44:44 +0100 (Sa, 06 Feb 2010) | 1 line

  #5341: fix "builtin" where used as an adjective ("built-in" is correct).
........
2010-02-07 12:01:57 +00:00
Ronald Oussoren 4da7d7822a Merged revisions 78061 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78061 | ronald.oussoren | 2010-02-07 12:38:28 +0100 (Sun, 07 Feb 2010) | 10 lines

  A number of APIs in macostools cannot work in 64-bit mode because they
  use Carbon APIs that aren't available there.

  This patch disables tests for the affected entrypoints in macostools and
  mentions this in the documentation.

  In theory it is possible to replace the implementation by code that does
  work in 64-bit mode, but that would require further updates to the Carbon
  wrappers because the modern APIs aren't wrapped properly.
........
2010-02-07 11:39:16 +00:00
Ronald Oussoren ab3f5cbabd A number of APIs in macostools cannot work in 64-bit mode because they
use Carbon APIs that aren't available there.

This patch disables tests for the affected entrypoints in macostools and
mentions this in the documentation.

In theory it is possible to replace the implementation by code that does
work in 64-bit mode, but that would require further updates to the Carbon
wrappers because the modern APIs aren't wrapped properly.
2010-02-07 11:38:28 +00:00
Georg Brandl 6f82cd309c #5341: fix "builtin" where used as an adjective ("built-in" is correct). 2010-02-06 18:44:44 +00:00
Georg Brandl b79dc307ad Review sysconfig docs. 2010-02-06 10:23:16 +00:00
Georg Brandl 1c7c7304a3 #7864: make deprecation notices a bit clearer. 2010-02-06 10:08:21 +00:00
Michael Foord ba7732ea6a Minor doc change. 2010-02-05 23:28:12 +00:00
Michael Foord fb0844bcc8 Adding versionadded to test skipping section of unittest documentation. 2010-02-05 21:45:12 +00:00
Michael Foord 1f3fa8ae68 Example of using assertRaises as a context manager in the unittest documentation. 2010-02-05 21:07:38 +00:00
Michael Foord 1c43001cf3 Closes issue 7030. 2010-02-05 20:52:14 +00:00
Barry Warsaw 730820f978 Merged revisions 77992 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77992 | barry.warsaw | 2010-02-05 13:45:25 -0500 (Fri, 05 Feb 2010) | 4 lines

  Resolve bug 7847 by including documentation for -J, -U, and -X under "Options
  you shouldn't use".
........
2010-02-05 18:52:05 +00:00
Barry Warsaw b1e66ee651 Resolve bug 7847 by including documentation for -J, -U, and -X under "Options
you shouldn't use".
2010-02-05 18:45:25 +00:00
Vinay Sajip 0e6e97d9ad Issue #7851: logging: clarification on logging configuration files. 2010-02-04 20:23:45 +00:00
Ezio Melotti f85bba5431 Merged revisions 77968 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77968 | ezio.melotti | 2010-02-04 22:06:38 +0200 (Thu, 04 Feb 2010) | 1 line

  Use correct assert* methods in the examples.
........
2010-02-04 20:22:44 +00:00
Ezio Melotti 85ee3e1b1e Use correct assert* methods in the examples. 2010-02-04 20:06:38 +00:00
R. David Murray 2d95c3a7d8 Merged revisions 77943,77959-77960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77943 | r.david.murray | 2010-02-03 08:36:23 -0500 (Wed, 03 Feb 2010) | 2 lines

  Explicitly mention the default value for formatdate's usegmt parameter.
........
  r77959 | nick.coghlan | 2010-02-04 07:43:58 -0500 (Thu, 04 Feb 2010) | 1 line

  Issue 6760: Clarify args handling for subprocess.Popen. Patch by Chris Rebert
........
  r77960 | r.david.murray | 2010-02-04 11:33:31 -0500 (Thu, 04 Feb 2010) | 2 lines

  Add Chris Rebert to ACKS for issue 6760 Popen doc improvements.
........
2010-02-04 16:35:33 +00:00
Nick Coghlan 7dfc9e1cd4 Issue 6760: Clarify args handling for subprocess.Popen. Patch by Chris Rebert 2010-02-04 12:43:58 +00:00
Eric Smith b3c548845a Corrected list of attributes exposed by sys.getwindowsversion. 2010-02-03 14:17:50 +00:00
R. David Murray f8f42075df Explicitly mention the default value for formatdate's usegmt parameter. 2010-02-03 13:36:23 +00:00
Andrew M. Kuchling 17ae2ba78f Add various items 2010-02-03 02:19:14 +00:00
Tarek Ziadé 2b21069955 added a note in the whatsnew file for sysconfig 2010-02-02 23:39:40 +00:00
Tarek Ziadé 1b93fc1077 first version of the sysconfig module documentation 2010-02-02 22:27:58 +00:00
Andrew M. Kuchling 039c899388 Add various items 2010-02-01 02:04:26 +00:00
Michael Foord e70c72c06b Minor modification to unittest documentation. 2010-01-31 19:59:26 +00:00
Georg Brandl 979d79cd31 Fix-up ftplib documentation:
move exception descriptions to toplevel, not inside a class
remove attribution in "versionadded"
spell and grammar check docstring of FTP_TLS
2010-01-31 18:51:49 +00:00
Benjamin Peterson 3fd2db9074 move distutils.rst to different toc 2010-01-31 18:09:34 +00:00
Georg Brandl 53ffca5afb #7802: fix invalid example (heh). 2010-01-30 17:57:48 +00:00
Ezio Melotti 91d26b43c9 Use the correct markup for args 2010-01-30 13:27:05 +00:00
Ezio Melotti 99af64820a Relocate a couple of stars and remove redundant backticks 2010-01-30 13:08:54 +00:00
Mark Dickinson a36507c64c Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a
long long variant of PyLong_AsLongAndOverflow.  Patch by Case Van
Horsen.
2010-01-30 10:08:33 +00:00
Victor Stinner f6465c23de Merged revisions 77836 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77836 | victor.stinner | 2010-01-30 03:00:26 +0100 (sam., 30 janv. 2010) | 2 lines

  #7801: fix xmlrpclib binary example, open the picture in binary mode
........
2010-01-30 02:04:58 +00:00
Victor Stinner 75d3fb1ebb #7801: fix xmlrpclib binary example, open the picture in binary mode 2010-01-30 02:00:26 +00:00
Ezio Melotti ae03bc5488 #7791: remove reference to ipaddr 2010-01-28 04:27:56 +00:00
Ezio Melotti 7b4e02c862 #7765: typos 2010-01-27 20:25:11 +00:00
Jesse Noller 654ade3e6a Issue #6963: Added maxtasksperchild argument to multiprocessing.Pool 2010-01-27 03:05:57 +00:00
Eric Smith 096d0bf8b1 Fix type on getwindowsversion documentation. Thanks Taggnostr. 2010-01-27 00:55:16 +00:00
Eric Smith ee931b7253 Issue #7766: Change sys.getwindowsversion() return value to a named tuple and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type. 2010-01-27 00:28:29 +00:00
Raymond Hettinger c1bb12a5ea Fix markup. 2010-01-25 19:20:30 +00:00
Facundo Batista 47b66590f6 Added a note about Event.is_set() syntax being new to 2.6 2010-01-25 06:15:01 +00:00
Raymond Hettinger cef40c34a9 Issue 7764: Improve recipe for itertools.consume(). 2010-01-24 03:34:56 +00:00
Georg Brandl c3b0cd75b2 #7725: fix referencing issue. 2010-01-23 08:47:54 +00:00
Georg Brandl 6878ee8d43 #7762: fix refcount annotation of PyUnicode_Tailmatch(). 2010-01-23 08:43:31 +00:00
Ezio Melotti b5ff9facec Merged revisions 77675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77675 | ezio.melotti | 2010-01-21 22:50:57 +0200 (Thu, 21 Jan 2010) | 1 line

  #7746: rephrase a sentence
........
2010-01-21 20:52:23 +00:00
Ezio Melotti 77a64e7159 #7746: rephrase a sentence 2010-01-21 20:50:57 +00:00
Benjamin Peterson 9179dab3f4 data descriptors do not override the class dictionary if __get__ is not defined
Adjust documentation and add a test to verify this behavior.

See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for
discussion.
2010-01-18 23:07:56 +00:00
Georg Brandl 42eaded701 Fix internal reference. 2010-01-17 23:33:53 +00:00
Georg Brandl 6cbb7f945a #7699: improve datetime docs: straightforward linking to strftime/strptime section, mark classmethods as such. 2010-01-17 08:42:30 +00:00
Georg Brandl a54f52376b Merged revisions 76471 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76471 | georg.brandl | 2009-11-23 20:53:19 +0100 (Mo, 23 Nov 2009) | 1 line

  #7345: fix arguments of formatyear().
........
2010-01-17 08:33:18 +00:00
Ezio Melotti 5afe42b69b remove wrong markup 2010-01-16 19:36:42 +00:00
Antoine Pitrou 5a9112c0cc Issue #2846: Add support for gzip.GzipFile reading zero-padded files.
Patch by Brian Curtin.
2010-01-13 14:32:10 +00:00
Ezio Melotti 9fe1d8af48 Merged revisions 77455 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77455 | ezio.melotti | 2010-01-13 02:25:03 +0200 (Wed, 13 Jan 2010) | 1 line

  #7685: typo
........
2010-01-13 00:26:46 +00:00
Ezio Melotti d0ff51c43f #7685: typo 2010-01-13 00:25:03 +00:00
Alexandre Vassalotti b227f47b2b Added documentation for dictionary views fixer. 2010-01-12 18:25:33 +00:00
Alexandre Vassalotti 69eb51697c Issue #1967: Backport dictionary views. 2010-01-11 23:17:10 +00:00
Alexandre Vassalotti b646547bb4 Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
R. David Murray ea7e6bc0f2 Merged revisions 77412 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77412 | r.david.murray | 2010-01-10 12:41:28 -0500 (Sun, 10 Jan 2010) | 3 lines

  Issue #7119: document that a program-generated Message object
  tree may be mutated when serialized.
........
2010-01-10 19:02:16 +00:00
R. David Murray 0e207dff31 Issue #7119: document that a program-generated Message object
tree may be mutated when serialized.
2010-01-10 17:41:28 +00:00
Brett Cannon 6fdd3dcb6a DeprecationWarning is now silent by default.
This was originally suggested by Guido, discussed on the stdlib-sig mailing
list, and given the OK by Guido directly to me. What this change essentially
means is that Python has taken a policy of silencing warnings that are only
of interest to developers by default. This should prevent users from seeing
warnings which are triggered by an application being run against a new
interpreter before the app developer has a chance to update their code.

Closes issue #7319. Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin
for helping with the issue.
2010-01-10 02:56:19 +00:00
Alexandre Vassalotti ee936a2130 Issue #2335: Backport set literals syntax from Python 3.x. 2010-01-09 23:35:54 +00:00
Georg Brandl 8360b21270 #7422: make it clear that getargspec() only works on Python functions. 2010-01-09 09:47:11 +00:00
Georg Brandl 96aa3ca242 #7653: clarify how the PythonPath registry key should look like. 2010-01-07 21:48:47 +00:00
Georg Brandl 54fd8ae0a3 Fix description for Py_GetPath(); it sounded like it always returned sys.path. 2010-01-07 20:54:45 +00:00
Mark Dickinson bdd863d062 Eric Smith was missing fro m the issue 7117 whatsnew attribution. 2010-01-07 09:28:29 +00:00
Georg Brandl 705a358265 #5950: document that zip files with comments are unsupported in zipimport. 2010-01-06 18:26:08 +00:00
Benjamin Peterson 88a0b17d54 remove auto-numbered format fields 2010-01-06 00:55:21 +00:00
Ezio Melotti ed76861682 Merged revisions 77306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77306 | ezio.melotti | 2010-01-04 23:43:02 +0200 (Mon, 04 Jan 2010) | 1 line

  #3340: document print/get_usage and print/get_version
........
2010-01-04 21:51:09 +00:00
Ezio Melotti b9c3ed4f82 #3340: document print/get_usage and print/get_version 2010-01-04 21:43:02 +00:00
Ezio Melotti 81982566aa fixed markup errors 2010-01-04 09:00:11 +00:00
Ezio Melotti 8a6c2935d9 Merged revisions 77271 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77271 | ezio.melotti | 2010-01-03 11:09:55 +0200 (Sun, 03 Jan 2010) | 1 line

  :stmt: -> :keyword:
........
2010-01-03 09:11:04 +00:00
Ezio Melotti 722a8a95b7 :stmt: -> :keyword: 2010-01-03 09:09:55 +00:00
Ezio Melotti 30565e9578 Merged revisions 77267 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77267 | ezio.melotti | 2010-01-03 11:01:27 +0200 (Sun, 03 Jan 2010) | 1 line

  #7618: fix highlight of code blocks
........
2010-01-03 09:04:19 +00:00
Ezio Melotti 5129ed38c3 #7618: fix highlight of code blocks 2010-01-03 09:01:27 +00:00
Gregory P. Smith 9d3252154f issue3972: HTTPConnection and HTTPSConnection now support a
source_address parameter.

Also cleans up an annotation in the socket documentation.
2010-01-03 02:06:07 +00:00
Gregory P. Smith 79a3eb1058 Adds an optional source_address parameter to socket.create_connection().
For use by issue3972.
2010-01-03 01:29:44 +00:00
Andrew M. Kuchling 7f8ebdbad5 Add a few items 2010-01-03 01:15:21 +00:00
Gregory P. Smith 49605907b7 Merged revisions 77242 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77242 | gregory.p.smith | 2010-01-02 13:29:54 -0800 (Sat, 02 Jan 2010) | 3 lines

  Correct documentation for s* z* and w*, the argument that should be passed
  is the address of a Py_buffer, not a Py_buffer *.
........
2010-01-02 21:35:36 +00:00
Gregory P. Smith b56fb12b74 Correct documentation for s* z* and w*, the argument that should be passed
is the address of a Py_buffer, not a Py_buffer *.
2010-01-02 21:29:54 +00:00
Mark Dickinson d73973fc73 Merged revisions 77230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77230 | mark.dickinson | 2010-01-02 14:29:52 +0000 (Sat, 02 Jan 2010) | 1 line

  Clarify that the rect, phase and polar functions work with radians.
........
2010-01-02 14:31:13 +00:00
Mark Dickinson 5a485c188e Clarify that the rect, phase and polar functions work with radians. 2010-01-02 14:29:52 +00:00
Ezio Melotti 558a57a1f2 Merged revisions 77203-77204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77203 | benjamin.peterson | 2010-01-01 06:00:55 +0200 (Fri, 01 Jan 2010) | 1 line

  update copyright year
........
  r77204 | ezio.melotti | 2010-01-01 06:16:42 +0200 (Fri, 01 Jan 2010) | 1 line

  more copyright year updates
........
2010-01-01 04:46:19 +00:00
Ezio Melotti 9db77468bc more copyright year updates 2010-01-01 04:16:42 +00:00
Brett Cannon 1264f1effb Merged revisions 77198 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77198 | brett.cannon | 2009-12-31 17:44:57 -0800 (Thu, 31 Dec 2009) | 3 lines

  Add some missing command-line options to the main list. All but -V were already
  documented. Left -V undocumented for now (and -U was already undocumented).
........
2010-01-01 01:47:00 +00:00
Brett Cannon f31d1a0577 Add some missing command-line options to the main list. All but -V were already
documented. Left -V undocumented for now (and -U was already undocumented).
2010-01-01 01:44:57 +00:00
Benjamin Peterson ae9a0a0f27 add another advancement 2009-12-31 16:49:37 +00:00
Andrew M. Kuchling a7f594712e Add various items 2009-12-31 16:38:53 +00:00
Andrew M. Kuchling 91e0db8404 Add some items 2009-12-31 16:17:05 +00:00
Benjamin Peterson 788864f483 Merged revisions 77157 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77157 | benjamin.peterson | 2009-12-30 13:34:10 -0600 (Wed, 30 Dec 2009) | 5 lines

  check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)

  Also, add a note to the docs about the better behavior of T_OBJECT_EX as
  compared to T_OBJECT.
........
2009-12-30 19:41:48 +00:00
Benjamin Peterson 0f02d3933b check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)
Also, add a note to the docs about the better behavior of T_OBJECT_EX as
compared to T_OBJECT.
2009-12-30 19:34:10 +00:00
Georg Brandl b7953f00b1 We only support Windows NT derivatives now. 2009-12-30 19:03:00 +00:00
Georg Brandl e5ee7e38e8 #7602: improve "clean" and "checkout" targets now that all tools are in externals. 2009-12-30 18:36:09 +00:00
Georg Brandl 5a5fee8ce3 #7487: update Pygments version. 2009-12-30 18:32:50 +00:00
Georg Brandl 36d3da87d9 Merged revisions 77145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77145 | georg.brandl | 2009-12-30 17:21:26 +0100 (Mi, 30 Dez 2009) | 1 line

  Use new Pygments version.
........
2009-12-30 16:23:42 +00:00
Georg Brandl 95049f2561 Use new Pygments version. 2009-12-30 16:21:26 +00:00
Ezio Melotti 569e61f351 #5511: Added the ability to use ZipFile as a context manager. Patch by Brian Curtin. 2009-12-30 06:14:51 +00:00
Andrew M. Kuchling 3c8a24e6d9 Add various items 2009-12-29 23:41:04 +00:00
Georg Brandl fa1ffb69c4 #7595: fix typo in argument default constant. 2009-12-29 21:09:17 +00:00
Andrew M. Kuchling b4a4f5167b Various additions 2009-12-29 20:10:16 +00:00
Georg Brandl aae8e3e488 Merged revisions 77108-77109,77111 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77108 | georg.brandl | 2009-12-29 11:34:34 +0100 (Di, 29 Dez 2009) | 1 line

  #7569: clarification about c_char_p.
........
  r77109 | georg.brandl | 2009-12-29 12:06:31 +0100 (Di, 29 Dez 2009) | 1 line

  Improve markup of ctypes docs.
........
  r77111 | georg.brandl | 2009-12-29 12:25:38 +0100 (Di, 29 Dez 2009) | 1 line

  Fix wrong markup.
........
2009-12-29 11:26:39 +00:00
Georg Brandl c2aad8ad15 Fix wrong markup. 2009-12-29 11:25:38 +00:00
Georg Brandl a25658b755 Improve markup of ctypes docs. 2009-12-29 11:06:31 +00:00
Georg Brandl d2ff48602a #7569: clarification about c_char_p. 2009-12-29 10:34:34 +00:00
Benjamin Peterson 0d19eaf1eb document new fix_callable behavior 2009-12-28 20:51:17 +00:00
Georg Brandl 66d8d69cd8 #7404: remove reference to non-existing example files. 2009-12-28 08:48:24 +00:00
Georg Brandl 740cdc3a9f #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring. 2009-12-28 08:34:58 +00:00
Georg Brandl fe8df4fa35 #7586: fix typo. 2009-12-28 08:01:59 +00:00
Georg Brandl 1686f3499f #7577: fix signature of PyBuffer_FillInfo(). 2009-12-28 07:59:05 +00:00
Ezio Melotti d7729339cc Merged revisions 77050 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77050 | ezio.melotti | 2009-12-25 04:12:01 +0200 (Fri, 25 Dec 2009) | 1 line

  Updated sys.flags table in Doc
........
2009-12-25 02:13:25 +00:00
Ezio Melotti 1ac1c39aca Updated sys.flags table in Doc 2009-12-25 02:12:01 +00:00
Ezio Melotti 0273c84bf0 Merged revisions 77022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77022 | ezio.melotti | 2009-12-24 04:54:53 +0200 (Thu, 24 Dec 2009) | 1 line

  Added markup and default arg, fixed example
........
2009-12-24 03:06:04 +00:00
Ezio Melotti 9c236bfb9f Added markup and default arg, fixed example 2009-12-24 02:54:53 +00:00
Senthil Kumaran a1e845084f Merged revisions 77018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77018 | senthil.kumaran | 2009-12-24 07:48:14 +0530 (Thu, 24 Dec 2009) | 3 lines

  Fix for Issue7570: Error in urllib2 example.
........
2009-12-24 02:21:03 +00:00
Senthil Kumaran f9a21f43c4 Fix for Issue7570: Error in urllib2 example. 2009-12-24 02:18:14 +00:00
Brett Cannon ca2dc4798b Make a word plural. 2009-12-22 02:37:37 +00:00
Mark Dickinson e31d300664 Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk.
Thanks Case Van Horsen for the patch.
2009-12-21 11:21:25 +00:00
Benjamin Peterson 25df3d741f Merged revisions 76927 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76927 | benjamin.peterson | 2009-12-20 09:23:22 -0600 (Sun, 20 Dec 2009) | 1 line

  builtin-ins -> builtins
........
2009-12-20 15:25:18 +00:00
Benjamin Peterson 1c2353b0d9 builtin-ins -> builtins 2009-12-20 15:23:22 +00:00
Georg Brandl 6ab5d083f2 #7381: subprocess documentation and library docstring consistency fixes. 2009-12-20 14:33:20 +00:00
Georg Brandl 819a8fa0f6 Small indentation fix. 2009-12-20 14:28:05 +00:00
Georg Brandl 0cedb4bffa #7495: backport Programming FAQ review to trunk. 2009-12-20 14:20:16 +00:00
Senthil Kumaran 0732fd952b Document the headers parameter for set_tunnel. 2009-12-20 07:29:31 +00:00
Ezio Melotti 2f4f2c15cb Merged revisions 76904 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76904 | ezio.melotti | 2009-12-20 00:41:49 +0200 (Sun, 20 Dec 2009) | 1 line

  #7388: "python".capitalize() in the Doc
........
2009-12-19 22:59:01 +00:00
Ezio Melotti 062d2b52f3 #7388: "python".capitalize() in the Doc 2009-12-19 22:41:49 +00:00
Antoine Pitrou b976726b85 Merged revisions 76896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76896 | antoine.pitrou | 2009-12-19 22:01:10 +0100 (sam., 19 déc. 2009) | 3 lines

  Issue #7545: improve documentation of the `buffering` argument in io.open().
........
2009-12-19 21:03:36 +00:00
Antoine Pitrou e812d29b52 Issue #7545: improve documentation of the `buffering` argument in io.open(). 2009-12-19 21:01:10 +00:00
Georg Brandl d86e9d7616 #7480: remove tautology. 2009-12-19 18:20:18 +00:00
Georg Brandl c51d1f0862 #7479: add note about function availability on Unices. 2009-12-19 18:16:31 +00:00
Georg Brandl 27d19030c6 #7493: review of Design FAQ by Florent Xicluna. 2009-12-19 17:43:33 +00:00
Georg Brandl 670e5969cb #7521: remove Py_GetBuildNumber(), which was removed in favor of Py_GetBuildInfo(). 2009-12-19 17:34:32 +00:00
Georg Brandl 8b10f13aaf #7527: use standard versionadded tags. 2009-12-19 17:30:28 +00:00
Mark Dickinson 5ff37ae14b Issue #3366: Add error function and complementary error function to
math module.
2009-12-19 11:07:23 +00:00
Vinay Sajip 0c6a0e3318 Issue #7529: logging: Minor correction to documentation. 2009-12-17 14:52:00 +00:00
Mark Dickinson 9cae178f21 Issue #3366: Add expm1 function to math module. Thanks Eric Smith for
testing on Windows.
2009-12-16 20:13:40 +00:00
Benjamin Peterson e667d632ec Merged revisions 76847 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76847 | benjamin.peterson | 2009-12-14 21:25:27 -0600 (Mon, 14 Dec 2009) | 1 line

  adverb
........
2009-12-15 03:28:17 +00:00
Benjamin Peterson bf306cadd6 adverb 2009-12-15 03:25:27 +00:00
R. David Murray a6fd2b2d6a Merged revisions 76819,76830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76819 | benjamin.peterson | 2009-12-13 16:15:31 -0500 (Sun, 13 Dec 2009) | 1 line

  avoid having to update this statement all the time
........
  r76830 | r.david.murray | 2009-12-13 21:50:32 -0500 (Sun, 13 Dec 2009) | 2 lines

  Clarify phrasing that explains that there are currently two branches.
........
2009-12-14 17:24:36 +00:00
R. David Murray 96228739c5 Clarify phrasing that explains that there are currently two branches. 2009-12-14 02:50:32 +00:00
Tarek Ziadé 4f786b20ab reorganized the distutils doc a bit : the MANIFEST.in template system has its own section now. This is easier to find and follow 2009-12-13 23:24:13 +00:00
Benjamin Peterson db9352f00f avoid having to update this statement all the time 2009-12-13 21:15:31 +00:00
Benjamin Peterson 6e363a5f71 Merged revisions 76785 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76785 | benjamin.peterson | 2009-12-13 08:18:08 -0600 (Sun, 13 Dec 2009) | 1 line

  add 2.6.x point releases
........
2009-12-13 14:20:15 +00:00
Benjamin Peterson 3e6eb59790 add 2.6.x point releases 2009-12-13 14:18:08 +00:00
Mark Dickinson 9be87bc992 Issue #3366: Add lgamma function to math module. 2009-12-11 17:29:33 +00:00
Raymond Hettinger a5fd24e97d Add a reverse() method to collections.deque(). 2009-12-10 06:42:54 +00:00
Tarek Ziadé a939ecd95b Issue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files 2009-12-08 08:56:49 +00:00
Andrew M. Kuchling 8f254e7f6e Typo fix; grammar fix 2009-12-08 02:37:05 +00:00
Philip Jenvey 2627553afa #7177: clarify the potential PIPE deadlock warnings 2009-12-03 02:25:54 +00:00
Antoine Pitrou 30b3b35cba Issue #7333: The `posix` module gains an `initgroups()` function providing
access to the initgroups(3) C library call on Unix systems which implement
it.  Patch by Jean-Paul Calderone.
2009-12-02 20:37:54 +00:00
Andrew M. Kuchling 5a73ff81f1 Markup fixes 2009-12-02 14:27:11 +00:00
Georg Brandl 8d8f874c19 Fix versions and spacing. 2009-11-28 11:11:50 +00:00
Gregory P. Smith 761ae0b8cc fix typo 2009-11-27 17:51:12 +00:00
Martin v. Löwis 50ea4565bd Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}. 2009-11-27 13:56:01 +00:00
Antoine Pitrou acbe3bdbab Issue #6845: Add restart support for binary upload in ftplib. The
`storbinary()` method of FTP and FTP_TLS objects gains an optional `rest`
argument.  Patch by Pablo Mouzo.

(note: the patch also adds a test for the rest argument in retrbinary())
2009-11-27 13:18:34 +00:00
Georg Brandl 2600a33219 #7400: typo. 2009-11-26 20:48:25 +00:00
Antoine Pitrou e236c3c8c2 Forgot to add a `versionadded` tag 2009-11-25 23:03:22 +00:00
Antoine Pitrou bcfaf8007d Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method returning
the total number of seconds in the duration.  Patch by Brian Quinlan.
2009-11-25 22:59:36 +00:00
Mark Dickinson 6b87f117ca Fix some documentation examples involving the repr of a float. 2009-11-24 14:27:02 +00:00
Mark Dickinson 9dd5e16c5d Issue #7117, continued: Remove substitution of %g-style formatting for
%f-style formatting, which used to occur at high precision.  Float formatting
should now be consistent between 2.7 and 3.1.
2009-11-23 20:54:09 +00:00
Georg Brandl faa25999a3 #7345: fix arguments of formatyear(). 2009-11-23 19:53:19 +00:00
Mark Dickinson 528bc134a3 Merged revisions 76460 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76460 | mark.dickinson | 2009-11-23 16:39:05 +0000 (Mon, 23 Nov 2009) | 2 lines

  Issue #7369: Fibonacci series should start at 0 in tutorial example.
........
2009-11-23 16:39:46 +00:00
Mark Dickinson f058d2dc08 Issue #7369: Fibonacci series should start at 0 in tutorial example. 2009-11-23 16:39:05 +00:00
Jesse Noller de27e227ac Merged revisions 76433 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76433 | jesse.noller | 2009-11-21 09:01:56 -0500 (Sat, 21 Nov 2009) | 1 line

  issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing.
........
2009-11-21 14:23:46 +00:00
Jesse Noller 6c3767445c issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing. 2009-11-21 14:01:56 +00:00
R. David Murray 4823961596 Issue 7363: fix indentation in socketserver udpserver example. 2009-11-20 13:29:43 +00:00
Raymond Hettinger 1aef4440fb Fix docstrings for itertools combinatoric functions. 2009-11-19 01:26:23 +00:00
Raymond Hettinger 9eac119ba8 Fix docstrings for itertools combinatoric functions. 2009-11-19 01:22:04 +00:00
Antoine Pitrou c029942ea0 Mention Giampolo R's new FTP TLS support in the what's new file 2009-11-18 20:20:46 +00:00
Georg Brandl 1136ff541e Fix markup. 2009-11-18 20:05:15 +00:00
Georg Brandl 8c18a47e77 upcase Python 2009-11-18 19:39:14 +00:00
Georg Brandl b9706da528 Merged revisions 76366 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76366 | georg.brandl | 2009-11-18 18:52:23 +0000 (Mi, 18 Nov 2009) | 1 line

  Make separate section for deprecations in 2.6 whatsnew.
........
2009-11-18 18:54:21 +00:00
Georg Brandl 0516f81386 Make separate section for deprecations in 2.7 whatsnew. 2009-11-18 18:52:35 +00:00
Georg Brandl a17f60242f Make separate section for deprecations in 2.6 whatsnew. 2009-11-18 18:52:23 +00:00
Georg Brandl d3571c8d59 #7302: fix link. 2009-11-16 16:44:05 +00:00
Antoine Pitrou ccd5e02d2b Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP using
TLS or SSL.  Patch by Giampaolo Rodola'.
2009-11-15 17:22:09 +00:00
Mark Dickinson 82864d1ab1 Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,
PyFormat_FromStringV and PyErr_Format.
2009-11-15 16:18:58 +00:00
Antoine Pitrou d5b34d4597 Issue #4969: The mimetypes module now reads the MIME database from
the registry under Windows.  Patch by Gabriel Genellina.
2009-11-15 14:10:48 +00:00
Nick Coghlan 49868cb686 Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation. 2009-11-15 07:30:34 +00:00
R. David Murray 384a4fc0e6 Merged revisions 76190 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76190 | r.david.murray | 2009-11-10 13:58:02 -0500 (Tue, 10 Nov 2009) | 3 lines

  Update the FAQ entry that explains that assignments in the local scope
  shadow variables in the outer scope (issue 7290).
........
2009-11-14 22:08:02 +00:00
Georg Brandl b6fb8dcbce Fix terminology. 2009-11-14 11:50:51 +00:00
Benjamin Peterson af472026ff Merged revisions 76255 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76255 | benjamin.peterson | 2009-11-13 17:11:54 -0600 (Fri, 13 Nov 2009) | 1 line

  use Sphinx 0.6.3
........
2009-11-13 23:14:55 +00:00
Benjamin Peterson cde5115f26 use Sphinx 0.6.3 2009-11-13 23:11:54 +00:00
Benjamin Peterson 2fb77bd6f5 revert r76243; I was right, actually :) 2009-11-13 22:56:00 +00:00
Benjamin Peterson c4a346cc55 never mind about eval mode in this case 2009-11-13 22:17:17 +00:00
Benjamin Peterson e36199b49d fix several compile() issues by translating newlines in the tokenizer 2009-11-12 23:39:44 +00:00
Ezio Melotti 5a6f4218f0 fix highlight in the datetime example 2009-11-12 10:35:52 +00:00
Ezio Melotti c4cd6d3765 fix highlight in the datetime example 2009-11-12 09:10:02 +00:00
Georg Brandl 7232d41569 Give the profile module a module directive. 2009-11-12 08:29:46 +00:00
Raymond Hettinger 610326d48a Show example of how to make a sorted dictionary 2009-11-10 19:35:55 +00:00
R. David Murray 890643843d Update the FAQ entry that explains that assignments in the local scope
shadow variables in the outer scope (issue 7290).
2009-11-10 18:58:02 +00:00
R. David Murray 754d770ed3 Merged revisions 76163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76163 | r.david.murray | 2009-11-09 09:18:14 -0500 (Mon, 09 Nov 2009) | 2 lines

  Remove redundant sentence.
........
2009-11-09 14:20:12 +00:00
R. David Murray a5dcf2125f Remove redundant sentence. 2009-11-09 14:18:14 +00:00
Benjamin Peterson 0ac6942a76 discuss how to use -p 2009-11-09 04:10:53 +00:00
Georg Brandl 1a22e87a30 #7271: fix typo. 2009-11-07 08:26:07 +00:00
Georg Brandl efc285880c #7259: show correct equivalent for operator.i* operations in docstring; fix minor issues in operator docs. 2009-11-04 07:38:12 +00:00
Georg Brandl 3e13bd6630 Merged revisions 76095 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76095 | georg.brandl | 2009-11-03 18:34:27 +0000 (Di, 03 Nov 2009) | 1 line

  #7256: add versionadded tags for functions copied from cgi.
........
2009-11-03 18:35:03 +00:00
Georg Brandl a6714b2887 #7256: add versionadded tags for functions copied from cgi. 2009-11-03 18:34:27 +00:00
Mark Dickinson 675b33a702 Merged revisions 76082 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76082 | mark.dickinson | 2009-11-03 16:26:14 +0000 (Tue, 03 Nov 2009) | 1 line

  Fix doc typo reported by Arfrever.
........
2009-11-03 16:27:23 +00:00
Mark Dickinson 5b54432b1d Fix doc typo reported by Arfrever. 2009-11-03 16:26:14 +00:00
Skip Montanaro d823682322 typo (space-o?) 2009-11-03 02:44:50 +00:00
Skip Montanaro 6418577bb5 typo (space-o?) 2009-11-03 02:43:59 +00:00
Mark Dickinson 09823a2e21 Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double. 2009-10-31 09:42:39 +00:00
Antoine Pitrou 2c970a2ba2 Remove official documentation entry for thread._count() and make the
docstring more descriptive instead.
2009-10-30 22:19:09 +00:00
Antoine Pitrou 59c44f36e0 Issue #7222: Make thread "reaping" more reliable so that reference
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:hread._count().
2009-10-30 17:07:08 +00:00
Vinay Sajip 602beb88d2 Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration. 2009-10-28 23:28:16 +00:00