Commit Graph

12122 Commits

Author SHA1 Message Date
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
Vinay Sajip a7d44001b1 Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration. 2009-10-28 23:28:16 +00:00
Tarek Ziadé 40b998b05d Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils 2009-10-27 23:06:10 +00:00
Georg Brandl 0f23fcf519 Create the function before using it. 2009-10-27 20:13:06 +00:00
Georg Brandl f004d9dc84 Merged revisions 73206,73232,73299,73683,74020,74185,74544,74643,74647,74817,74838-74839,74865,74946,75402,75459,75604,75696 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73206 | georg.brandl | 2009-06-04 11:15:12 +0200 (Do, 04 Jun 2009) | 1 line

  #3584: ignore trailing newlines when placing the caret for a SyntaxError location.
........
  r73232 | georg.brandl | 2009-06-04 20:59:58 +0200 (Do, 04 Jun 2009) | 1 line

  Add test for #3684.
........
  r73299 | georg.brandl | 2009-06-08 20:41:36 +0200 (Mo, 08 Jun 2009) | 1 line

  Typo fix.
........
  r73683 | georg.brandl | 2009-06-29 16:44:49 +0200 (Mo, 29 Jun 2009) | 1 line

  Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
........
  r74020 | georg.brandl | 2009-07-16 09:18:07 +0200 (Do, 16 Jul 2009) | 1 line

  #5910: fix kqueue for calls with more than one event.
........
  r74185 | georg.brandl | 2009-07-23 11:17:09 +0200 (Do, 23 Jul 2009) | 1 line

  Fix the "pylocals" gdb command.
........
  r74544 | georg.brandl | 2009-08-24 19:12:30 +0200 (Mo, 24 Aug 2009) | 1 line

  #6775: fix python.org URLs in README.
........
  r74643 | georg.brandl | 2009-09-04 08:59:20 +0200 (Fr, 04 Sep 2009) | 2 lines

  Issue #2666: Handle BROWSER environment variable properly for unknown browser names in the webbrowser module.
........
  r74647 | georg.brandl | 2009-09-04 10:17:04 +0200 (Fr, 04 Sep 2009) | 2 lines

  Issue #5275: In Cookie's Cookie.load(), properly handle non-string arguments as documented.
........
  r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line

  Make deprecation notices as visible as warnings are right now.
........
  r74838 | georg.brandl | 2009-09-16 18:22:12 +0200 (Mi, 16 Sep 2009) | 1 line

  Remove some more boilerplate from the actual tests in test_pdb.
........
  r74839 | georg.brandl | 2009-09-16 18:36:39 +0200 (Mi, 16 Sep 2009) | 1 line

  Make the pdb displayhook compatible with the standard displayhook: do not print Nones. Add a test for that.
........
  r74865 | georg.brandl | 2009-09-17 09:49:37 +0200 (Do, 17 Sep 2009) | 1 line

  #6912: add "with" block support to pindent.
........
  r74946 | georg.brandl | 2009-09-19 10:43:16 +0200 (Sa, 19 Sep 2009) | 1 line

  Update bug tracker reference.
........
  r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line

  #7125: fix typo.
........
  r75459 | georg.brandl | 2009-10-17 10:57:43 +0200 (Sa, 17 Okt 2009) | 1 line

  Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__.
........
  r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line

  Fix stylesheet for multi-paragraph impl-details.
........
  r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line

  Fix a demo.
........
2009-10-27 15:39:53 +00:00
Georg Brandl a7fef6aaf0 Merged revisions 75795 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75795 | georg.brandl | 2009-10-27 16:10:22 +0100 (Di, 27 Okt 2009) | 1 line

  Fix a strange mis-edit.
........
2009-10-27 15:10:48 +00:00
Georg Brandl 5098bc9448 Fix a strange mis-edit. 2009-10-27 15:10:22 +00:00
Georg Brandl 5d2eb34f5c Merged revisions 75363,75365,75376,75392,75394,75403,75418,75484,75572,75580,75590,75592,75594-75596,75600,75602-75603,75605-75607,75610-75613,75616-75617,75623,75627,75647 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75363 | georg.brandl | 2009-10-11 20:31:23 +0200 (So, 11 Okt 2009) | 1 line

  Add the Python FAQ lists to the documentation.  Copied from sandbox/faq.  Many thanks to AMK for the preparation work.
........
  r75365 | georg.brandl | 2009-10-11 22:16:16 +0200 (So, 11 Okt 2009) | 1 line

  Fix broken links found by "make linkcheck".  scipy.org seems to be done right now, so I could not verify links going there.
........
  r75376 | benjamin.peterson | 2009-10-12 03:26:07 +0200 (Mo, 12 Okt 2009) | 1 line

  platform we don't care about
........
  r75392 | andrew.kuchling | 2009-10-13 18:11:49 +0200 (Di, 13 Okt 2009) | 1 line

  Various link, textual, and markup fixes
........
  r75394 | georg.brandl | 2009-10-13 20:10:59 +0200 (Di, 13 Okt 2009) | 1 line

  Fix markup.
........
  r75403 | georg.brandl | 2009-10-14 17:57:46 +0200 (Mi, 14 Okt 2009) | 1 line

  #7126: os.environ changes *do* take effect in subprocesses started with os.system().
........
  r75418 | georg.brandl | 2009-10-14 20:48:32 +0200 (Mi, 14 Okt 2009) | 1 line

  #7116: str.join() takes an iterable.
........
  r75484 | georg.brandl | 2009-10-18 09:58:12 +0200 (So, 18 Okt 2009) | 1 line

  Fix missing word.
........
  r75572 | benjamin.peterson | 2009-10-20 23:55:17 +0200 (Di, 20 Okt 2009) | 1 line

  clarify buffer arg #7178
........
  r75580 | georg.brandl | 2009-10-21 09:15:59 +0200 (Mi, 21 Okt 2009) | 1 line

  #7170: fix explanation about non-weakrefable builtin types.
........
  r75590 | benjamin.peterson | 2009-10-22 04:36:47 +0200 (Do, 22 Okt 2009) | 1 line

  rewrite to be nice to other implementations
........
  r75592 | georg.brandl | 2009-10-22 09:05:48 +0200 (Do, 22 Okt 2009) | 1 line

  Fix punctuation.
........
  r75594 | georg.brandl | 2009-10-22 09:56:02 +0200 (Do, 22 Okt 2009) | 1 line

  Fix markup.
........
  r75595 | georg.brandl | 2009-10-22 09:56:56 +0200 (Do, 22 Okt 2009) | 1 line

  Fix duplicate target.
........
  r75596 | georg.brandl | 2009-10-22 10:05:04 +0200 (Do, 22 Okt 2009) | 1 line

  Add a new directive marking up implementation details and start using it.
........
  r75600 | georg.brandl | 2009-10-22 13:01:46 +0200 (Do, 22 Okt 2009) | 1 line

  Make it more robust.
........
  r75602 | georg.brandl | 2009-10-22 13:28:06 +0200 (Do, 22 Okt 2009) | 1 line

  Document new directive.
........
  r75603 | georg.brandl | 2009-10-22 13:28:23 +0200 (Do, 22 Okt 2009) | 1 line

  Allow short form with text as argument.
........
  r75605 | georg.brandl | 2009-10-22 13:48:10 +0200 (Do, 22 Okt 2009) | 1 line

  Use "impl-detail" directive where applicable.
........
  r75606 | georg.brandl | 2009-10-22 17:00:06 +0200 (Do, 22 Okt 2009) | 1 line

  #6324: membership test tries iteration via __iter__.
........
  r75607 | georg.brandl | 2009-10-22 17:04:09 +0200 (Do, 22 Okt 2009) | 1 line

  #7088: document new functions in signal as Unix-only.
........
  r75610 | georg.brandl | 2009-10-22 17:27:24 +0200 (Do, 22 Okt 2009) | 1 line

  Reorder __slots__ fine print and add a clarification.
........
  r75611 | georg.brandl | 2009-10-22 17:42:32 +0200 (Do, 22 Okt 2009) | 1 line

  #7035: improve docs of the various <method>_errors() functions, and give them docstrings.
........
  r75612 | georg.brandl | 2009-10-22 17:52:15 +0200 (Do, 22 Okt 2009) | 1 line

  #7156: document curses as Unix-only.
........
  r75613 | georg.brandl | 2009-10-22 17:54:35 +0200 (Do, 22 Okt 2009) | 1 line

  #6977: getopt does not support optional option arguments.
........
  r75616 | georg.brandl | 2009-10-22 18:17:05 +0200 (Do, 22 Okt 2009) | 1 line

  Add proper references.
........
  r75617 | georg.brandl | 2009-10-22 18:20:55 +0200 (Do, 22 Okt 2009) | 1 line

  Make printout margin important.
........
  r75623 | georg.brandl | 2009-10-23 10:14:44 +0200 (Fr, 23 Okt 2009) | 1 line

  #7188: fix optionxform() docs.
........
  r75627 | fred.drake | 2009-10-23 15:04:51 +0200 (Fr, 23 Okt 2009) | 2 lines

  add further note about what's passed to optionxform
........
  r75647 | georg.brandl | 2009-10-24 12:04:19 +0200 (Sa, 24 Okt 2009) | 1 line

  Fix markup.
........
2009-10-27 15:08:27 +00:00
Georg Brandl 8a85945151 Merged revisions 74861-74863,74876,74896,74930,74933,74952-74953,75015,75019,75260-75263,75265-75266,75289 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74861 | benjamin.peterson | 2009-09-17 05:18:28 +0200 (Do, 17 Sep 2009) | 1 line

  pep 8 defaults
........
  r74862 | brett.cannon | 2009-09-17 05:24:45 +0200 (Do, 17 Sep 2009) | 1 line

  Note in the intro to Extending... that ctypes can be a simpler, more portable solution than custom C code.
........
  r74863 | benjamin.peterson | 2009-09-17 05:27:33 +0200 (Do, 17 Sep 2009) | 1 line

  rationalize a bit
........
  r74876 | georg.brandl | 2009-09-17 18:15:53 +0200 (Do, 17 Sep 2009) | 1 line

  #6932: remove paragraph that advises relying on __del__ being called.
........
  r74896 | georg.brandl | 2009-09-18 09:22:41 +0200 (Fr, 18 Sep 2009) | 1 line

  #6936: for interactive use, quit() is just fine.
........
  r74930 | georg.brandl | 2009-09-18 23:21:41 +0200 (Fr, 18 Sep 2009) | 1 line

  #6925: rewrite docs for locals() and vars() a bit.
........
  r74933 | georg.brandl | 2009-09-18 23:35:59 +0200 (Fr, 18 Sep 2009) | 1 line

  #6930: clarify description about byteorder handling in UTF decoder routines.
........
  r74952 | georg.brandl | 2009-09-19 12:42:34 +0200 (Sa, 19 Sep 2009) | 1 line

  #6946: fix duplicate index entries for datetime classes.
........
  r74953 | georg.brandl | 2009-09-19 14:04:16 +0200 (Sa, 19 Sep 2009) | 1 line

  Fix references to threading.enumerate().
........
  r75015 | georg.brandl | 2009-09-22 12:55:08 +0200 (Di, 22 Sep 2009) | 1 line

  Fix encoding name.
........
  r75019 | vinay.sajip | 2009-09-22 19:23:41 +0200 (Di, 22 Sep 2009) | 1 line

  Fixed a typo, and added sections on optimization and using arbitrary objects as messages.
........
  r75260 | andrew.kuchling | 2009-10-05 23:24:20 +0200 (Mo, 05 Okt 2009) | 1 line

  Wording fix
........
  r75261 | andrew.kuchling | 2009-10-05 23:24:35 +0200 (Mo, 05 Okt 2009) | 1 line

  Fix narkup
........
  r75262 | andrew.kuchling | 2009-10-05 23:25:03 +0200 (Mo, 05 Okt 2009) | 1 line

  Document 'skip' parameter to constructor
........
  r75263 | andrew.kuchling | 2009-10-05 23:25:35 +0200 (Mo, 05 Okt 2009) | 1 line

  Note side benefit of socket.create_connection()
........
  r75265 | andrew.kuchling | 2009-10-06 00:31:11 +0200 (Di, 06 Okt 2009) | 1 line

  Reword sentence
........
  r75266 | andrew.kuchling | 2009-10-06 00:32:48 +0200 (Di, 06 Okt 2009) | 1 line

  Use standard comma punctuation; reword some sentences in the docs
........
  r75289 | mark.dickinson | 2009-10-08 22:02:25 +0200 (Do, 08 Okt 2009) | 2 lines

  Issue #7051:  Clarify behaviour of 'g' and 'G'-style formatting.
........
2009-10-27 14:59:26 +00:00
Georg Brandl 5be70d44da Merged revisions 74492,74531,74545-74550,74553-74555,74588,74603,74608,74614,74616-74618,74631-74633,74652-74653,74666,74671,74737,74739,74779,74781-74782,74784,74791,74793,74818-74820,74822,74832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74492 | r.david.murray | 2009-08-17 21:26:49 +0200 (Mo, 17 Aug 2009) | 2 lines

  Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation.
........
  r74531 | vinay.sajip | 2009-08-21 00:04:32 +0200 (Fr, 21 Aug 2009) | 1 line

  Added section on exceptions raised during logging.
........
  r74545 | georg.brandl | 2009-08-24 19:14:29 +0200 (Mo, 24 Aug 2009) | 1 line

  #6772: mention utf-8 as utf8 alias.
........
  r74546 | georg.brandl | 2009-08-24 19:20:40 +0200 (Mo, 24 Aug 2009) | 1 line

  #6725: spell "namespace" consistently.
........
  r74547 | georg.brandl | 2009-08-24 19:22:05 +0200 (Mo, 24 Aug 2009) | 1 line

  #6718: fix example.
........
  r74548 | georg.brandl | 2009-08-24 19:24:27 +0200 (Mo, 24 Aug 2009) | 1 line

  #6677: mention "deleting" as an alias for removing files.
........
  r74549 | benjamin.peterson | 2009-08-24 19:42:36 +0200 (Mo, 24 Aug 2009) | 1 line

  fix pdf building by teaching latex the right encoding package
........
  r74550 | georg.brandl | 2009-08-24 19:48:40 +0200 (Mo, 24 Aug 2009) | 1 line

  #6677: note that rmdir only removes empty directories.
........
  r74553 | r.david.murray | 2009-08-27 03:04:59 +0200 (Do, 27 Aug 2009) | 2 lines

  Remove leftover text from end of sentence.
........
  r74554 | georg.brandl | 2009-08-27 20:59:02 +0200 (Do, 27 Aug 2009) | 1 line

  Typo fix.
........
  r74555 | georg.brandl | 2009-08-27 21:02:43 +0200 (Do, 27 Aug 2009) | 1 line

  #6787: reference fix.
........
  r74588 | georg.brandl | 2009-08-30 10:35:01 +0200 (So, 30 Aug 2009) | 1 line

  #6803: fix old name.
........
  r74603 | georg.brandl | 2009-08-31 08:38:29 +0200 (Mo, 31 Aug 2009) | 1 line

  other -> others where multiple arguments are accepted.
........
  r74608 | senthil.kumaran | 2009-08-31 18:40:27 +0200 (Mo, 31 Aug 2009) | 3 lines

  Doc fix for the issue2637.
........
  r74614 | georg.brandl | 2009-09-01 09:40:54 +0200 (Di, 01 Sep 2009) | 1 line

  #6813: better documentation for numberless string formats.
........
  r74616 | georg.brandl | 2009-09-01 09:46:26 +0200 (Di, 01 Sep 2009) | 1 line

  #6808: clarification.
........
  r74617 | georg.brandl | 2009-09-01 09:53:37 +0200 (Di, 01 Sep 2009) | 1 line

  #6765: hint that log(x, base) is not very sophisticated.
........
  r74618 | georg.brandl | 2009-09-01 10:00:47 +0200 (Di, 01 Sep 2009) | 1 line

  #6810: add a link to the section about frame objects instead of just a description where to find it.
........
  r74631 | georg.brandl | 2009-09-02 22:37:16 +0200 (Mi, 02 Sep 2009) | 1 line

  #6821: fix signature of PyBuffer_Release().
........
  r74632 | georg.brandl | 2009-09-03 09:27:26 +0200 (Do, 03 Sep 2009) | 1 line

  #6828: fix wrongly highlighted blocks.
........
  r74633 | georg.brandl | 2009-09-03 14:31:39 +0200 (Do, 03 Sep 2009) | 1 line

  #6757: complete the list of types that marshal can serialize.
........
  r74652 | georg.brandl | 2009-09-04 13:25:37 +0200 (Fr, 04 Sep 2009) | 1 line

  #6756: add some info about the "acct" parameter.
........
  r74653 | georg.brandl | 2009-09-04 13:32:18 +0200 (Fr, 04 Sep 2009) | 1 line

  #6777: dont discourage usage of Exception.args or promote usage of Exception.message.
........
  r74666 | georg.brandl | 2009-09-05 11:04:09 +0200 (Sa, 05 Sep 2009) | 1 line

  #6841: remove duplicated word.
........
  r74671 | georg.brandl | 2009-09-05 18:47:17 +0200 (Sa, 05 Sep 2009) | 1 line

  #6843: add link from filterwarnings to where the meaning of the arguments is covered.
........
  r74737 | georg.brandl | 2009-09-09 18:49:13 +0200 (Mi, 09 Sep 2009) | 1 line

  Properly document copy and deepcopy as functions.
........
  r74739 | georg.brandl | 2009-09-11 09:55:20 +0200 (Fr, 11 Sep 2009) | 1 line

  Move function back to its section.
........
  r74779 | michael.foord | 2009-09-13 18:13:36 +0200 (So, 13 Sep 2009) | 1 line

  Change to tutorial wording for reading text / binary files on Windows. Issue #6301.
........
  r74781 | michael.foord | 2009-09-13 18:46:19 +0200 (So, 13 Sep 2009) | 1 line

  Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712.
........
  r74782 | michael.foord | 2009-09-13 19:07:46 +0200 (So, 13 Sep 2009) | 1 line

  Tutorial tweaks. Issue 6849.
........
  r74784 | georg.brandl | 2009-09-13 20:15:07 +0200 (So, 13 Sep 2009) | 1 line

  Typo fix.
........
  r74791 | georg.brandl | 2009-09-14 16:08:54 +0200 (Mo, 14 Sep 2009) | 1 line

  #6574: list the future features in a table.
........
  r74793 | georg.brandl | 2009-09-14 16:50:47 +0200 (Mo, 14 Sep 2009) | 1 line

  #6908: fix association of hashlib hash attributes.
........
  r74818 | georg.brandl | 2009-09-16 11:23:04 +0200 (Mi, 16 Sep 2009) | 1 line

  #6880: add reference to classes section in exceptions section, which comes earlier.
........
  r74819 | georg.brandl | 2009-09-16 11:24:57 +0200 (Mi, 16 Sep 2009) | 1 line

  #6876: fix base class constructor invocation in example.
........
  r74820 | georg.brandl | 2009-09-16 11:30:48 +0200 (Mi, 16 Sep 2009) | 1 line

  #6891: comment out dead link to Unicode article.
........
  r74822 | georg.brandl | 2009-09-16 12:12:06 +0200 (Mi, 16 Sep 2009) | 1 line

  #5621: refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign.
........
  r74832 | georg.brandl | 2009-09-16 17:57:46 +0200 (Mi, 16 Sep 2009) | 1 line

  Rewrap long lines.
........
2009-10-27 14:50:20 +00:00
Georg Brandl 46e9daa3ae Merged revisions 74210,74239,74252-74253,74256,74258-74261,74332-74333,74404,74411,74445,74465,74467,74488 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74210 | georg.brandl | 2009-07-26 16:44:23 +0200 (So, 26 Jul 2009) | 1 line

  Move member descriptions inside the classes.
........
  r74239 | georg.brandl | 2009-07-28 20:55:32 +0200 (Di, 28 Jul 2009) | 1 line

  Clarify quote_plus() usage.
........
  r74252 | georg.brandl | 2009-07-29 18:06:31 +0200 (Mi, 29 Jul 2009) | 1 line

  #6593: fix link targets.
........
  r74253 | georg.brandl | 2009-07-29 18:09:17 +0200 (Mi, 29 Jul 2009) | 1 line

  #6591: add reference to ioctl in fcntl module for platforms other than Windows.
........
  r74256 | georg.brandl | 2009-07-29 18:32:30 +0200 (Mi, 29 Jul 2009) | 1 line

  #6336: Add nb_divide.
........
  r74258 | georg.brandl | 2009-07-29 18:57:05 +0200 (Mi, 29 Jul 2009) | 1 line

  Add a link to readline, and mention IPython and bpython.
........
  r74259 | georg.brandl | 2009-07-29 19:07:21 +0200 (Mi, 29 Jul 2009) | 1 line

  Fix some markup and small factual glitches found by M. Markert.
........
  r74260 | georg.brandl | 2009-07-29 19:15:20 +0200 (Mi, 29 Jul 2009) | 1 line

  Fix a few markup glitches.
........
  r74261 | georg.brandl | 2009-07-29 19:50:25 +0200 (Mi, 29 Jul 2009) | 1 line

  Rewrite the section about classes a bit; mostly tidbits, and a larger update to the section about "private" variables to reflect the Pythonic consensus better.
........
  r74332 | georg.brandl | 2009-08-06 19:23:21 +0200 (Do, 06 Aug 2009) | 1 line

  Fix punctuation and one copy-paste error.
........
  r74333 | georg.brandl | 2009-08-06 19:43:55 +0200 (Do, 06 Aug 2009) | 1 line

  #6658: fix two typos.
........
  r74404 | georg.brandl | 2009-08-13 14:05:52 +0200 (Do, 13 Aug 2009) | 1 line

  Use locale.format_string() for more than one specifier.
........
  r74411 | georg.brandl | 2009-08-13 14:57:25 +0200 (Do, 13 Aug 2009) | 2 lines

  Remove potentially confusing sentence in __mangling description.
........
  r74445 | vinay.sajip | 2009-08-14 13:33:54 +0200 (Fr, 14 Aug 2009) | 1 line

  Added versionchanged notices for optional 'delay' parameter to file handler classes.
........
  r74465 | vinay.sajip | 2009-08-16 01:23:12 +0200 (So, 16 Aug 2009) | 1 line

  Added section on logging to one file from multiple processes.
........
  r74467 | vinay.sajip | 2009-08-16 01:34:47 +0200 (So, 16 Aug 2009) | 1 line

  Refined section on logging to one file from multiple processes.
........
  r74488 | vinay.sajip | 2009-08-17 15:14:37 +0200 (Mo, 17 Aug 2009) | 1 line

  Further refined section on logging to one file from multiple processes.
........
2009-10-27 14:41:50 +00:00
Georg Brandl 4ae4f876a2 Merged revisions 74209 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74209 | georg.brandl | 2009-07-26 16:37:28 +0200 (So, 26 Jul 2009) | 1 line

  builtin -> built-in.
........
2009-10-27 14:37:48 +00:00
Georg Brandl 0dfdf006a6 Merged revisions 74207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line

  #6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
........
2009-10-27 14:36:50 +00:00
Georg Brandl cda25a1af6 Merged revisions 74008,74021-74022,74074-74075,74077,74148,74179,74188,74192-74194,74200,74205 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74008 | benjamin.peterson | 2009-07-15 02:46:42 +0200 (Mi, 15 Jul 2009) | 1 line

  update year
........
  r74021 | georg.brandl | 2009-07-16 09:33:04 +0200 (Do, 16 Jul 2009) | 1 line

  #6486: start with built in functions rather than "built in objects".
........
  r74022 | georg.brandl | 2009-07-16 09:38:35 +0200 (Do, 16 Jul 2009) | 1 line

  #6481: fix typo in os.system() replacement.
........
  r74074 | georg.brandl | 2009-07-18 11:03:10 +0200 (Sa, 18 Jul 2009) | 1 line

  #6513: fix example code: warning categories are classes, not instances.
........
  r74075 | georg.brandl | 2009-07-18 11:06:31 +0200 (Sa, 18 Jul 2009) | 1 line

  #6505: fix typos.
........
  r74077 | georg.brandl | 2009-07-18 11:43:40 +0200 (Sa, 18 Jul 2009) | 1 line

  #6489: fix an ambiguity in getiterator() documentation.
........
  r74148 | ezio.melotti | 2009-07-21 22:18:27 +0200 (Di, 21 Jul 2009) | 1 line

  #6536 fixed typo
........
  r74179 | ezio.melotti | 2009-07-22 23:08:49 +0200 (Mi, 22 Jul 2009) | 1 line

  #6423 has_key -> in
........
  r74188 | benjamin.peterson | 2009-07-23 16:25:31 +0200 (Do, 23 Jul 2009) | 1 line

  use bools
........
  r74192 | georg.brandl | 2009-07-24 18:28:38 +0200 (Fr, 24 Jul 2009) | 1 line

  Fix arg types of et#.
........
  r74193 | georg.brandl | 2009-07-24 18:46:38 +0200 (Fr, 24 Jul 2009) | 1 line

  Dont put "void" in signature for nullary functions.
........
  r74194 | georg.brandl | 2009-07-24 22:09:46 +0200 (Fr, 24 Jul 2009) | 1 line

  #6564: fix section about the two raise syntaxes.
........
  r74200 | georg.brandl | 2009-07-25 15:02:15 +0200 (Sa, 25 Jul 2009) | 1 line

  #6571: add index entries for more operators.
........
  r74205 | georg.brandl | 2009-07-26 15:36:39 +0200 (So, 26 Jul 2009) | 1 line

  #6576: fix cross-refs in re docs.
........
2009-10-27 14:34:21 +00:00
Georg Brandl f18d5cea53 Merged revisions 73286,73294,73296,73459,73462-73463,73544,73576-73577,73595-73596,73693-73694,73704-73705,73707,73713,73937-73940,73945,73951,73979 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73286 | georg.brandl | 2009-06-08 09:57:35 +0200 (Mo, 08 Jun 2009) | 1 line

  Remove period from end of headings.
........
  r73294 | georg.brandl | 2009-06-08 15:34:52 +0200 (Mo, 08 Jun 2009) | 1 line

  #6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().
........
  r73296 | georg.brandl | 2009-06-08 18:03:41 +0200 (Mo, 08 Jun 2009) | 1 line

  #6238: add fillchar to string.just function family.
........
  r73459 | raymond.hettinger | 2009-06-17 03:43:47 +0200 (Mi, 17 Jun 2009) | 1 line

  Add usage note.
........
  r73462 | georg.brandl | 2009-06-17 11:36:21 +0200 (Mi, 17 Jun 2009) | 1 line

  #6295: clarify blocking behavior of getch().
........
  r73463 | georg.brandl | 2009-06-17 11:43:31 +0200 (Mi, 17 Jun 2009) | 1 line

  #6255: document PyInt_FromSize_t.
........
  r73544 | georg.brandl | 2009-06-24 08:41:19 +0200 (Mi, 24 Jun 2009) | 1 line

  #6332: fix word dupes throughout the source.
........
  r73576 | benjamin.peterson | 2009-06-27 01:37:06 +0200 (Sa, 27 Jun 2009) | 1 line

  document is_declared_global()
........
  r73577 | benjamin.peterson | 2009-06-27 16:16:23 +0200 (Sa, 27 Jun 2009) | 1 line

  link to extensive generator docs in the reference manual
........
  r73595 | ezio.melotti | 2009-06-28 01:45:39 +0200 (So, 28 Jun 2009) | 1 line

  stmt and setup can contain multiple statements, see #5896
........
  r73596 | ezio.melotti | 2009-06-28 02:07:45 +0200 (So, 28 Jun 2009) | 1 line

  Fixed a wrong apostrophe
........
  r73693 | jesse.noller | 2009-06-29 20:20:34 +0200 (Mo, 29 Jun 2009) | 1 line

  Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons
........
  r73694 | jesse.noller | 2009-06-29 20:24:26 +0200 (Mo, 29 Jun 2009) | 1 line

  Issue 5740: multiprocessing.connection.* authkey fixes
........
  r73704 | georg.brandl | 2009-06-30 18:15:43 +0200 (Di, 30 Jun 2009) | 1 line

  #6376: fix copy-n-paste oversight.
........
  r73705 | georg.brandl | 2009-06-30 18:17:28 +0200 (Di, 30 Jun 2009) | 1 line

  #6374: add a bit of explanation about shell=True on Windows.
........
  r73707 | georg.brandl | 2009-06-30 18:35:11 +0200 (Di, 30 Jun 2009) | 1 line

  #6371: fix link targets.
........
  r73713 | ezio.melotti | 2009-07-01 00:56:16 +0200 (Mi, 01 Jul 2009) | 1 line

  Fixed a backslash that was not supposed to be there
........
  r73937 | georg.brandl | 2009-07-11 12:12:36 +0200 (Sa, 11 Jul 2009) | 1 line

  Fix style.
........
  r73938 | georg.brandl | 2009-07-11 12:14:54 +0200 (Sa, 11 Jul 2009) | 1 line

  #6446: fix import_spam() function to use correct error and reference handling.
........
  r73939 | georg.brandl | 2009-07-11 12:18:10 +0200 (Sa, 11 Jul 2009) | 1 line

  #6448: clarify docs for find_module().
........
  r73940 | georg.brandl | 2009-07-11 12:37:38 +0200 (Sa, 11 Jul 2009) | 1 line

  #6430: add note about size of "u" type.
........
  r73945 | georg.brandl | 2009-07-11 12:51:31 +0200 (Sa, 11 Jul 2009) | 1 line

  #6456: clarify the meaning of constants used as arguments to nl_langinfo().
........
  r73951 | georg.brandl | 2009-07-11 16:23:38 +0200 (Sa, 11 Jul 2009) | 2 lines

  array.array is actually a class.
........
  r73979 | benjamin.peterson | 2009-07-12 18:56:54 +0200 (So, 12 Jul 2009) | 1 line

  add versionadded
........
2009-10-27 14:29:22 +00:00
Georg Brandl a3c242c19d Merged revisions 72558,72745,72750,72876,73042,73045-73048,73069,73089,73163,73186,73213,73215,73217,73257-73258,73260 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72558 | benjamin.peterson | 2009-05-11 01:52:09 +0200 (Mo, 11 Mai 2009) | 1 line

  sys.setdefaultencoding() strikes me as a bad example
........
  r72745 | benjamin.peterson | 2009-05-17 16:16:29 +0200 (So, 17 Mai 2009) | 1 line

  ignore .rst files in sphinx its self
........
  r72750 | benjamin.peterson | 2009-05-17 18:59:27 +0200 (So, 17 Mai 2009) | 1 line

  chop off slash
........
  r72876 | benjamin.peterson | 2009-05-23 22:59:09 +0200 (Sa, 23 Mai 2009) | 1 line

  remove mention of old ctypes version
........
  r73042 | benjamin.peterson | 2009-05-30 05:10:52 +0200 (Sa, 30 Mai 2009) | 1 line

  no fdatasync on macos
........
  r73045 | georg.brandl | 2009-05-30 09:26:04 +0200 (Sa, 30 Mai 2009) | 1 line

  #6146: fix markup bug.
........
  r73046 | georg.brandl | 2009-05-30 09:31:25 +0200 (Sa, 30 Mai 2009) | 1 line

  Use preferred form of raising exceptions.
........
  r73047 | georg.brandl | 2009-05-30 12:33:23 +0200 (Sa, 30 Mai 2009) | 1 line

  Fix some more small markup problems.
........
  r73048 | georg.brandl | 2009-05-30 12:34:25 +0200 (Sa, 30 Mai 2009) | 1 line

  Fix markup problem.
........
  r73069 | benjamin.peterson | 2009-05-31 02:42:42 +0200 (So, 31 Mai 2009) | 1 line

  fix signature
........
  r73089 | andrew.kuchling | 2009-06-01 02:14:19 +0200 (Mo, 01 Jun 2009) | 1 line

  The class for regexes isn't called RegexObject any more; correct the text
........
  r73163 | georg.brandl | 2009-06-03 09:25:35 +0200 (Mi, 03 Jun 2009) | 1 line

  Use the preferred form of raise statements in the docs.
........
  r73186 | georg.brandl | 2009-06-03 23:21:09 +0200 (Mi, 03 Jun 2009) | 1 line

  #6174: fix indentation in code example.
........
  r73213 | georg.brandl | 2009-06-04 12:15:57 +0200 (Do, 04 Jun 2009) | 1 line

  #5967: note that the C slicing APIs do not support negative indices.
........
  r73215 | georg.brandl | 2009-06-04 12:22:31 +0200 (Do, 04 Jun 2009) | 1 line

  #6176: fix man page section for flock(2).
........
  r73217 | georg.brandl | 2009-06-04 12:27:21 +0200 (Do, 04 Jun 2009) | 1 line

  #6175: document that inet_aton supports alternate input formats with less than three dots.
........
  r73257 | georg.brandl | 2009-06-06 19:50:05 +0200 (Sa, 06 Jun 2009) | 1 line

  #6211: elaborate a bit on ways to call the function.
........
  r73258 | georg.brandl | 2009-06-06 19:51:31 +0200 (Sa, 06 Jun 2009) | 1 line

  #6204: use a real reference instead of "see later".
........
  r73260 | georg.brandl | 2009-06-06 20:21:58 +0200 (Sa, 06 Jun 2009) | 1 line

  #6224: s/JPython/Jython/, and remove one link to a module nine years old.
........
2009-10-27 14:19:50 +00:00
Georg Brandl 20f2ee9439 Merged revisions 71094,71102-71103,71106,71486,71962,72053,72221,72418-72419 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71094 | vinay.sajip | 2009-04-03 12:23:18 +0200 (Fr, 03 Apr 2009) | 1 line

  Added warning about logging use from asynchronous signal handlers.
........
  r71102 | andrew.kuchling | 2009-04-03 23:44:49 +0200 (Fr, 03 Apr 2009) | 1 line

  Fix 'the the'; grammar fix
........
  r71103 | andrew.kuchling | 2009-04-03 23:45:29 +0200 (Fr, 03 Apr 2009) | 1 line

  Fix 'the the' duplication
........
  r71106 | vinay.sajip | 2009-04-03 23:58:16 +0200 (Fr, 03 Apr 2009) | 1 line

  Clarified warning about logging use from asynchronous signal handlers.
........
  r71486 | andrew.kuchling | 2009-04-11 18:18:14 +0200 (Sa, 11 Apr 2009) | 1 line

  Re-word
........
  r71962 | eric.smith | 2009-04-26 12:05:11 +0200 (So, 26 Apr 2009) | 1 line

  Note that the caller is resposible for freeing the result of PyOS_double_to_string.
........
  r72053 | raymond.hettinger | 2009-04-27 23:12:54 +0200 (Mo, 27 Apr 2009) | 1 line

  Add example to the seealso section.
........
  r72221 | benjamin.peterson | 2009-05-02 22:26:53 +0200 (Sa, 02 Mai 2009) | 1 line

  add myself
........
  r72418 | r.david.murray | 2009-05-07 03:39:25 +0200 (Do, 07 Mai 2009) | 3 lines

  Document how to pass a 'decode' argument to get_payload when
  is_multipart is False.
........
  r72419 | r.david.murray | 2009-05-07 03:43:57 +0200 (Do, 07 Mai 2009) | 2 lines

  Revert inappropriate doc change.
........
2009-10-27 14:10:28 +00:00
Georg Brandl 785595448b Merged revisions 70590,70650,70704,70768-70769,70776,71008,71010-71011 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70590 | skip.montanaro | 2009-03-25 01:52:11 +0100 (Mi, 25 Mär 2009) | 1 line

  clarify the type of data returned
........
  r70650 | benjamin.peterson | 2009-03-28 20:16:10 +0100 (Sa, 28 Mär 2009) | 1 line

  give os.symlink and os.link() better parameter names #5564
........
  r70704 | benjamin.peterson | 2009-03-30 04:49:32 +0200 (Mo, 30 Mär 2009) | 1 line

  there's actually three methods here #5600
........
  r70768 | andrew.kuchling | 2009-03-31 00:29:15 +0200 (Di, 31 Mär 2009) | 1 line

  Typo fixes
........
  r70769 | andrew.kuchling | 2009-03-31 00:29:53 +0200 (Di, 31 Mär 2009) | 1 line

  Remove comment
........
  r70776 | andrew.kuchling | 2009-03-31 01:08:24 +0200 (Di, 31 Mär 2009) | 1 line

  typo fix
........
  r71008 | andrew.kuchling | 2009-04-02 02:02:14 +0200 (Do, 02 Apr 2009) | 1 line

  Typo fix
........
  r71010 | benjamin.peterson | 2009-04-02 02:11:52 +0200 (Do, 02 Apr 2009) | 1 line

  fix markup
........
  r71011 | benjamin.peterson | 2009-04-02 02:12:47 +0200 (Do, 02 Apr 2009) | 1 line

  this should be :noindex:
........
2009-10-27 14:03:07 +00:00
Georg Brandl 51b72162b6 Merged revisions 70171,70183,70290,70292,70315,70438,70464 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70171 | facundo.batista | 2009-03-04 22:18:17 +0100 (Mi, 04 Mär 2009) | 3 lines

  Fixed a typo.
........
  r70183 | benjamin.peterson | 2009-03-05 01:17:57 +0100 (Do, 05 Mär 2009) | 1 line

  add example
........
  r70290 | raymond.hettinger | 2009-03-10 02:07:30 +0100 (Di, 10 Mär 2009) | 1 line

  Update url for the spec.
........
  r70292 | raymond.hettinger | 2009-03-10 05:40:24 +0100 (Di, 10 Mär 2009) | 1 line

  Clarify the meaning of normal and subnormal.
........
  r70315 | raymond.hettinger | 2009-03-12 01:25:03 +0100 (Do, 12 Mär 2009) | 1 line

  Add reference to solution for a commonly asked question.
........
  r70438 | benjamin.peterson | 2009-03-17 21:29:51 +0100 (Di, 17 Mär 2009) | 1 line

  I thought this was begging for an example
........
  r70464 | benjamin.peterson | 2009-03-18 21:58:09 +0100 (Mi, 18 Mär 2009) | 1 line

  a much better example
........
2009-10-27 13:54:57 +00:00
Georg Brandl d3717c50d3 Merged revisions 69987,70002,70061 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69987 | benjamin.peterson | 2009-02-26 01:30:11 +0100 (Do, 26 Feb 2009) | 1 line

  fix str.format()'s first arg #5371
........
  r70002 | andrew.kuchling | 2009-02-26 23:34:30 +0100 (Do, 26 Feb 2009) | 1 line

  The curses panel library is now supported
........
  r70061 | hirokazu.yamamoto | 2009-02-28 16:24:00 +0100 (Sa, 28 Feb 2009) | 1 line

  Binary flag is needed on windows.
........
2009-10-27 13:44:06 +00:00
Georg Brandl 58ed928c95 Merged revisions 69520,69633,69672,69703-69704,69717,69731 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69520 | benjamin.peterson | 2009-02-12 04:50:00 +0100 (Do, 12 Feb 2009) | 1 line

  os.fsync() should be used to ensure that data is written to disk
........
  r69633 | hirokazu.yamamoto | 2009-02-15 10:19:48 +0100 (So, 15 Feb 2009) | 1 line

  Fixed typo.
........
  r69672 | benjamin.peterson | 2009-02-16 15:54:34 +0100 (Mo, 16 Feb 2009) | 1 line

  note functions that are not aliased to PyBytes_ #5280
........
  r69703 | raymond.hettinger | 2009-02-16 23:42:54 +0100 (Mo, 16 Feb 2009) | 3 lines

  Issue 5229: Documentation for super() neglects to say what super() actually does
........
  r69704 | raymond.hettinger | 2009-02-17 00:00:25 +0100 (Di, 17 Feb 2009) | 1 line

  Add explanation for super(type1, type2).
........
  r69717 | marc-andre.lemburg | 2009-02-17 13:48:19 +0100 (Di, 17 Feb 2009) | 5 lines

  Clarify the deprecation of platform.dist().

  Add versionadded tags.
........
  r69731 | gregory.p.smith | 2009-02-18 06:46:11 +0100 (Mi, 18 Feb 2009) | 3 lines

  Clarify socket timeout behavior vs system network stack behavior on connect
  for issue5293.
........
2009-10-27 13:38:33 +00:00
Georg Brandl 27e872389b Merged revisions 69417,69435,69442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69417 | benjamin.peterson | 2009-02-08 00:01:19 +0100 (So, 08 Feb 2009) | 1 line

  document individual 2to3 fixers
........
  r69435 | benjamin.peterson | 2009-02-08 15:38:13 +0100 (So, 08 Feb 2009) | 1 line

  document numliterals fixer
........
  r69442 | benjamin.peterson | 2009-02-08 16:14:57 +0100 (So, 08 Feb 2009) | 1 line

  a few edits and typos
........
2009-10-27 13:31:19 +00:00
Georg Brandl f1930b1e12 Merged revisions 69131,69140-69141,69155 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69131 | andrew.kuchling | 2009-01-31 04:26:02 +0100 (Sa, 31 Jan 2009) | 1 line

  Text edits and markup fixes
........
  r69140 | benjamin.peterson | 2009-01-31 17:52:03 +0100 (Sa, 31 Jan 2009) | 1 line

  PyErr_BadInternalCall() raises a SystemError, not TypeError #5112
........
  r69141 | benjamin.peterson | 2009-01-31 21:01:48 +0100 (Sa, 31 Jan 2009) | 1 line

  fix indentation
........
  r69155 | david.goodger | 2009-01-31 23:53:46 +0100 (Sa, 31 Jan 2009) | 1 line

  markup fix
........
2009-10-27 13:28:11 +00:00
Georg Brandl e00e2058c7 Merged revisions 68842,68862 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68842 | andrew.kuchling | 2009-01-21 03:16:26 +0100 (Mi, 21 Jan 2009) | 1 line

  Markup fixes
........
  r68862 | jesse.noller | 2009-01-22 22:53:22 +0100 (Do, 22 Jan 2009) | 1 line

  Issue 4593: apply() documentation is unclear
........
2009-10-27 13:22:19 +00:00
Georg Brandl 93a80b5752 Merged revisions 68797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68797 | raymond.hettinger | 2009-01-20 08:11:47 +0100 (Di, 20 Jan 2009) | 11 lines

  Don't disrupt automatic url target name generation
  with manually specified, conflicting names.

  Before:
      http://docs.python.org/dev/library/collections.html#id1

  After:
      http://docs.python.org/dev/library/collections.html#counter-objects
........
2009-10-27 13:21:23 +00:00
Georg Brandl 4f8084eda1 Merged revisions 68776-68777 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68776 | benjamin.peterson | 2009-01-19 17:17:54 +0100 (Mo, 19 Jan 2009) | 1 line

  move BufferedIOBase into the base class section
........
  r68777 | benjamin.peterson | 2009-01-19 17:18:27 +0100 (Mo, 19 Jan 2009) | 1 line

  add email address
........
2009-10-27 13:20:10 +00:00
Georg Brandl 0d97d32a86 Merged revisions 68760 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68760 | vinay.sajip | 2009-01-19 07:49:19 +0100 (Mo, 19 Jan 2009) | 1 line

  Added more cross-reference targets and tidied up list of useful handlers.
........
2009-10-27 13:19:20 +00:00
Georg Brandl 29c8bf6f06 Merged revisions 68705-68706 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68705 | benjamin.peterson | 2009-01-18 02:28:09 +0100 (So, 18 Jan 2009) | 1 line

  bytearrays are mutable sequences
........
  r68706 | benjamin.peterson | 2009-01-18 02:28:46 +0100 (So, 18 Jan 2009) | 1 line

  fix grammar
........
2009-10-27 13:17:27 +00:00
Georg Brandl 804e4b8f0f Merged revisions 68633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68633 | thomas.heller | 2009-01-16 19:53:44 +0100 (Fr, 16 Jan 2009) | 3 lines

  Change an example in the docs to avoid a mistake when the code is copy
  pasted and changed afterwards.
........
2009-10-27 13:15:21 +00:00
Georg Brandl 81daf31c26 Merged revisions 68623-68624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68623 | vinay.sajip | 2009-01-15 23:48:13 +0100 (Do, 15 Jan 2009) | 1 line

  Made minor changes/corrections in markup. Added a couple of section headings.
........
  r68624 | vinay.sajip | 2009-01-16 00:04:47 +0100 (Fr, 16 Jan 2009) | 1 line

  Minor changes/corrections in markup.
........
2009-10-27 13:14:28 +00:00
Georg Brandl 5e92150260 Merged revisions 68605 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68605 | raymond.hettinger | 2009-01-14 02:39:51 +0100 (Mi, 14 Jan 2009) | 1 line

  Fix-up indentation of sample code blocks for namedtuple mthod definitions.
........
2009-10-27 13:12:17 +00:00
Mark Dickinson da8652d920 Issue #7117 (backport py3k float repr) continued:
Add sys.float_repr_style attribute ('short' if short float
repr is in used;  'legacy' otherwise).
2009-10-24 14:01:08 +00:00
Mark Dickinson bb28285ea2 Issue #7117: Prepare for backport of py3k float repr.
Add the Python/dtoa.c file containing the main algorithms;
add corresponding include file and include in Python.h;
include license information for Python/dtoa.c;
add dtoa.c and dtoa.h to Makefile.
2009-10-24 12:13:30 +00:00
Georg Brandl 5460ff9d9f Fix markup. 2009-10-24 10:04:19 +00:00
Fred Drake d617cba62d add further note about what's passed to optionxform 2009-10-23 13:04:51 +00:00
Georg Brandl dc0205296b #7188: fix optionxform() docs. 2009-10-23 08:14:44 +00:00
Georg Brandl 60bae6f123 Make printout margin important. 2009-10-22 16:20:55 +00:00
Georg Brandl 07de4fc978 Add proper references. 2009-10-22 16:17:05 +00:00
Georg Brandl d1bed8e5ef #6977: getopt does not support optional option arguments. 2009-10-22 15:54:35 +00:00
Georg Brandl 76d6d4a010 #7156: document curses as Unix-only. 2009-10-22 15:52:15 +00:00
Georg Brandl f4ffae2b2a #7035: improve docs of the various <method>_errors() functions, and give them docstrings. 2009-10-22 15:42:32 +00:00
Georg Brandl 030d65811f Reorder __slots__ fine print and add a clarification. 2009-10-22 15:27:24 +00:00
Georg Brandl c5026f8a7b #7088: document new functions in signal as Unix-only. 2009-10-22 15:04:09 +00:00
Georg Brandl 2eee1d4df1 #6324: membership test tries iteration via __iter__. 2009-10-22 15:00:06 +00:00
Georg Brandl 6c14e587f5 Use "impl-detail" directive where applicable. 2009-10-22 11:48:10 +00:00
Georg Brandl 3954d21cc5 Fix stylesheet for multi-paragraph impl-details. 2009-10-22 11:36:50 +00:00
Georg Brandl f5f7c66a01 Allow short form with text as argument. 2009-10-22 11:28:23 +00:00
Georg Brandl d032912ac1 Document new directive. 2009-10-22 11:28:06 +00:00
Georg Brandl a054722778 Make it more robust. 2009-10-22 11:01:46 +00:00
Georg Brandl 08be2e2f35 Add a new directive marking up implementation details and start using it. 2009-10-22 08:05:04 +00:00
Georg Brandl 4ebf80734d Fix duplicate target. 2009-10-22 07:56:56 +00:00
Georg Brandl ceb32af23f Fix markup. 2009-10-22 07:56:02 +00:00
Georg Brandl 0968fd679b Fix punctuation. 2009-10-22 07:05:48 +00:00
Benjamin Peterson ff81cb812d rewrite to be nice to other implementations 2009-10-22 02:36:47 +00:00
Raymond Hettinger f04545565a Update advice on how to implement a queue. 2009-10-21 17:44:38 +00:00
Georg Brandl cf842ad418 #7170: fix explanation about non-weakrefable builtin types. 2009-10-21 07:15:59 +00:00
Benjamin Peterson eb7c377659 clarify buffer arg #7178 2009-10-20 21:55:17 +00:00
Benjamin Peterson e047d7953f use property api 2009-10-20 03:14:10 +00:00
Eric Smith c12781abcb Issue #7169: Document PyFloat_AsString and PyFloat_AsReprString, and note that they are unsafe and deprecated. 2009-10-19 14:38:14 +00:00
Georg Brandl 11abfe640f Fix missing word. 2009-10-18 07:58:12 +00:00
Senthil Kumaran ede15a56b8 Merged revisions 75478 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75478 | senthil.kumaran | 2009-10-18 07:28:45 +0530 (Sun, 18 Oct 2009) | 3 lines

  Fix a typo.
........
2009-10-18 02:01:06 +00:00
Senthil Kumaran 83f1ef681f Fix a typo. 2009-10-18 01:58:45 +00:00
Senthil Kumaran 3ae41accc6 Merged revisions 75474 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75474 | senthil.kumaran | 2009-10-18 06:54:41 +0530 (Sun, 18 Oct 2009) | 2 lines

  Fix for Issue7155 - urllib do not document default use of system proxy configuration
........
2009-10-18 01:31:15 +00:00
Senthil Kumaran 45a505f7e7 Fix for Issue7155 - urllib do not document default use of system proxy configuration 2009-10-18 01:24:41 +00:00
Georg Brandl 9b4e5820cb #7116: str.join() takes an iterable. 2009-10-14 18:48:32 +00:00
Georg Brandl 647e9d2652 #7126: os.environ changes *do* take effect in subprocesses started with os.system(). 2009-10-14 15:57:46 +00:00
Georg Brandl 5ffa146fde Fix markup. 2009-10-13 18:10:59 +00:00
Andrew M. Kuchling 5c4e6ebbf5 Various link, textual, and markup fixes 2009-10-13 16:11:49 +00:00
Andrew M. Kuchling 7fe65a0a94 Link to PEP 2009-10-13 15:49:33 +00:00
Benjamin Peterson 526bec21d0 platform we don't care about 2009-10-12 01:26:07 +00:00
Georg Brandl a4314c2b21 Fix broken links found by "make linkcheck". scipy.org seems to be done right now, so I could not verify links going there. 2009-10-11 20:16:16 +00:00
Georg Brandl 6728c5a762 Add the Python FAQ lists to the documentation. Copied from sandbox/faq. Many thanks to AMK for the preparation work. 2009-10-11 18:31:23 +00:00
Vinay Sajip 1c77b7f84c Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code. 2009-10-10 20:32:36 +00:00
Mark Dickinson d5a713ec30 Issue #7051: Clarify behaviour of 'g' and 'G'-style formatting. 2009-10-08 20:02:25 +00:00
Andrew M. Kuchling 85ea4bf781 Remove two notes 2009-10-05 22:45:39 +00:00
Andrew M. Kuchling fa6a4271c1 Backport r73983: Document the thousands separator. 2009-10-05 22:42:56 +00:00
Andrew M. Kuchling b6f0128c63 Use standard comma punctuation; reword some sentences in the docs 2009-10-05 22:32:48 +00:00
Andrew M. Kuchling 400054e59e Reword sentence 2009-10-05 22:31:11 +00:00
Andrew M. Kuchling 5a9c40b21c Add various items 2009-10-05 22:30:22 +00:00
Andrew M. Kuchling 915b1206f2 Note side benefit of socket.create_connection() 2009-10-05 21:25:35 +00:00
Andrew M. Kuchling f6e3d7d585 Document 'skip' parameter to constructor 2009-10-05 21:25:03 +00:00
Andrew M. Kuchling f5852f59d9 Fix narkup 2009-10-05 21:24:35 +00:00
Andrew M. Kuchling 3fab04078d Wording fix 2009-10-05 21:24:20 +00:00
Mark Dickinson 97d82171cb Merged revisions 75205 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75205 | mark.dickinson | 2009-10-03 11:14:34 +0100 (Sat, 03 Oct 2009) | 2 lines

  Issue #7028:  Add note to hex() builtin docs pointing to float.hex().
........
2009-10-03 10:15:54 +00:00
Mark Dickinson 530df33eac Issue #7028: Add note to hex() builtin docs pointing to float.hex(). 2009-10-03 10:14:34 +00:00
Tarek Ziadé 1b48671ef1 #6516 added owner/group support for tarfiles in Distutils 2009-10-02 23:49:48 +00:00
Georg Brandl f895cf5d33 #7031: Add TestCase.assertIsInstance and negated method. 2009-10-01 20:59:31 +00:00
Antoine Pitrou c9062ca308 Sync the 2.x `io` docs with py3k, with a small note as to the distinction
between bytes streams and text streams.
2009-10-01 17:08:03 +00:00
Gregory P. Smith 61df9e50ce Merged revisions 75149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75149 | gregory.p.smith | 2009-09-29 14:56:31 -0700 (Tue, 29 Sep 2009) | 3 lines

  Mention issue6972 in extractall docs about overwriting things outside of
  the supplied path.
........
2009-09-29 21:58:48 +00:00
Gregory P. Smith 657024cd26 Mention issue6972 in extractall docs about overwriting things outside of
the supplied path.
2009-09-29 21:56:31 +00:00
Philip Jenvey 7865296ca3 Merged revisions 75143 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75143 | philip.jenvey | 2009-09-29 12:10:15 -0700 (Tue, 29 Sep 2009) | 5 lines

  #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
  through the shell. also document the correct subprocess replacement for this
  case
  patch from Jean-Paul Calderone and Jani Hakala
........
2009-09-29 19:18:11 +00:00
Philip Jenvey 8b9020458a #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
2009-09-29 19:10:15 +00:00
Raymond Hettinger 13305f681b Issue 7008: Better document str.title and show how to work around the apostrophe problem. 2009-09-29 18:53:24 +00:00
Raymond Hettinger b4b94ef437 Issue 7008: Better document str.title and show how to work around the apostrophe problem. 2009-09-29 18:48:09 +00:00
Mark Dickinson b93fff0a57 Issue #3366: Add gamma function to math module.
(lgamma, erf and erfc to follow).
2009-09-28 18:54:55 +00:00
Michael Foord 17565e5b7b Documentation improvement for load_tests protocol in unittest. Issue 6515. 2009-09-27 20:08:23 +00:00
Vinay Sajip 4780c9a0e0 Tidied up name of parameter in StreamHandler 2009-09-26 14:53:32 +00:00
Ezio Melotti 9ba83c50f4 Merged revisions 75070 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75070 | ezio.melotti | 2009-09-26 14:20:53 +0300 (Sat, 26 Sep 2009) | 1 line

  #7000: document "sep" in capwords. Add a few tests
........
2009-09-26 11:23:16 +00:00
Ezio Melotti 9aac2455ab #7000: document "sep" in capwords. Add a few tests 2009-09-26 11:20:53 +00:00
Benjamin Peterson 02c0943ea3 Merged revisions 75068 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75068 | benjamin.peterson | 2009-09-25 21:57:59 -0500 (Fri, 25 Sep 2009) | 1 line

  comment out ugly xxx
........
2009-09-26 03:00:26 +00:00
Benjamin Peterson afdbe3d661 comment out ugly xxx 2009-09-26 02:57:59 +00:00
Ezio Melotti c24d035e9b Merged revisions 75039 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75039 | ezio.melotti | 2009-09-24 00:36:39 +0300 (Thu, 24 Sep 2009) | 1 line

  improved phrasing, markup and example
........
2009-09-23 21:39:50 +00:00
Ezio Melotti 2fd3592e70 improved phrasing, markup and example 2009-09-23 21:36:39 +00:00
Benjamin Peterson 751c203862 Merged revisions 75032 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75032 | benjamin.peterson | 2009-09-22 17:15:28 -0500 (Tue, 22 Sep 2009) | 1 line

  fix typos/rephrase
........
2009-09-22 22:30:03 +00:00
Benjamin Peterson ca66cb5ce0 fix typos/rephrase 2009-09-22 22:15:28 +00:00
Brett Cannon e0789ac0c9 Merged revisions 75024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75024 | brett.cannon | 2009-09-22 13:04:24 -0700 (Tue, 22 Sep 2009) | 1 line

  Fix a minor doc syntax typo.
........
2009-09-22 20:06:53 +00:00
Brett Cannon 2f75572f44 Fix a minor doc syntax typo. 2009-09-22 20:04:24 +00:00
Vinay Sajip f778bec8ed Fixed a typo, and added sections on optimization and using arbitrary objects as messages. 2009-09-22 17:23:41 +00:00
Georg Brandl ac87077b37 Fix encoding name. 2009-09-22 10:55:08 +00:00
Doug Hellmann 0108ed362a Merged revisions 74984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74984 | doug.hellmann | 2009-09-20 16:44:13 -0400 (Sun, 20 Sep 2009) | 2 lines

  Fix markup for external links.
........
2009-09-20 20:55:04 +00:00
Doug Hellmann 1d18b5b929 Fix markup for external links. 2009-09-20 20:44:13 +00:00
Ronald Oussoren 9f20d9d0ee Issue 6877: this patch makes it possible to link the readline extension
to the libedit emulation of the readline API on OSX 10.5 or later.

This also adds a minimal testsuite for readline to check that the
history manipuation functions have the same interface with both
C libraries.
2009-09-20 14:18:15 +00:00
Ezio Melotti 04606fbcbe Merged revisions 74958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74958 | ezio.melotti | 2009-09-20 10:10:39 +0300 (Sun, 20 Sep 2009) | 1 line

  #6881 - fixed wrong return type; improved the formatting
........
2009-09-20 07:14:47 +00:00
Ezio Melotti 4b017bbac0 #6881 - fixed wrong return type; improved the formatting 2009-09-20 07:10:39 +00:00
Georg Brandl f4da666880 Fix references to threading.enumerate(). 2009-09-19 12:04:16 +00:00
Georg Brandl 592c58d356 #6946: fix duplicate index entries for datetime classes. 2009-09-19 10:42:34 +00:00
Georg Brandl 579a358e61 #6930: clarify description about byteorder handling in UTF decoder routines. 2009-09-18 21:35:59 +00:00
Georg Brandl 54967d994a #6925: rewrite docs for locals() and vars() a bit. 2009-09-18 21:21:41 +00:00
Benjamin Peterson 332d721750 add keyword arguments support to str/unicode encode and decode #6300 2009-09-18 21:14:55 +00:00
Georg Brandl 4d94d31b6d #6936: for interactive use, quit() is just fine. 2009-09-18 07:22:41 +00:00
Georg Brandl a3594748ab Merged revisions 74621,74823-74824,74868,74877-74878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74621 | georg.brandl | 2009-09-01 10:06:03 +0200 (Di, 01 Sep 2009) | 1 line

  #6638: fix wrong parameter name and markup a class.
........
  r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line

  Remove strange trailing commas.
........
  r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line

  #6892: fix optparse example involving help option.
........
  r74868 | georg.brandl | 2009-09-17 12:23:02 +0200 (Do, 17 Sep 2009) | 2 lines

  String values should be shown with quotes, to avoid confusion with constants.
........
  r74877 | georg.brandl | 2009-09-17 18:26:06 +0200 (Do, 17 Sep 2009) | 1 line

  Remove duplicate doc of enable/disable_interspersed_args.
........
  r74878 | georg.brandl | 2009-09-17 19:14:04 +0200 (Do, 17 Sep 2009) | 1 line

  Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles.
........
2009-09-17 22:07:38 +00:00
Georg Brandl b926ebb896 Make the optparse doc style a bit more standard: use standard description units for attrs/methods/etc., and use the correct referencing roles. 2009-09-17 17:14:04 +00:00
Georg Brandl 7842a41f5c Remove duplicate doc of enable/disable_interspersed_args. 2009-09-17 16:26:06 +00:00
Georg Brandl 304d3966ee #6932: remove paragraph that advises relying on __del__ being called. 2009-09-17 16:15:53 +00:00
Georg Brandl bc3777d85e String values should be shown with quotes, to avoid confusion with constants. 2009-09-17 10:23:02 +00:00
Benjamin Peterson 6fedc5252d rationalize a bit 2009-09-17 03:27:33 +00:00
Brett Cannon 2348eda37b Note in the intro to Extending... that ctypes can be a simpler, more portable solution than custom C code. 2009-09-17 03:24:45 +00:00
Benjamin Peterson fd1fcffced pep 8 defaults 2009-09-17 03:18:28 +00:00
Thomas Wouters 448db2155f Merged revisions 74841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74841 | thomas.wouters | 2009-09-16 12:55:54 -0700 (Wed, 16 Sep 2009) | 23 lines


  Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
  acquiring the import lock around fork() calls. This prevents other threads
  from having that lock while the fork happens, and is the recommended way of
  dealing with such issues. There are two other locks we care about, the GIL
  and the Thread Local Storage lock. The GIL is obviously held when calling
  Python functions like os.fork(), and the TLS lock is explicitly reallocated
  instead, while also deleting now-orphaned TLS data.

  This only fixes calls to os.fork(), not extension modules or embedding
  programs calling C's fork() directly. Solving that requires a new set of API
  functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
  warning explaining the problem to the documentation in the mean time.

  This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
  getting the import lock reallocated, seemingly to avoid this very same
  problem. This is not the right approach, because the import lock is a
  re-entrant one, and reallocating would do the wrong thing when forking while
  holding the import lock.

  Will backport to 2.6, minus the tiny AIX behaviour change.
........
2009-09-16 20:06:36 +00:00
Thomas Wouters c4dcb3801e Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
acquiring the import lock around fork() calls. This prevents other threads
from having that lock while the fork happens, and is the recommended way of
dealing with such issues. There are two other locks we care about, the GIL
and the Thread Local Storage lock. The GIL is obviously held when calling
Python functions like os.fork(), and the TLS lock is explicitly reallocated
instead, while also deleting now-orphaned TLS data.

This only fixes calls to os.fork(), not extension modules or embedding
programs calling C's fork() directly. Solving that requires a new set of API
functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
warning explaining the problem to the documentation in the mean time.

This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
getting the import lock reallocated, seemingly to avoid this very same
problem. This is not the right approach, because the import lock is a
re-entrant one, and reallocating would do the wrong thing when forking while
holding the import lock.

Will backport to 2.6, minus the tiny AIX behaviour change.
2009-09-16 19:55:54 +00:00
Georg Brandl a50d20a5b1 Rewrap long lines. 2009-09-16 15:57:46 +00:00
Ezio Melotti c5a6fd743f Merged revisions 74825 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74825 | ezio.melotti | 2009-09-16 16:14:05 +0300 (Wed, 16 Sep 2009) | 1 line

  #6879 - fix misstatement about exceptions
........
2009-09-16 13:31:18 +00:00
Ezio Melotti 2e85f503b1 #6879 - fix misstatement about exceptions 2009-09-16 13:14:05 +00:00
Georg Brandl 718b221e06 #6892: fix optparse example involving help option. 2009-09-16 13:11:06 +00:00
Georg Brandl d7226ffe0b Remove strange trailing commas. 2009-09-16 13:06:22 +00:00
Georg Brandl f4e6b98b01 #5621: refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign. 2009-09-16 10:12:06 +00:00
Georg Brandl 83130c3942 #6891: comment out dead link to Unicode article. 2009-09-16 09:30:48 +00:00
Georg Brandl b29709adc8 #6876: fix base class constructor invocation in example. 2009-09-16 09:24:57 +00:00
Georg Brandl 49bb9b7f0a #6880: add reference to classes section in exceptions section, which comes earlier. 2009-09-16 09:23:04 +00:00
Georg Brandl 076ca5a430 Make deprecation notices as visible as warnings are right now. 2009-09-16 09:05:11 +00:00
Ronald Oussoren cba2fd3ac9 Merged revisions 74806 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74806 | ronald.oussoren | 2009-09-15 21:13:15 +0200 (Tue, 15 Sep 2009) | 3 lines

  Finish support for --with-universal-archs=intel
  and --with-universal-archs=3-way (issue6245)
........
2009-09-15 19:14:37 +00:00
Ronald Oussoren 5d90029041 Finish support for --with-universal-archs=intel
and --with-universal-archs=3-way (issue6245)
2009-09-15 19:13:15 +00:00
Ezio Melotti 0d28764d3d Merged revisions 74799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74799 | ezio.melotti | 2009-09-15 21:41:43 +0300 (Tue, 15 Sep 2009) | 1 line

  #6917 - typo in method name
........
2009-09-15 18:46:35 +00:00
Ezio Melotti 038f38d3ac #6917 - typo in method name 2009-09-15 18:41:43 +00:00
Benjamin Peterson 25a3314263 Merged revisions 74795 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74795 | benjamin.peterson | 2009-09-14 22:36:26 -0500 (Mon, 14 Sep 2009) | 1 line

  Py_SetPythonHome uses static storage #6913
........
2009-09-15 03:39:14 +00:00
Benjamin Peterson ea7120c7c1 Py_SetPythonHome uses static storage #6913 2009-09-15 03:36:26 +00:00
Georg Brandl 58d23fbb6c #6908: fix association of hashlib hash attributes. 2009-09-14 14:50:47 +00:00
Georg Brandl 7eb43b7c70 #6574: list the future features in a table. 2009-09-14 14:08:54 +00:00
Ezio Melotti 893577aedf Merged revisions 74787 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74787 | ezio.melotti | 2009-09-14 03:48:31 +0300 (Mon, 14 Sep 2009) | 1 line

  #6904 - fix broken link
........
2009-09-14 01:20:43 +00:00
Ezio Melotti 2c7b4934ad #6904 - fix broken link 2009-09-14 00:48:31 +00:00
Michael Foord dc0460a309 Remove an extraneous space in unittest documentation. 2009-09-13 19:08:18 +00:00
Michael Foord e91ea56b30 Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568. 2009-09-13 19:07:03 +00:00
Georg Brandl 6848d82a7c Typo fix. 2009-09-13 18:15:07 +00:00
Michael Foord 5a9719d627 unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866. 2009-09-13 17:28:35 +00:00
Michael Foord ee2df03009 Tutorial tweaks. Issue 6849. 2009-09-13 17:07:46 +00:00
Michael Foord 668be589ef Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712. 2009-09-13 16:46:19 +00:00
Michael Foord c3f79373e8 Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. 2009-09-13 16:40:02 +00:00
Michael Foord 60931a5a58 Change to tutorial wording for reading text / binary files on Windows. Issue #6301. 2009-09-13 16:13:36 +00:00
Lars Gustäbel 21121e64b4 Issue #6856: Add a filter keyword argument to TarFile.add().
The filter argument must be a function that takes a TarInfo
object argument, changes it and returns it again. If the
function returns None the TarInfo object will be excluded
from the archive.
The exclude argument is deprecated from now on, because it
does something similar but is not as flexible.
2009-09-12 10:28:15 +00:00
Georg Brandl d4c7eb1647 Move function back to its section. 2009-09-11 07:55:20 +00:00
Georg Brandl ffdde9e959 Properly document copy and deepcopy as functions. 2009-09-09 16:49:13 +00:00
Georg Brandl f01697014f #6843: add link from filterwarnings to where the meaning of the arguments is covered. 2009-09-05 16:47:17 +00:00
Georg Brandl 609910c210 #6841: remove duplicated word. 2009-09-05 09:04:09 +00:00
Georg Brandl 7d4f8fda49 #6777: dont discourage usage of Exception.args or promote usage of Exception.message. 2009-09-04 11:32:18 +00:00
Georg Brandl 601ee7f847 #6756: add some info about the "acct" parameter. 2009-09-04 11:25:37 +00:00
Georg Brandl af795e5eea #6757: complete the list of types that marshal can serialize. 2009-09-03 12:31:39 +00:00
Georg Brandl bf58d80123 #6828: fix wrongly highlighted blocks. 2009-09-03 07:27:26 +00:00
Georg Brandl eb4781c279 #6821: fix signature of PyBuffer_Release(). 2009-09-02 20:37:16 +00:00
Georg Brandl 8514b85edc #6638: fix wrong parameter name and markup a class. 2009-09-01 08:06:03 +00:00
Georg Brandl 86158fc4c7 #6810: add a link to the section about frame objects instead of just a description where to find it. 2009-09-01 08:00:47 +00:00
Georg Brandl 018ad1c949 #6765: hint that log(x, base) is not very sophisticated. 2009-09-01 07:53:37 +00:00
Georg Brandl a88fd7603b #6808: clarification. 2009-09-01 07:46:26 +00:00
Georg Brandl 254c17c758 #6813: better documentation for numberless string formats. 2009-09-01 07:40:54 +00:00
Senthil Kumaran 90161375c6 Doc fix for the issue2637. 2009-08-31 16:40:27 +00:00
Georg Brandl 4ea46a6614 other -> others where multiple arguments are accepted. 2009-08-31 06:38:29 +00:00
Georg Brandl fc27c34639 Merged revisions 74590 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74590 | georg.brandl | 2009-08-30 11:51:53 +0000 (So, 30 Aug 2009) | 1 line

  #6801: fix copy-paste oversight.
........
2009-08-30 21:06:47 +00:00
Georg Brandl 7d65fbfed4 #6801: fix copy-paste oversight. 2009-08-30 11:51:53 +00:00
Georg Brandl 6f8b99e868 #6803: fix old name. 2009-08-30 08:35:01 +00:00
Tarek Ziadé 95b0991af3 Merged revisions 74578 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74578 | tarek.ziade | 2009-08-29 15:33:21 +0200 (Sat, 29 Aug 2009) | 1 line

  fixed #6801: symmetric_difference_update also accepts pipe
........
2009-08-29 13:37:34 +00:00
Tarek Ziadé 3092ed977f fixed #6801: symmetric_difference_update also accepts pipe 2009-08-29 13:33:21 +00:00
Kristján Valur Jónsson e2a77980b6 issue 6275
Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package.  This allows further tests on the exception that was raised after the context manager exits.
2009-08-27 22:20:21 +00:00
Georg Brandl e746daa2cb #6787: reference fix. 2009-08-27 19:02:43 +00:00
Georg Brandl 185bd22564 Typo fix. 2009-08-27 18:59:02 +00:00
R. David Murray e7ba742efa Remove leftover text from end of sentence. 2009-08-27 01:04:59 +00:00
Georg Brandl 1b2695a4c2 #6677: note that rmdir only removes empty directories. 2009-08-24 17:48:40 +00:00
Benjamin Peterson 626c0aabe8 fix pdf building by teaching latex the right encoding package 2009-08-24 17:42:36 +00:00
Georg Brandl 7543997d74 #6677: mention "deleting" as an alias for removing files. 2009-08-24 17:24:27 +00:00
Georg Brandl e8ddbece0f #6718: fix example. 2009-08-24 17:22:05 +00:00
Georg Brandl 0cfbd65975 #6725: spell "namespace" consistently. 2009-08-24 17:20:40 +00:00
Georg Brandl 87296628f1 #6772: mention utf-8 as utf8 alias. 2009-08-24 17:14:29 +00:00
Tarek Ziadé 58266aacf8 Merged revisions 74533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74533 | tarek.ziade | 2009-08-21 16:11:26 +0200 (Fri, 21 Aug 2009) | 1 line

  Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows
........
2009-08-21 14:14:55 +00:00
Tarek Ziadé f721666d33 Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows 2009-08-21 14:11:26 +00:00
Vinay Sajip 333c6e7d8f Added section on exceptions raised during logging. 2009-08-20 22:04:32 +00:00
Tarek Ziadé 764fc235a6 #6693: New functions in site.py to get user/global site packages paths. 2009-08-20 21:23:13 +00:00
Gregory P. Smith 4e63d54b36 Add weakref support to the thread.lock type. 2009-08-20 09:39:38 +00:00
Skip Montanaro c4e36cdfee missing module ref (issue6723) 2009-08-18 14:38:02 +00:00
Skip Montanaro 56366cc6eb missing module ref (issue6723) 2009-08-18 14:37:52 +00:00
R. David Murray 2c9e33f3a6 Issue 6685: 'toupper' -> 'upper' in cgi doc example explanation. 2009-08-17 19:26:49 +00:00
Vinay Sajip 5e7f645c16 Further refined section on logging to one file from multiple processes. 2009-08-17 13:14:37 +00:00
Vinay Sajip 1c0b24fb67 Refined section on logging to one file from multiple processes. 2009-08-15 23:34:47 +00:00
Vinay Sajip 3a0dc30947 Added section on logging to one file from multiple processes. 2009-08-15 23:23:12 +00:00
Vinay Sajip 59584c4bac Added versionchanged notices for optional 'delay' parameter to file handler classes. 2009-08-14 11:33:54 +00:00
Georg Brandl aa66a968d4 Remove potentially confusing sentence in __mangling description. 2009-08-13 12:57:25 +00:00
Georg Brandl fb69631af7 Use locale.format_string() for more than one specifier. 2009-08-13 12:05:52 +00:00
Georg Brandl 04fd324fe3 #6679: Remove mention that sub supports no flags. 2009-08-13 07:48:05 +00:00
Georg Brandl 4a46e1c4b3 #6658: fix two typos. 2009-08-06 17:43:55 +00:00
Georg Brandl 43161a51b8 Fix punctuation and one copy-paste error. 2009-08-06 17:23:21 +00:00
Georg Brandl 763b30177d Merged revisions 74328 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74328 | georg.brandl | 2009-08-06 17:06:25 +0200 (Do, 06 Aug 2009) | 1 line

  Fix base keyword arg name for int() and long().
........
2009-08-06 15:08:32 +00:00
Georg Brandl 29bc2cd463 Fix base keyword arg name for int() and long(). 2009-08-06 15:06:25 +00:00
Jesse Noller ce14c099df Merge fix for 4660 back to 26 maint 2009-08-06 02:08:10 +00:00
Jesse Noller 8497efeb40 Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address 2009-08-06 02:05:56 +00:00
Georg Brandl 62bae87b7e Merged revisions 74307 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74307 | georg.brandl | 2009-08-04 22:22:43 +0200 (Di, 04 Aug 2009) | 1 line

  Add donation link to docs footer.
........
2009-08-04 20:24:30 +00:00
Georg Brandl 4809c737d3 Add donation link to docs footer. 2009-08-04 20:22:43 +00:00
Mark Dickinson 9a6e645b9f Merged revisions 74281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74281 | mark.dickinson | 2009-08-02 11:59:36 +0100 (Sun, 02 Aug 2009) | 4 lines

  Issue #6595: Allow Decimal constructor to accept non-European decimal
  digits, as recommended by the specification.  (Backport of r74279 from
  py3k.)
........
2009-08-02 11:01:01 +00:00
Mark Dickinson 4326ad8f72 Issue #6595: Allow Decimal constructor to accept non-European decimal
digits, as recommended by the specification.  (Backport of r74279 from
py3k.)
2009-08-02 10:59:36 +00:00
Mark Dickinson 9ad0b365b3 Documentation fix for change introduced in r71832 2009-07-30 10:00:10 +00:00
Georg Brandl 4938fefce8 Rewrite the section about classes a bit; mostly tidbits, and a larger update to the section about "private" variables to reflect the Pythonic consensus better. 2009-07-29 17:50:25 +00:00
Georg Brandl 14bb28aa62 Fix a few markup glitches. 2009-07-29 17:15:20 +00:00
Georg Brandl ffefd5a8bb Fix some markup and small factual glitches found by M. Markert. 2009-07-29 17:07:21 +00:00
Georg Brandl 07e20f8729 Add a link to readline, and mention IPython and bpython. 2009-07-29 16:57:05 +00:00
Georg Brandl 019e8dd7fc #6336: Add nb_divide. 2009-07-29 16:32:30 +00:00
Georg Brandl f3d520cc16 #6591: add reference to ioctl in fcntl module for platforms other than Windows. 2009-07-29 16:09:17 +00:00
Georg Brandl 5b3e7e9c61 #6593: fix link targets. 2009-07-29 16:06:31 +00:00
Mark Dickinson fe67bd9168 Issue #6561: '\d' regular expression should not match characters of
category [No]; only those of category [Nd].  (Backport of r74237
from py3k.)
2009-07-28 20:35:03 +00:00
Georg Brandl 8d31f5413c Clarify quote_plus() usage. 2009-07-28 18:55:32 +00:00
Mark Dickinson 25cd551a01 Merged revisions 74234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74234 | mark.dickinson | 2009-07-28 17:45:13 +0100 (Tue, 28 Jul 2009) | 1 line

  Remove leading blank line from cmath.rst
........
2009-07-28 16:46:13 +00:00
Mark Dickinson 8ab590ef06 Remove leading blank line from cmath.rst 2009-07-28 16:45:13 +00:00
Mark Dickinson f8edb67f09 Merged revisions 74184,74230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74184 | georg.brandl | 2009-07-23 08:08:58 +0100 (Thu, 23 Jul 2009) | 1 line

  #6548: dont suggest existence of real and imag functions in cmath.
........
  r74230 | mark.dickinson | 2009-07-28 17:12:40 +0100 (Tue, 28 Jul 2009) | 4 lines

  Issue #6458: Reorganize cmath documentation into sections (similar to
  the way that the math documentation is organized); clarify section on
  conversions to and from polar coordinates.
........
2009-07-28 16:15:25 +00:00
Mark Dickinson 44ec7ac947 Issue #6458: Reorganize cmath documentation into sections (similar to
the way that the math documentation is organized); clarify section on
conversions to and from polar coordinates.
2009-07-28 16:12:40 +00:00
Georg Brandl 3591a8f81d Move member descriptions inside the classes. 2009-07-26 14:44:23 +00:00
Georg Brandl d7d4fd7336 builtin -> built-in. 2009-07-26 14:37:28 +00:00
Georg Brandl 9fa61bb37d #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. 2009-07-26 14:19:57 +00:00
Georg Brandl 74f8fc0b1b #6576: fix cross-refs in re docs. 2009-07-26 13:36:39 +00:00
Georg Brandl 1ba9c87306 #6571: add index entries for more operators. 2009-07-25 13:02:15 +00:00
Georg Brandl e2d2704017 #6564: fix section about the two raise syntaxes. 2009-07-24 20:09:46 +00:00
Georg Brandl 36b30b5a4b Dont put "void" in signature for nullary functions. 2009-07-24 16:46:38 +00:00
Georg Brandl f0b1733574 Fix arg types of et#. 2009-07-24 16:28:38 +00:00
Benjamin Peterson 617a5588d1 use bools 2009-07-23 14:25:31 +00:00
Georg Brandl 0e66914907 #6548: dont suggest existence of real and imag functions in cmath. 2009-07-23 07:08:58 +00:00
Ezio Melotti 7fc214b55d #6423 has_key -> in 2009-07-22 21:08:49 +00:00
Benjamin Peterson d38d344370 revert r74152 2009-07-22 16:34:37 +00:00
Benjamin Peterson bee2e1897b simplify 2009-07-22 00:03:43 +00:00
Ezio Melotti dd89705c8c #6536 fixed typo 2009-07-21 20:18:27 +00:00
R. David Murray 17438dc26c Merged revisions 73708,73738 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73708 | jesse.noller | 2009-06-30 13:11:52 -0400 (Tue, 30 Jun 2009) | 1 line

  Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes
........
  r73738 | r.david.murray | 2009-06-30 22:49:10 -0400 (Tue, 30 Jun 2009) | 2 lines

  Make punctuation prettier and break up run-on sentence.
........
2009-07-21 17:02:14 +00:00
R. David Murray f37b563c72 Merged revisions 73706 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73706 | georg.brandl | 2009-06-30 12:18:55 -0400 (Tue, 30 Jun 2009) | 1 line

  #6384: Add a heading for the exception hierarchy.
........
2009-07-21 14:37:38 +00:00
R. David Murray ba2c2b16db Merged revisions 73778 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73778 | r.david.murray | 2009-07-02 14:19:20 -0400 (Thu, 02 Jul 2009) | 3 lines

  Issue 6389: add documentation for the 'mode' flags defined in the
  stat module.
........
2009-07-21 14:23:11 +00:00
Benjamin Peterson 7cb23c673a Merged revisions 74111 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74111 | benjamin.peterson | 2009-07-20 08:30:10 -0500 (Mon, 20 Jul 2009) | 1 line

  remove docs for deprecated -p option
........
2009-07-20 13:33:05 +00:00
Benjamin Peterson 83dfc307c1 remove docs for deprecated -p option 2009-07-20 13:30:10 +00:00
Georg Brandl 3bb474714b #6489: fix an ambiguity in getiterator() documentation. 2009-07-18 09:43:40 +00:00
Georg Brandl a1a4bdb30c #6505: fix typos. 2009-07-18 09:06:31 +00:00
Georg Brandl b4d0ef91a5 #6513: fix example code: warning categories are classes, not instances. 2009-07-18 09:03:10 +00:00
Georg Brandl 2e1285baee #6481: fix typo in os.system() replacement. 2009-07-16 07:38:35 +00:00
Georg Brandl da334249a7 #6486: start with built in functions rather than "built in objects". 2009-07-16 07:33:04 +00:00
Benjamin Peterson 573025f298 update year 2009-07-15 00:46:42 +00:00
Amaury Forgeot d'Arc 78c06bd9b7 Document the newly added codec 2009-07-13 23:11:54 +00:00
Benjamin Peterson 72f94f75d6 add versionadded 2009-07-12 16:56:54 +00:00
Georg Brandl c91cbb948a array.array is actually a class. 2009-07-11 14:23:38 +00:00
Georg Brandl b7e14eda6e #6456: clarify the meaning of constants used as arguments to nl_langinfo(). 2009-07-11 10:51:31 +00:00
Georg Brandl 7750505d2d #6430: add note about size of "u" type. 2009-07-11 10:37:38 +00:00
Georg Brandl 7c150bf904 #6448: clarify docs for find_module(). 2009-07-11 10:18:10 +00:00
Georg Brandl 0294de028f #6446: fix import_spam() function to use correct error and reference handling. 2009-07-11 10:14:54 +00:00
Georg Brandl 3405cbcf06 Fix style. 2009-07-11 10:12:36 +00:00
Amaury Forgeot d'Arc ce32eb7406 #6416: Fix compilation of the select module on Windows, as well as test_subprocess:
PIPE_BUF is not defined on Windows, and probably has no meaning there.

Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
2009-07-09 22:37:22 +00:00
Gregory P. Smith 9d36fd2acb Adds the select.PIPE_BUF attribute to expose the system constant. 2009-07-03 20:48:31 +00:00
Benjamin Peterson a1c38c19a0 Merged revisions 73812 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73812 | benjamin.peterson | 2009-07-03 09:08:20 -0500 (Fri, 03 Jul 2009) | 1 line

  another cStringIO restriction
........
2009-07-03 14:11:15 +00:00
Benjamin Peterson 1e13960727 another cStringIO restriction 2009-07-03 14:08:20 +00:00
R. David Murray fbba7cdcf0 Issue 6389: add documentation for the 'mode' flags defined in the
stat module.
2009-07-02 18:19:20 +00:00
Jesus Cea 585ad8ae5e Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (Sat, 21 Feb 2009) | 2 lines

  Issue #5341: Fix a variety of spelling errors.
........
2009-07-02 15:37:21 +00:00
R. David Murray 321afa80ba Make punctuation prettier and break up run-on sentence. 2009-07-01 02:49:10 +00:00
Ezio Melotti be96cf608f Fixed a backslash that was not supposed to be there 2009-06-30 22:56:16 +00:00
Ezio Melotti c2f5a595ba Fixed defaultTestCase -> defaultTestResult 2009-06-30 22:51:06 +00:00
Jesse Noller 1b90efbdc5 Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes 2009-06-30 17:11:52 +00:00
Georg Brandl 0c9eb43149 #6371: fix link targets. 2009-06-30 16:35:11 +00:00
Georg Brandl 3cd0bedc13 #6384: Add a heading for the exception hierarchy. 2009-06-30 16:18:55 +00:00
Georg Brandl 0d8649a1c9 #6374: add a bit of explanation about shell=True on Windows. 2009-06-30 16:17:28 +00:00
Georg Brandl 3d5c87a23c #6376: fix copy-n-paste oversight. 2009-06-30 16:15:43 +00:00
Jesse Noller 34116922d3 Issue 5740: multiprocessing.connection.* authkey fixes 2009-06-29 18:24:26 +00:00
Jesse Noller d4792cd84e Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons 2009-06-29 18:20:34 +00:00
Benjamin Peterson 9c661a4916 Merged revisions 73669 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73669 | benjamin.peterson | 2009-06-28 22:30:55 -0500 (Sun, 28 Jun 2009) | 1 line

  update to sphinx 0.6.2
........
2009-06-29 03:33:11 +00:00
Benjamin Peterson 8e7b476945 update to sphinx 0.6.2 2009-06-29 03:30:55 +00:00
Mark Dickinson bf2170b113 Merged revisions 73653 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73653 | mark.dickinson | 2009-06-28 22:48:15 +0100 (Sun, 28 Jun 2009) | 1 line

  More Decimal quote fixing;  backport of r73642
........
2009-06-28 21:56:07 +00:00
Mark Dickinson 11c4941b54 More Decimal quote fixing; backport of r73642 2009-06-28 21:48:15 +00:00
Kristján Valur Jónsson e007860b8b http://bugs.python.org/issue6267
Cumulative patch to http and xmlrpc
2009-06-28 21:04:17 +00:00
Ezio Melotti b4ad395d07 Fixed a wrong apostrophe 2009-06-28 00:07:45 +00:00
Ezio Melotti 1dfd5d9f78 stmt and setup can contain multiple statements, see #5896 2009-06-27 23:45:39 +00:00
Benjamin Peterson 4d865a7d17 Merged revisions 73575 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73575 | benjamin.peterson | 2009-06-26 11:49:06 -0500 (Fri, 26 Jun 2009) | 1 line

  mark 3.1 as stable docs
........
2009-06-27 14:22:59 +00:00
Benjamin Peterson 00a58c3574 link to extensive generator docs in the reference manual 2009-06-27 14:16:23 +00:00
Benjamin Peterson f36bebd06f document is_declared_global() 2009-06-26 23:37:06 +00:00
Benjamin Peterson f511fcc743 mark 3.1 as stable docs 2009-06-26 16:49:06 +00:00
R. David Murray 9f8a51c326 Merged revisions 73026,73313,73511,73554 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73026 | r.david.murray | 2009-05-29 15:30:27 -0400 (Fri, 29 May 2009) | 3 lines

  Issue 6141: document that the first item of args is still the
  command name even when executable is specified.
........
  r73313 | r.david.murray | 2009-06-08 20:44:22 -0400 (Mon, 08 Jun 2009) | 4 lines

  Issue 2947: document how return code handling translates from
  os.popen to subprocess.  Also fixes reference link in the
  os.spawn documentation.
........
  r73511 | r.david.murray | 2009-06-22 18:11:04 -0400 (Mon, 22 Jun 2009) | 2 lines

  Improve English phrasing.
........
  r73554 | r.david.murray | 2009-06-25 10:21:06 -0400 (Thu, 25 Jun 2009) | 2 lines

  Add a couple of missing function alias declarations to the turtle docs.
........
2009-06-25 17:40:52 +00:00
R. David Murray 5c3d40e0f3 Add a couple of missing function alias declarations to the turtle docs. 2009-06-25 14:21:06 +00:00
Kristján Valur Jónsson f1d11efb72 http://bugs.python.org/issue6192
Move the newly introduced disable_nagle_algorithm flag into the StreamRequestHandler, where it is more appropriate.
2009-06-24 09:17:04 +00:00
Georg Brandl 5a85d5c4f2 #6332: fix word dupes throughout the source. 2009-06-24 06:41:19 +00:00
Amaury Forgeot d'Arc 388637d373 Remove last remnants of the ipaddr package.
The changes in mcast.py come from the first version of the patch for issue5379.
2009-06-23 21:53:46 +00:00
Amaury Forgeot d'Arc 14fc673d4f Remove the ipaddr module per discussion on python-dev 2009-06-23 21:09:09 +00:00
R. David Murray 4ee6d25b18 Improve English phrasing. 2009-06-22 22:11:04 +00:00
Nick Coghlan 7c2bc8308c Issue 6288: update the contextlib.nested() docs to explain why it has been deprecated and should generally be avoided 2009-06-17 12:12:15 +00:00
Georg Brandl 476849c185 #6255: document PyInt_FromSize_t. 2009-06-17 09:43:31 +00:00
Georg Brandl 2fcf389e10 #6295: clarify blocking behavior of getch(). 2009-06-17 09:36:21 +00:00
Raymond Hettinger 3a02624059 Add usage note. 2009-06-17 01:43:47 +00:00
Georg Brandl f5af720a31 Add tabularcolumns directive for tables with bullet lists in them. 2009-06-16 17:41:33 +00:00
Tarek Ziadé f85679ceea Merged revisions 73441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73441 | tarek.ziade | 2009-06-16 09:29:52 +0200 (Tue, 16 Jun 2009) | 1 line

  Fixed #6287: documentation for the license field in distutils
........
2009-06-16 07:41:29 +00:00
Tarek Ziadé fdefc0a5a1 Fixed #6287: documentation for the license field in distutils 2009-06-16 07:29:52 +00:00
Benjamin Peterson 248886a0cd use 'rc' for release candidates for consistency 2009-06-13 14:25:08 +00:00
Antoine Pitrou 1969059327 Issue #6215: backport the 3.1 io lib 2009-06-12 20:14:08 +00:00
Raymond Hettinger d97d1fdc60 Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:18:54 +00:00
Raymond Hettinger 2c0cdca564 Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:14:53 +00:00
Raymond Hettinger 75b544886b Add example of how to do key lookups with bisect(). 2009-06-11 22:08:48 +00:00
Raymond Hettinger 2742e7e584 Move comment to correct line. 2009-06-11 22:08:10 +00:00
Raymond Hettinger 16e527fc1a Add example of how to do key lookups with bisect(). 2009-06-11 22:04:49 +00:00
Raymond Hettinger 87be88c2e9 Add example of how to do key lookups with bisect(). 2009-06-11 22:04:00 +00:00
Amaury Forgeot d'Arc d81333c540 Fix a typo spotted by Nick Coghlan. 2009-06-10 20:30:19 +00:00
Amaury Forgeot d'Arc d708c8703e Both kind of types are concerned. 2009-06-09 23:18:50 +00:00
Amaury Forgeot d'Arc 901f200c81 #6201: Fix test_winreg on Windows:
since the introduction of the SETUP_WITH opcode,
__enter__ and __exit__ methods must belong to the type,
and are not retrieved at the instance level (__dict__ or __getattr__).

Add a note in whatsnew about this incompatibility;
old style classes are not affected.
2009-06-09 23:08:13 +00:00
R. David Murray ccb9d4b21c Issue 2947: document how return code handling translates from
os.popen to subprocess.  Also fixes reference link in the
os.spawn documentation.
2009-06-09 00:44:22 +00:00
Georg Brandl 2cc39ad242 #6238: add fillchar to string.just function family. 2009-06-08 16:03:41 +00:00
Georg Brandl e590d57d06 #6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf(). 2009-06-08 13:34:52 +00:00
Georg Brandl 42a826408b Remove period from end of headings. 2009-06-08 07:57:35 +00:00
Kristján Valur Jónsson afefcfd4bf http://bugs.python.org/issue6192
Add a feature to disable the Nagle algorithm on sockets in TCPServer
2009-06-07 16:43:23 +00:00
Georg Brandl 18187e2167 #6224: s/JPython/Jython/, and remove one link to a module nine years old. 2009-06-06 18:21:58 +00:00
Georg Brandl e3b9b5e4ed #6204: use a real reference instead of "see later". 2009-06-06 17:51:31 +00:00
Georg Brandl 4c324b9801 #6211: elaborate a bit on ways to call the function. 2009-06-06 17:50:05 +00:00
Eric Smith 687f540737 Merged revisions 73224 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73224 | eric.smith | 2009-06-04 13:58:15 -0400 (Thu, 04 Jun 2009) | 1 line

  Minor documentation fixes for logging.
........
2009-06-04 18:15:48 +00:00
Eric Smith e7dbebbadf Minor documentation fixes for logging. 2009-06-04 17:58:15 +00:00
Georg Brandl 5000b3b8a7 #6175: document that inet_aton supports alternate input formats with less than three dots. 2009-06-04 10:27:21 +00:00
Georg Brandl 4a20b1ad51 #6176: fix man page section for flock(2). 2009-06-04 10:22:31 +00:00
Georg Brandl 3a5971c237 #5967: note that the C slicing APIs do not support negative indices. 2009-06-04 10:15:57 +00:00
Georg Brandl 0eca77c40c #6174: fix indentation in code example. 2009-06-03 21:21:09 +00:00
Georg Brandl c1edec3374 Use the preferred form of raise statements in the docs. 2009-06-03 07:25:35 +00:00
Andrew M. Kuchling 764fbcb098 The class for regexes isn't called RegexObject any more; correct the text 2009-06-01 00:14:19 +00:00
R. David Murray e6a4d78a62 Merged revisions 73077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73077 | r.david.murray | 2009-05-31 15:15:57 -0400 (Sun, 31 May 2009) | 4 lines

  Issue 3848: document the fact that epoll register raises an IOError if
  an fd is registered twice, and add some additional epoll tests.  Patch
  by Christian Heimes.
........
2009-05-31 19:29:05 +00:00
R. David Murray 8fcaebbef4 Issue 3848: document the fact that epoll register raises an IOError if
an fd is registered twice, and add some additional epoll tests.  Patch
by Christian Heimes.
2009-05-31 19:15:57 +00:00
Antoine Pitrou 4698d9928e Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
regression tests in parallel, shortening the total runtime.
2009-05-31 14:20:14 +00:00
Georg Brandl d198b76d36 Fix markup. 2009-05-31 14:15:25 +00:00
Benjamin Peterson d7ead0c23f fix signature 2009-05-31 00:42:42 +00:00
Gregory P. Smith 2152ca390b Add more examples to the ipaddr documentation. 2009-05-30 19:58:11 +00:00
Georg Brandl 2fcd17324d Rewrap a few long lines. 2009-05-30 10:45:40 +00:00
Georg Brandl 6da0e6ac5a Fix markup problem. 2009-05-30 10:34:25 +00:00
Georg Brandl 6a4689887c Fix some more small markup problems. 2009-05-30 10:33:23 +00:00
Georg Brandl 7be493a86c Use preferred form of raising exceptions. 2009-05-30 07:31:25 +00:00
Georg Brandl ccbb47be5e #6146: fix markup bug. 2009-05-30 07:26:04 +00:00
Benjamin Peterson ecf3c62440 no fdatasync on macos 2009-05-30 03:10:52 +00:00
Raymond Hettinger b09f198362 Move the basic examples section back to the beginning. 2009-05-29 21:20:41 +00:00
Michael Foord b4a81c838a Add test discovery to unittest. Issue 6001. 2009-05-29 20:33:46 +00:00
R. David Murray fe6e784a9d Issue 6141: document that the first item of args is still the
command name even when executable is specified.
2009-05-29 19:30:27 +00:00
Raymond Hettinger 822b87f276 Deprecate contextlib.nested(). The with-statement now provides this functionality directly. 2009-05-29 01:46:48 +00:00
Benjamin Peterson 88c0f8567e Merged revisions 72971 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72971 | benjamin.peterson | 2009-05-27 22:02:13 -0500 (Wed, 27 May 2009) | 1 line

  switch library reference and language reference
........
2009-05-28 03:27:58 +00:00
Benjamin Peterson 1075c9b431 switch library reference and language reference 2009-05-28 03:02:13 +00:00
Raymond Hettinger a68cad13ae Fix field name conflicts for named tuples. 2009-05-27 02:24:45 +00:00
Raymond Hettinger 4f1e16338d Fix field name conflicts for named tuples. 2009-05-27 02:17:26 +00:00
Georg Brandl e081eef126 Merged revisions 72319-72320,72467,72661,72675-72679,72703,72708,72710,72712,72801-72802,72820,72822,72824,72826-72828,72830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72319 | georg.brandl | 2009-05-05 10:28:49 +0200 (Di, 05 Mai 2009) | 1 line

  #1309567: fix linecache behavior of stripping subdirectories from paths when looking for relative filename matches. Also add a linecache test suite.
........
  r72320 | georg.brandl | 2009-05-05 10:30:28 +0200 (Di, 05 Mai 2009) | 1 line

  Add a news entry for r72319.
........
  r72467 | georg.brandl | 2009-05-08 14:17:34 +0200 (Fr, 08 Mai 2009) | 1 line

  Fix name.
........
  r72661 | georg.brandl | 2009-05-15 10:03:03 +0200 (Fr, 15 Mai 2009) | 1 line

  Fix example output for doctest-like demos.
........
  r72675 | georg.brandl | 2009-05-16 13:13:21 +0200 (Sa, 16 Mai 2009) | 1 line

  #6034: clarify __reversed__ doc.
........
  r72676 | georg.brandl | 2009-05-16 13:14:46 +0200 (Sa, 16 Mai 2009) | 1 line

  #6025: fix signature of parse().
........
  r72677 | georg.brandl | 2009-05-16 13:18:55 +0200 (Sa, 16 Mai 2009) | 1 line

  #6009: undocument default argument of Option as deprecated.
........
  r72678 | georg.brandl | 2009-05-16 13:21:29 +0200 (Sa, 16 Mai 2009) | 1 line

  #2856: document 2.x os.listdir() behavior for undecodable filenames.
........
  r72679 | georg.brandl | 2009-05-16 13:24:41 +0200 (Sa, 16 Mai 2009) | 1 line

  Fix about and bugs pages to match real workflow.
........
  r72703 | georg.brandl | 2009-05-17 10:10:27 +0200 (So, 17 Mai 2009) | 1 line

  part of #4144: fix exception message in console session.
........
  r72708 | georg.brandl | 2009-05-17 10:24:29 +0200 (So, 17 Mai 2009) | 1 line

  #6017: better document behavior of dictiterators when the dict is changed.
........
  r72710 | georg.brandl | 2009-05-17 10:36:04 +0200 (So, 17 Mai 2009) | 1 line

  #5942: Copy over flag table from dbm.rst which is clearer.
........
  r72712 | georg.brandl | 2009-05-17 10:55:00 +0200 (So, 17 Mai 2009) | 1 line

  #5935: mention that BROWSER is looked for in PATH.
........
  r72801 | georg.brandl | 2009-05-20 20:31:14 +0200 (Mi, 20 Mai 2009) | 1 line

  #6055: refer to "sqlite3" consistently.
........
  r72802 | georg.brandl | 2009-05-20 20:35:27 +0200 (Mi, 20 Mai 2009) | 1 line

  #6051: refer to email examples for better way to construct email messages.
........
  r72820 | georg.brandl | 2009-05-22 09:23:32 +0200 (Fr, 22 Mai 2009) | 1 line

  Use raise X(y).
........
  r72822 | georg.brandl | 2009-05-22 11:33:25 +0200 (Fr, 22 Mai 2009) | 1 line

  #6084: fix example.
........
  r72824 | georg.brandl | 2009-05-22 11:43:17 +0200 (Fr, 22 Mai 2009) | 1 line

  Fix references to file-related functions and methods (os.* vs file.*).
........
  r72826 | georg.brandl | 2009-05-22 11:49:42 +0200 (Fr, 22 Mai 2009) | 1 line

  Fix confusing wording.
........
  r72827 | georg.brandl | 2009-05-22 11:50:30 +0200 (Fr, 22 Mai 2009) | 1 line

  s/use/call/
........
  r72828 | georg.brandl | 2009-05-22 11:58:48 +0200 (Fr, 22 Mai 2009) | 1 line

  Correction in softspace behavior description.
........
  r72830 | georg.brandl | 2009-05-22 12:40:00 +0200 (Fr, 22 Mai 2009) | 1 line

  #6086: fix spelling and use a better exception to catch.
........
2009-05-26 09:04:23 +00:00
Georg Brandl 0b4d94515b Merged revisions 72085,72132,72159,72288,72290,72292 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72085 | georg.brandl | 2009-04-28 23:48:35 +0200 (Di, 28 Apr 2009) | 1 line

  Make the doctests in the docs pass, except for those in the turtle module.
........
  r72132 | georg.brandl | 2009-04-30 00:44:07 +0200 (Do, 30 Apr 2009) | 1 line

  #5878: fix repr of re object.
........
  r72159 | georg.brandl | 2009-05-01 10:51:37 +0200 (Fr, 01 Mai 2009) | 2 lines

  #5889: remove comma at the end of a list that some C compilers don't like.
........
  r72288 | georg.brandl | 2009-05-04 22:42:08 +0200 (Mo, 04 Mai 2009) | 1 line

  #5925: fix highlighting of keyword table.
........
  r72290 | georg.brandl | 2009-05-04 22:45:13 +0200 (Mo, 04 Mai 2009) | 1 line

  #5927, 5928: typos.
........
  r72292 | georg.brandl | 2009-05-04 22:49:17 +0200 (Mo, 04 Mai 2009) | 1 line

  #5916, 5917: small socket doc improvements.
........
2009-05-26 08:50:50 +00:00
Georg Brandl bbc5cc1e1d Merged revisions 72932 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72932 | georg.brandl | 2009-05-26 09:50:23 +0200 (Di, 26 Mai 2009) | 1 line

  #6112: list.remove raises ValueError, not RuntimeError.
........
2009-05-26 07:50:52 +00:00
Georg Brandl 4ee8282229 #6112: list.remove raises ValueError, not RuntimeError. 2009-05-26 07:50:23 +00:00
Georg Brandl 944f684ce6 Allow multiple context managers in one with statement, as proposed
in http://codereview.appspot.com/53094 and accepted by Guido.

The construct is transformed into multiple With AST nodes so that
there should be no problems with the semantics.
2009-05-25 21:02:56 +00:00
Benjamin Peterson 1880d8b823 add a SETUP_WITH opcode
It speeds up the with statement and correctly looks up the special
methods involved.
2009-05-25 13:13:44 +00:00
Benjamin Peterson 176a56c69b make class skipping decorators the same as skipping every test of the class
This removes ClassTestSuite and a good bit of hacks.
2009-05-25 00:48:58 +00:00
Gregory P. Smith d03e1b4475 add a versionadded tag for set_tunnel 2009-05-24 18:00:13 +00:00
Senthil Kumaran e266f25cf1 Fixed Issue1424152, urllib2 fails with HTTPS over Proxy. 2009-05-24 09:14:50 +00:00
Jeffrey Yasskin 655d835415 Issue #6042:
lnotab-based tracing is very complicated and isn't documented very well.  There
were at least 3 comment blocks purporting to document co_lnotab, and none did a
very good job. This patch unifies them into Objects/lnotab_notes.txt which
tries to completely capture the current state of affairs.

I also discovered that we've attached 2 layers of patches to the basic tracing
scheme. The first layer avoids jumping to instructions that don't start a line,
to avoid problems in if statements and while loops.  The second layer
discovered that jumps backward do need to trace at instructions that don't
start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
added a special case for backward jumps within the same line. I replaced these
patches by just treating forward and backward jumps differently.
2009-05-23 23:23:01 +00:00
Benjamin Peterson 91d517c54b remove mention of old ctypes version 2009-05-23 20:59:09 +00:00
Georg Brandl bc4af35f9e #6086: fix spelling and use a better exception to catch. 2009-05-22 10:40:00 +00:00
Georg Brandl 346a38dbc0 Correction in softspace behavior description. 2009-05-22 09:58:48 +00:00
Georg Brandl e15048ea37 s/use/call/ 2009-05-22 09:50:30 +00:00
Georg Brandl 22396da5ee Fix confusing wording. 2009-05-22 09:49:42 +00:00
Georg Brandl 012408c2b9 Fix references to file-related functions and methods (os.* vs file.*). 2009-05-22 09:43:17 +00:00
Georg Brandl fa0123b4fa #6084: fix example. 2009-05-22 09:33:25 +00:00
Georg Brandl 5a8d7eb7f1 Use raise X(y). 2009-05-22 07:23:32 +00:00
Philip Jenvey 739aa36818 don't use subprocess.call with PIPEs as the child can fill the pipe buf and
deadlock. add a warning to subprocess docs about this, similar to Popen.wait's.
refs http://bugs.jython.org/issue1351
2009-05-22 05:35:32 +00:00
Raymond Hettinger 002da5be5c Sync-up examples with Py2.7 updates. 2009-05-22 01:16:46 +00:00
Raymond Hettinger 9b6f13ee82 Fix-up moving average example. 2009-05-22 01:06:44 +00:00
Georg Brandl ac2380b58a #6051: refer to email examples for better way to construct email messages. 2009-05-20 18:35:27 +00:00
Georg Brandl 498a9b3491 #6055: refer to "sqlite3" consistently. 2009-05-20 18:31:14 +00:00
Raymond Hettinger 50f362fffa Note that ordered dictionaries work with reversed(). 2009-05-19 17:43:59 +00:00
Benjamin Peterson 5605416100 chop off slash 2009-05-17 16:59:27 +00:00
Benjamin Peterson cadaf551e0 ignore .rst files in sphinx its self 2009-05-17 14:16:29 +00:00
Georg Brandl 903953c19e #5935: mention that BROWSER is looked for in PATH. 2009-05-17 08:55:00 +00:00
Georg Brandl ee8e08b8b6 #5942: Copy over flag table from dbm.rst which is clearer. 2009-05-17 08:36:04 +00:00
Georg Brandl 4c8b1c7a59 #6017: better document behavior of dictiterators when the dict is changed. 2009-05-17 08:24:29 +00:00
Georg Brandl 5e88eea994 part of #4144: fix exception message in console session. 2009-05-17 08:10:27 +00:00
Georg Brandl c03cd4ca8e Fix about and bugs pages to match real workflow. 2009-05-16 11:24:41 +00:00
Georg Brandl d933cc293b #2856: document 2.x os.listdir() behavior for undecodable filenames. 2009-05-16 11:21:29 +00:00
Georg Brandl 14315d6513 #6009: undocument default argument of Option as deprecated. 2009-05-16 11:18:55 +00:00
Georg Brandl 29d3a04618 #6025: fix signature of parse(). 2009-05-16 11:14:46 +00:00
Georg Brandl 8dc3b445ec #6034: clarify __reversed__ doc. 2009-05-16 11:13:21 +00:00
Georg Brandl 490096e760 Fix example output for doctest-like demos. 2009-05-15 08:03:03 +00:00
Benjamin Peterson 51d06abc99 importlib.import_module is better these days 2009-05-14 00:33:10 +00:00
R. David Murray 28d09d68be Merged revisions 72572 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72572 | r.david.murray | 2009-05-11 21:36:57 -0400 (Mon, 11 May 2009) | 3 lines

  Make it clear up front that shelve only records changes
  when objects are assigned back to it when writeback is False.
........
2009-05-12 01:38:25 +00:00
R. David Murray 7118954914 Make it clear up front that shelve only records changes
when objects are assigned back to it when writeback is False.
2009-05-12 01:36:57 +00:00
Michael Foord 5d31e057c5 Adds a verbosity keyword argument to unittest.main plus a minor fix allowing you to specify test modules / classes
from the command line.

Closes issue 5995.

Michael Foord
2009-05-11 17:59:43 +00:00
Benjamin Peterson 3dabc10134 sys.setdefaultencoding() strikes me as a bad example 2009-05-10 23:52:09 +00:00
Jeffrey Yasskin f7f858d141 Issue 5954, PyFrame_GetLineNumber:
Most uses of PyCode_Addr2Line
(http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
the line number of a specified frame, but there's no way to do that directly.
Forcing people to go through the code object makes them know more about the
guts of the interpreter than they should need.

The remaining uses of PyCode_Addr2Line seem to be getting the line from a
traceback (for example,
http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&q=PyCode_Addr2Line),
which is replaced by the tb_lineno field.  So we may be able to deprecate
PyCode_Addr2Line entirely for external use.
2009-05-08 22:23:21 +00:00
Jeffrey Yasskin 1aa4700234 PyCode_NewEmpty:
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
are trying to build an empty code object, usually to put it in a dummy frame
object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
just the filename, function name, and first line number, instead of also
requiring lots of code internals.
2009-05-08 21:51:06 +00:00
Georg Brandl d8282eeb51 Fix name. 2009-05-08 12:17:34 +00:00
Eric Smith 98ff81deec Merged revisions 72439 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72439 | eric.smith | 2009-05-07 15:36:09 -0400 (Thu, 07 May 2009) | 1 line

  Fixed wording for formatting integers: precision is not allowed.
........
2009-05-07 19:37:22 +00:00
Eric Smith 7523234abf Fixed wording for formatting integers: precision is not allowed. 2009-05-07 19:36:09 +00:00
R. David Murray dd26681155 Revert inappropriate doc change. 2009-05-07 01:43:57 +00:00
R. David Murray e202700f4f Document how to pass a 'decode' argument to get_payload when
is_multipart is False.
2009-05-07 01:39:25 +00:00
Andrew M. Kuchling 0dfd954292 Merged revisions 72415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72415 | andrew.kuchling | 2009-05-06 18:54:19 -0400 (Wed, 06 May 2009) | 1 line

  Remove two dead links
........
2009-05-06 23:00:43 +00:00
Andrew M. Kuchling 1271662067 Remove two dead links 2009-05-06 22:54:19 +00:00
Eric Smith a985a3aee4 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 2009-05-05 18:26:08 +00:00
Georg Brandl 4d4313d59d #5142: add module skipping feature to pdb. 2009-05-05 08:54:11 +00:00
R. David Murray a7badef535 Merged revisions 72149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72149 | r.david.murray | 2009-04-30 08:42:32 -0400 (Thu, 30 Apr 2009) | 4 lines

  Make the turtle.rst doctests pass.  I have a feeling there should be
  more cleanup, but I don't know now to kill turtles.  Especially
  unexpected ones... ;)
........
2009-05-05 01:11:21 +00:00
Georg Brandl e3a3726b3d #5916, 5917: small socket doc improvements. 2009-05-04 20:49:17 +00:00
Georg Brandl f5f045e470 #5927, 5928: typos. 2009-05-04 20:45:13 +00:00
Georg Brandl 2ca9be4a0c #5925: fix highlighting of keyword table. 2009-05-04 20:42:08 +00:00
Gregory P. Smith d02eedacab Issue #4751: For hashlib algorithms provided by OpenSSL, the Python
GIL is now released during computation on data lengths >= 2048 bytes.
2009-05-04 00:16:49 +00:00
Michael Foord 07ef487a96 2009-05-02 22:43:34 +00:00
Benjamin Peterson 2b42c29a50 add myself 2009-05-02 20:26:53 +00:00
Michael Foord e2fb98f467 Add addCleanup and doCleanups to unittest.TestCase.
Closes issue 5679.

Michael Foord
2009-05-02 20:15:05 +00:00
Andrew M. Kuchling 92b970037b Add items 2009-05-02 17:12:15 +00:00
Michael Foord 829f6b8052 Adds an exit parameter to unittest.main(). If False main no longer
calls sys.exit.

Closes issue 3379.

Michael Foord
2009-05-02 11:43:06 +00:00
Georg Brandl 24cc78ac61 Fix directive name. 2009-05-01 21:30:25 +00:00
Georg Brandl b64b8278d1 Review ipaddr docs and add them in the TOC under "Internet protocols". 2009-05-01 21:28:35 +00:00
Gregory P. Smith 1d499265e0 Adds the ipaddr module to the standard library. Issue #3959.
Based off of subversion r69 from http://code.google.com/p/ipaddr-py/

This code is 2to3 safe, I'll merge it into py3k later this afternoon.
2009-05-01 19:59:52 +00:00
Walter Dörwald 6733bed57e Make test.test_support.EnvironmentVarGuard behave like a dictionary.
All changes are mirrored to the underlying os.environ dict, but rolled back
on exit from the with block.
2009-05-01 17:35:37 +00:00
R. David Murray b01c6e53ed Make the turtle.rst doctests pass. I have a feeling there should be
more cleanup, but I don't know now to kill turtles.  Especially
unexpected ones... ;)
2009-04-30 12:42:32 +00:00
Georg Brandl 8c5326f103 #5878: fix repr of re object. 2009-04-29 22:44:07 +00:00
Jeroen Ruigrok van der Werven 0051bf3123 Merged revisions 71873-71874,71882,71890,71893,71898-71900,71910,71914-71923,71925-71929,71931-71934,71937 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71873 | jeroen.ruigrok | 2009-04-25 13:15:06 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to expanding.
........
  r71874 | jeroen.ruigrok | 2009-04-25 13:59:09 +0200 (za, 25 apr 2009) | 2 lines

  First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.
........
  r71882 | jeroen.ruigrok | 2009-04-25 14:49:10 +0200 (za, 25 apr 2009) | 3 lines

  Issue #4239: adjust email examples not to use connect() and terminate with
  quit() and not close().
........
  r71890 | jeroen.ruigrok | 2009-04-25 15:07:40 +0200 (za, 25 apr 2009) | 3 lines

  Rewrite a sentence to be more in line with the rest of the documentation with
  regard to person and audience.
........
  r71893 | jeroen.ruigrok | 2009-04-25 15:58:58 +0200 (za, 25 apr 2009) | 2 lines

  Reformat file prior to editing.
........
  r71898 | jeroen.ruigrok | 2009-04-25 16:24:30 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71899 | jeroen.ruigrok | 2009-04-25 16:27:00 +0200 (za, 25 apr 2009) | 3 lines

  The type for ppos has been Py_ssize_t since 2.5, reflect this in the
  documentation.
........
  r71900 | jeroen.ruigrok | 2009-04-25 16:28:02 +0200 (za, 25 apr 2009) | 2 lines

  Reformat paragraph.
........
  r71910 | jeroen.ruigrok | 2009-04-25 19:59:03 +0200 (za, 25 apr 2009) | 4 lines

  Issue #4129: Belatedly document which C API functions had their argument(s) or
  return type changed from int or int * to Py_ssize_t or Py_ssize_t * as this
  might cause problems on 64-bit platforms.
........
  r71914 | jeroen.ruigrok | 2009-04-25 20:31:20 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71915 | jeroen.ruigrok | 2009-04-25 20:46:03 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: Document more int -> Py_ssize_t changes.
........
  r71916 | jeroen.ruigrok | 2009-04-25 20:53:48 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71917 | jeroen.ruigrok | 2009-04-25 20:57:32 +0200 (za, 25 apr 2009) | 2 lines

  Reference to an int type, whereas it's a Py_ssize_t as the synopsis states.
........
  r71918 | jeroen.ruigrok | 2009-04-25 21:04:15 +0200 (za, 25 apr 2009) | 2 lines

  Since I edited this file, reformat for future edits.
........
  r71919 | jeroen.ruigrok | 2009-04-25 21:10:52 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71920 | jeroen.ruigrok | 2009-04-25 21:44:55 +0200 (za, 25 apr 2009) | 5 lines

  Issue #4129: More documentation pointers about int -> Py_ssize_t.
  Also fix up the documentation for PyObject_GC_Resize(). It seems that since
  it first got documented, the documentation was actually for
  _PyObject_GC_Resize().
........
  r71921 | jeroen.ruigrok | 2009-04-25 21:46:19 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: Documentation notes for int -> Py_ssize_t changes.
........
  r71922 | jeroen.ruigrok | 2009-04-25 21:49:05 +0200 (za, 25 apr 2009) | 2 lines

  Reformat, since I've been busy here anyway.
........
  r71923 | jeroen.ruigrok | 2009-04-25 21:54:34 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: Add a versionchanged notice for a few forgotten entries.
........
  r71925 | jeroen.ruigrok | 2009-04-25 22:37:39 +0200 (za, 25 apr 2009) | 2 lines

  Since it's a macro, actually refer to it as such instead of function.
........
  r71926 | jeroen.ruigrok | 2009-04-25 22:40:10 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71927 | jeroen.ruigrok | 2009-04-25 22:41:40 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: int -> Py_ssize_t documentation.
........
  r71928 | jeroen.ruigrok | 2009-04-25 22:43:30 +0200 (za, 25 apr 2009) | 2 lines

  Reformat prior to editing.
........
  r71929 | jeroen.ruigrok | 2009-04-25 22:44:58 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: int -> Py_ssize_t documentation.
........
  r71931 | jeroen.ruigrok | 2009-04-25 22:50:27 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: int -> Py_ssize_t documentation.
........
  r71932 | jeroen.ruigrok | 2009-04-25 22:55:39 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: more int -> Py_ssize_t documentation.
........
  r71933 | jeroen.ruigrok | 2009-04-25 22:58:35 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: more int -> Py_ssize_t documentation.
........
  r71934 | jeroen.ruigrok | 2009-04-25 23:02:34 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: field changed from int to Py_ssize_t.
........
  r71937 | jeroen.ruigrok | 2009-04-25 23:16:05 +0200 (za, 25 apr 2009) | 2 lines

  Issue #4129: document int -> Py_ssize_t changes.
........
2009-04-29 08:00:05 +00:00
Georg Brandl f6dab9542c Make the doctests in the docs pass, except for those in the turtle module. 2009-04-28 21:48:35 +00:00
R. David Murray 1cf26c0145 Merged revisions 72079 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72079 | r.david.murray | 2009-04-28 15:02:55 -0400 (Tue, 28 Apr 2009) | 2 lines

  Remove spurious 'u'.
........
2009-04-28 19:03:51 +00:00
R. David Murray 3b23c9c516 Remove spurious 'u'. 2009-04-28 19:02:55 +00:00
R. David Murray 52cad4032f Merged revisions 72038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72038 | r.david.murray | 2009-04-27 13:22:36 -0400 (Mon, 27 Apr 2009) | 8 lines

  Make sys.xxx variable references into links, note that print_last only
  works when an exception gets to the interactive prompt, and update the
  examples after testing.  The last one is now a valid Sphinx doctest,
  but of the preceding two one can't be made a doctest and the other one
  I'm postponing to 3.x because sphinx handles doctests as Unicode strings
  and that makes the 2.x output confusing.
........
2009-04-28 19:01:43 +00:00
Georg Brandl 6d1169be57 Move comment to the right place. 2009-04-28 18:24:36 +00:00
Georg Brandl 3885314b11 Merged revisions 72007-72010,72036-72037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72007 | georg.brandl | 2009-04-27 17:09:25 +0200 (Mo, 27 Apr 2009) | 1 line

  #5856: fix typo s in traceback example.
........
  r72008 | georg.brandl | 2009-04-27 17:10:44 +0200 (Mo, 27 Apr 2009) | 1 line

  Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items.
........
  r72009 | georg.brandl | 2009-04-27 17:29:09 +0200 (Mo, 27 Apr 2009) | 3 lines

  Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
  should clutter the docs as possible.  Part 1: stuff that gets merged to Py3k.
........
  r72010 | georg.brandl | 2009-04-27 17:29:26 +0200 (Mo, 27 Apr 2009) | 2 lines

  Demote warnings to notices, part 2: stuff that is 2.x-only.
........
  r72036 | georg.brandl | 2009-04-27 19:04:23 +0200 (Mo, 27 Apr 2009) | 1 line

  #5848: small unittest doc patch.
........
  r72037 | georg.brandl | 2009-04-27 19:09:53 +0200 (Mo, 27 Apr 2009) | 1 line

  #5840: dont claim we dont support TLS.
........
2009-04-28 18:23:28 +00:00
Georg Brandl 6488969e44 Merged revisions 71956-71959 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71956 | georg.brandl | 2009-04-26 08:05:18 +0200 (So, 26 Apr 2009) | 1 line

  Update versions in instructions for manual set-up.
........
  r71957 | georg.brandl | 2009-04-26 08:05:58 +0200 (So, 26 Apr 2009) | 2 lines

  Note that the versions are also in README.txt.
........
  r71958 | georg.brandl | 2009-04-26 08:06:19 +0200 (So, 26 Apr 2009) | 1 line

  Remove outdated TODO file.
........
  r71959 | georg.brandl | 2009-04-26 08:06:53 +0200 (So, 26 Apr 2009) | 2 lines

  Another file where the versions need to be up to date.
........
2009-04-28 18:20:24 +00:00
Georg Brandl 91e3f770a1 Merged revisions 71786-71787,71814-71817,71901-71903 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71786 | georg.brandl | 2009-04-21 20:23:08 +0200 (Di, 21 Apr 2009) | 1 line

  #5757: fix copy-paste error in notify().
........
  r71787 | georg.brandl | 2009-04-21 20:24:34 +0200 (Di, 21 Apr 2009) | 1 line

  #5751: fix escaping of \\n.
........
  r71814 | georg.brandl | 2009-04-23 10:44:57 +0200 (Do, 23 Apr 2009) | 1 line

  #5820: fix bug in usage of getreader().
........
  r71815 | georg.brandl | 2009-04-23 10:49:39 +0200 (Do, 23 Apr 2009) | 1 line

  Fix rewrapping accident.
........
  r71816 | georg.brandl | 2009-04-23 10:49:56 +0200 (Do, 23 Apr 2009) | 1 line

  #5813: add a reference to the "future statements" section.
........
  r71817 | georg.brandl | 2009-04-23 10:52:03 +0200 (Do, 23 Apr 2009) | 1 line

  Add link to PEP 236.
........
  r71901 | georg.brandl | 2009-04-25 16:50:25 +0200 (Sa, 25 Apr 2009) | 1 line

  #3320: fix spelling.
........
  r71902 | georg.brandl | 2009-04-25 16:51:31 +0200 (Sa, 25 Apr 2009) | 1 line

  #5834: use "failure" instead of "error" because the two have different meanings in unittest context.
........
  r71903 | georg.brandl | 2009-04-25 17:05:04 +0200 (Sa, 25 Apr 2009) | 1 line

  #5821: add some capabilities of TarFile's file-like object.
........
2009-04-28 18:18:53 +00:00
Georg Brandl 537caa2a0d Merged revisions 71540,71544,71546,71563,71572,71607,71653 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71540 | georg.brandl | 2009-04-12 22:30:53 +0200 (So, 12 Apr 2009) | 1 line

  #5719: add short usage example to optparse docstring.
........
  r71544 | benjamin.peterson | 2009-04-13 01:19:56 +0200 (Mo, 13 Apr 2009) | 1 line

  fix extra parenthesis #5774
........
  r71546 | benjamin.peterson | 2009-04-13 01:44:15 +0200 (Mo, 13 Apr 2009) | 1 line

  fix missing quote
........
  r71563 | georg.brandl | 2009-04-13 14:36:18 +0200 (Mo, 13 Apr 2009) | 1 line

  Simplify markup.
........
  r71572 | georg.brandl | 2009-04-13 15:13:25 +0200 (Mo, 13 Apr 2009) | 1 line

  #5745: more linking for identifiers in email docs.
........
  r71607 | benjamin.peterson | 2009-04-14 23:23:09 +0200 (Di, 14 Apr 2009) | 1 line

  tupel -> tuple
........
  r71653 | raymond.hettinger | 2009-04-16 20:16:10 +0200 (Do, 16 Apr 2009) | 1 line

  Clarify the behavior of any() and all() with an empty iterable.
........
2009-04-28 18:16:02 +00:00
Georg Brandl 583bdc0b42 Merged revisions 71397-71398,71441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71397 | georg.brandl | 2009-04-08 18:36:39 +0200 (Mi, 08 Apr 2009) | 1 line

  Remove redundant backtick.
........
  r71398 | georg.brandl | 2009-04-08 18:39:04 +0200 (Mi, 08 Apr 2009) | 1 line

  Update ignore file for suspicious builder.
........
  r71441 | georg.brandl | 2009-04-10 10:16:47 +0200 (Fr, 10 Apr 2009) | 1 line

  Let "lambda" point to the correct heading.
........
2009-04-28 18:11:53 +00:00
R. David Murray db5c3bd28f Merged revisions 72060 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72060 | r.david.murray | 2009-04-28 12:08:18 -0400 (Tue, 28 Apr 2009) | 10 lines

  Various small fixups to the multiprocessing docs, mostly fixing and
  enabling doctests that Sphinx can run, and fixing and disabling tests that
  Sphinx can't run.  I hand checked every test not now marked as a doctest,
  and all except the two that have open bug reports against them now work,
  at least on Linux/trunk. (I did not look at the last example at all since
  there was already an open bug).  I did not read the whole document with
  an editor's eye, but I did fix a few things I noticed while working on
  the tests.
........
2009-04-28 18:06:10 +00:00
R. David Murray 636b23a96f Various small fixups to the multiprocessing docs, mostly fixing and
enabling doctests that Sphinx can run, and fixing and disabling tests that
Sphinx can't run.  I hand checked every test not now marked as a doctest,
and all except the two that have open bug reports against them now work,
at least on Linux/trunk. (I did not look at the last example at all since
there was already an open bug).  I did not read the whole document with
an editor's eye, but I did fix a few things I noticed while working on
the tests.
2009-04-28 16:08:18 +00:00
Raymond Hettinger 8b8f8cc1b0 Add example to the seealso section. 2009-04-27 21:12:54 +00:00
R. David Murray ec047e0725 Make sys.xxx variable references into links, note that print_last only
works when an exception gets to the interactive prompt, and update the
examples after testing.  The last one is now a valid Sphinx doctest,
but of the preceding two one can't be made a doctest and the other one
I'm postponing to 3.x because sphinx handles doctests as Unicode strings
and that makes the 2.x output confusing.
2009-04-27 17:22:36 +00:00
Georg Brandl 2622b549d7 #5840: dont claim we dont support TLS. 2009-04-27 17:09:53 +00:00
Georg Brandl 9bc668251f #5848: small unittest doc patch. 2009-04-27 17:04:23 +00:00
Georg Brandl b44c9f357d Demote warnings to notices, part 2: stuff that is 2.x-only. 2009-04-27 15:29:26 +00:00
Georg Brandl 16a57f6a34 Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
should clutter the docs as possible.  Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
Georg Brandl d91f8cf779 Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items. 2009-04-27 15:10:44 +00:00
Georg Brandl e1b79ce17e #5856: fix typo s in traceback example. 2009-04-27 15:09:25 +00:00
Eric Smith f254aab098 Note that the caller is resposible for freeing the result of PyOS_double_to_string. 2009-04-26 10:05:11 +00:00
Georg Brandl 438192540d Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/. 2009-04-26 09:56:44 +00:00
Georg Brandl 0d478c455b Another file where the versions need to be up to date. 2009-04-26 06:06:53 +00:00
Georg Brandl aa9eb9e163 Remove outdated TODO file. 2009-04-26 06:06:19 +00:00
Georg Brandl 576574f5dd Note that the versions are also in README.txt. 2009-04-26 06:05:58 +00:00
Georg Brandl dbc5b4b66f Update versions in instructions for manual set-up. 2009-04-26 06:05:18 +00:00
Georg Brandl afb0d6ef39 Mostly formatting nits, and "and-ed together" -> "or-ed together" flags. 2009-04-26 06:01:04 +00:00
Eric Smith 068f06568b Issue #5835, deprecate PyOS_ascii_formatd.
If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great.

Will port to py3k with a different strategy.
2009-04-25 21:40:15 +00:00
Jeroen Ruigrok van der Werven dfcffd4044 Issue #4129: document int -> Py_ssize_t changes. 2009-04-25 21:16:05 +00:00
Jeroen Ruigrok van der Werven 436f1a2e0d Issue #4129: field changed from int to Py_ssize_t. 2009-04-25 21:02:34 +00:00
Jeroen Ruigrok van der Werven acc73b74b8 Issue #4129: more int -> Py_ssize_t documentation. 2009-04-25 20:58:35 +00:00
Jeroen Ruigrok van der Werven 7b3750c8d8 Issue #4129: more int -> Py_ssize_t documentation. 2009-04-25 20:55:39 +00:00
Jeroen Ruigrok van der Werven 36378711b7 Issue #4129: int -> Py_ssize_t documentation. 2009-04-25 20:50:27 +00:00
Jeroen Ruigrok van der Werven 9594c2c5aa Issue #4129: int -> Py_ssize_t documentation. 2009-04-25 20:44:58 +00:00
Jeroen Ruigrok van der Werven 27d51f1a51 Reformat prior to editing. 2009-04-25 20:43:30 +00:00
Jeroen Ruigrok van der Werven be82d2f16f Issue #4129: int -> Py_ssize_t documentation. 2009-04-25 20:41:40 +00:00
Jeroen Ruigrok van der Werven a4c03abb9e Reformat prior to editing. 2009-04-25 20:40:10 +00:00
Jeroen Ruigrok van der Werven 9e03cee97c Since it's a macro, actually refer to it as such instead of function. 2009-04-25 20:37:39 +00:00
Jeroen Ruigrok van der Werven af15b41547 Issue #4129: Add a versionchanged notice for a few forgotten entries. 2009-04-25 19:54:34 +00:00
Jeroen Ruigrok van der Werven de0fed10c8 Reformat, since I've been busy here anyway. 2009-04-25 19:49:05 +00:00
Jeroen Ruigrok van der Werven 2aa7840f54 Issue #4129: Documentation notes for int -> Py_ssize_t changes. 2009-04-25 19:46:19 +00:00
Jeroen Ruigrok van der Werven 691f5f17ee Issue #4129: More documentation pointers about int -> Py_ssize_t.
Also fix up the documentation for PyObject_GC_Resize(). It seems that since
it first got documented, the documentation was actually for
_PyObject_GC_Resize().
2009-04-25 19:44:55 +00:00
Jeroen Ruigrok van der Werven 3537124058 Reformat prior to editing. 2009-04-25 19:10:52 +00:00
Jeroen Ruigrok van der Werven 1ae8c88030 Since I edited this file, reformat for future edits. 2009-04-25 19:04:15 +00:00
Jeroen Ruigrok van der Werven c2aa7b8a0a Reference to an int type, whereas it's a Py_ssize_t as the synopsis states. 2009-04-25 18:57:32 +00:00
Jeroen Ruigrok van der Werven 28c81e0bb5 Reformat prior to editing. 2009-04-25 18:53:48 +00:00
Jeroen Ruigrok van der Werven 2391918f3e Issue #4129: Document more int -> Py_ssize_t changes. 2009-04-25 18:46:03 +00:00
Jeroen Ruigrok van der Werven 84441cc3d5 Reformat prior to editing. 2009-04-25 18:31:20 +00:00
Jeroen Ruigrok van der Werven 089c5cdd09 Issue #4129: Belatedly document which C API functions had their argument(s) or
return type changed from int or int * to Py_ssize_t or Py_ssize_t * as this
might cause problems on 64-bit platforms.
2009-04-25 17:59:03 +00:00
Georg Brandl 208b00d03f #5841: add deprecation py3k warning and notice in the docs for commands module. 2009-04-25 15:11:29 +00:00
Georg Brandl cf5608df81 #5821: add some capabilities of TarFile's file-like object. 2009-04-25 15:05:04 +00:00
Georg Brandl 64034bbf84 #5834: use "failure" instead of "error" because the two have different meanings in unittest context. 2009-04-25 14:51:31 +00:00
Georg Brandl b581804d69 #3320: fix spelling. 2009-04-25 14:50:25 +00:00
Jeroen Ruigrok van der Werven 6f1d543133 Reformat paragraph. 2009-04-25 14:28:02 +00:00
Jeroen Ruigrok van der Werven 325a997efb The type for ppos has been Py_ssize_t since 2.5, reflect this in the
documentation.
2009-04-25 14:27:00 +00:00
Jeroen Ruigrok van der Werven c42c099436 Reformat prior to editing. 2009-04-25 14:24:30 +00:00
Jeroen Ruigrok van der Werven 140d9d673e Reformat file prior to editing. 2009-04-25 13:58:58 +00:00
Jeroen Ruigrok van der Werven 2dcf46ee2c Rewrite a sentence to be more in line with the rest of the documentation with
regard to person and audience.
2009-04-25 13:07:40 +00:00
Jeroen Ruigrok van der Werven a2dce5a9ee Issue #4239: adjust email examples not to use connect() and terminate with
quit() and not close().
2009-04-25 12:49:10 +00:00
Jeroen Ruigrok van der Werven 162641a24c First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT. 2009-04-25 11:59:09 +00:00
Jeroen Ruigrok van der Werven bc25bf9d3e Reformat prior to expanding. 2009-04-25 11:15:06 +00:00
Georg Brandl 508c423fe1 Add link to PEP 236. 2009-04-23 08:52:03 +00:00
Georg Brandl 69923a1df6 #5813: add a reference to the "future statements" section. 2009-04-23 08:49:56 +00:00
Georg Brandl 95089bc9bf Fix rewrapping accident. 2009-04-23 08:49:39 +00:00
Georg Brandl 49cc4eafcb #5820: fix bug in usage of getreader(). 2009-04-23 08:44:57 +00:00
Mark Dickinson 8100bd8431 Issue #5812: make Fraction('1e-6') valid. Backport of r71806. 2009-04-22 18:15:25 +00:00
Nick Coghlan 5533ff6a2e Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation) 2009-04-22 15:26:04 +00:00
Eric Smith 4c074382bd Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy. 2009-04-22 00:47:00 +00:00
Georg Brandl e56101136c #5751: fix escaping of \\n. 2009-04-21 18:24:34 +00:00
Georg Brandl ce54356690 #5757: fix copy-paste error in notify(). 2009-04-21 18:23:08 +00:00
Raymond Hettinger cccfc825e4 Fix typo 2009-04-20 18:23:57 +00:00
Raymond Hettinger ceecb8d3d8 Fix typo 2009-04-20 18:23:26 +00:00
Raymond Hettinger fd2405415b Remove duplicate recipe. 2009-04-18 23:58:45 +00:00
R. David Murray b729135eee Merged revisions 71651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71651 | r.david.murray | 2009-04-16 14:12:53 -0400 (Thu, 16 Apr 2009) | 2 lines

  Less red ink (warning->note) and add link to def of side-by-side assembly.
........
2009-04-16 18:17:55 +00:00
Raymond Hettinger 76162e305c Clarify the behavior of any() and all() with an empty iterable. 2009-04-16 18:16:10 +00:00
R. David Murray 7203081025 Less red ink (warning->note) and add link to def of side-by-side assembly. 2009-04-16 18:12:53 +00:00
Hirokazu Yamamoto ad37e68227 Merged revisions 71380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71380 | raymond.hettinger | 2009-04-08 06:43:51 +0900 | 1 line

  Fix make.bat to match makefile changes
........
2009-04-16 03:25:44 +00:00
R. David Murray 7cd8f2bea3 Merged revisions 70873,70904,70934,71490,71553,71579 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70873 | josiah.carlson | 2009-03-31 15:32:34 -0400 (Tue, 31 Mar 2009) | 2 lines

  This resolves issue 1161031.  Tests pass.
........
  r70904 | josiah.carlson | 2009-03-31 17:49:36 -0400 (Tue, 31 Mar 2009) | 3 lines

  Made handle_expt_event() be called last, so that we don't accidentally read
  after closing the socket.
........
  r70934 | josiah.carlson | 2009-03-31 21:28:11 -0400 (Tue, 31 Mar 2009) | 2 lines

  Fix for failing asyncore tests.
........
  r71490 | r.david.murray | 2009-04-11 13:52:56 -0400 (Sat, 11 Apr 2009) | 4 lines

  Make test_asyncore tests match code changes introduced by the
  fix to Issue1161031, refactoring the test to simplify it in
  the process.
........
  r71553 | r.david.murray | 2009-04-12 21:06:46 -0400 (Sun, 12 Apr 2009) | 3 lines

  Adjust test_asyncore to account for intentional asyncore behavior change
  introduced by r70934 that was causing a test failure when run under -O.
........
  r71579 | r.david.murray | 2009-04-13 12:56:32 -0400 (Mon, 13 Apr 2009) | 2 lines

  Add missing NEWS item for issue1161031 fix.
........
2009-04-15 23:00:41 +00:00
R. David Murray 0ec635138f Merged revisions 71631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71631 | r.david.murray | 2009-04-15 18:33:07 -0400 (Wed, 15 Apr 2009) | 4 lines

  Fix for issue3440: add warning to subprocess discussion of
  env parameter that on Windows SystemRoot is required in order
  to run side-by-side assemblies.
........
2009-04-15 22:34:30 +00:00
R. David Murray 6076d399b4 Fix for issue3440: add warning to subprocess discussion of
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.
2009-04-15 22:33:07 +00:00
Benjamin Peterson 5c9914899b tupel -> tuple 2009-04-14 21:23:09 +00:00
Georg Brandl b48327a215 #5745: more linking for identifiers in email docs. 2009-04-13 13:13:25 +00:00
Georg Brandl 456cb1e694 Simplify markup. 2009-04-13 12:36:18 +00:00
Hirokazu Yamamoto c3ffc549e5 Merged revisions 71554-71555 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71554 | hirokazu.yamamoto | 2009-04-13 10:07:06 +0900 | 1 line

  Fixed typo. (email.Utils => email.utils)
........
  r71555 | hirokazu.yamamoto | 2009-04-13 10:21:56 +0900 | 1 line

  Fixed another typos. (email.Utils => email.utils)
........
2009-04-13 03:51:11 +00:00
Hirokazu Yamamoto 4585746fb0 Fixed another typos. (email.Utils => email.utils) 2009-04-13 01:21:56 +00:00
Hirokazu Yamamoto 3bd4058d82 Fixed typo. (email.Utils => email.utils) 2009-04-13 01:07:06 +00:00
Benjamin Peterson a9feadc0dd fix missing quote 2009-04-12 23:44:15 +00:00
Benjamin Peterson 7bedd625df fix extra parenthesis #5774 2009-04-12 23:19:56 +00:00
Eric Smith 507690c6e5 Take credit for my patch for issue 5237. 2009-04-12 02:57:29 +00:00
Georg Brandl adf681526c Add a monkeypatching hack so that the docs can still be built with Sphinx 0.5. 2009-04-11 20:34:17 +00:00
Benjamin Peterson aa0a0b9007 fix markup 2009-04-11 20:27:15 +00:00
Georg Brandl 64e1c75455 Take credit for a patch of mine. 2009-04-11 18:19:27 +00:00
Andrew M. Kuchling b2faddb610 Re-word 2009-04-11 16:18:14 +00:00
Andrew M. Kuchling 2c130b6be7 Add various items 2009-04-11 16:12:23 +00:00
Tarek Ziadé 942825f7de #5732: added the check command into Distutils 2009-04-11 14:55:07 +00:00
Tarek Ziadé 36eded9c6a Merged revisions 71467 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71467 | tarek.ziade | 2009-04-11 15:59:05 +0200 (Sat, 11 Apr 2009) | 1 line

  fixed link
........
2009-04-11 14:31:24 +00:00
Tarek Ziadé b2daff2905 fixed link 2009-04-11 13:59:05 +00:00
Nick Coghlan cd2e7042ae Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks 2009-04-11 13:31:31 +00:00
Raymond Hettinger 21fde35e71 Fix alignment 2009-04-10 19:46:51 +00:00
Raymond Hettinger 099769c0e5 No start argument 2009-04-10 18:58:58 +00:00
Raymond Hettinger 92d1951f04 Add examples. 2009-04-10 18:52:23 +00:00
Raymond Hettinger f0f475da61 Add examples. 2009-04-10 13:16:50 +00:00
Georg Brandl 5623e50d1a Let "lambda" point to the correct heading. 2009-04-10 08:16:47 +00:00
Georg Brandl 72c06ede50 Merged revisions 71424-71425,71428-71429 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71424 | raymond.hettinger | 2009-04-10 01:25:30 +0200 (Fr, 10 Apr 2009) | 1 line

  More table formatting.
........
  r71425 | raymond.hettinger | 2009-04-10 01:34:14 +0200 (Fr, 10 Apr 2009) | 1 line

  Center table headings.
........
  r71428 | raymond.hettinger | 2009-04-10 02:49:41 +0200 (Fr, 10 Apr 2009) | 1 line

  More table clean-up
........
  r71429 | raymond.hettinger | 2009-04-10 04:01:21 +0200 (Fr, 10 Apr 2009) | 1 line

  IE needs the border-left:0 for some reason.
........
2009-04-10 07:09:49 +00:00
Georg Brandl 497f03e558 Merged revisions 71409 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71409 | georg.brandl | 2009-04-09 21:01:04 +0200 (Do, 09 Apr 2009) | 1 line

  Add a custom stylesheet with better table formatting.
........
2009-04-10 07:09:05 +00:00
Raymond Hettinger c4f4697196 Fix the count of datatypes. 2009-04-10 06:38:39 +00:00
Raymond Hettinger d06358fe3e Clarify the table entries for combinatorics. 2009-04-10 04:29:23 +00:00
Raymond Hettinger f368fbc24e Clarify the table entries for combinatorics. 2009-04-10 04:25:45 +00:00
Raymond Hettinger 3f5a0b3316 IE needs the border-left:0 for some reason. 2009-04-10 02:01:21 +00:00
Raymond Hettinger 8dbae0ff15 More table clean-up 2009-04-10 00:49:41 +00:00
Raymond Hettinger 80a71a0171 Center table headings. 2009-04-09 23:34:14 +00:00
Raymond Hettinger 390fa983d7 More table formatting. 2009-04-09 23:25:30 +00:00
Raymond Hettinger c473c5aa9b Add note on using keyword arguments with OrderedDict. 2009-04-09 22:31:51 +00:00
Georg Brandl c8c358a489 Add a custom stylesheet with better table formatting. 2009-04-09 19:01:04 +00:00
Andrew M. Kuchling 5963185b23 Typo fixes 2009-04-09 11:23:36 +00:00
Andrew M. Kuchling 24520b4365 Add items 2009-04-09 11:22:47 +00:00
Georg Brandl 1e97cb2b73 Update ignore file for suspicious builder. 2009-04-08 16:39:04 +00:00
Georg Brandl 6cb1ff32c2 Remove redundant backtick. 2009-04-08 16:36:39 +00:00
Raymond Hettinger 085b998a36 Fix make.bat to match makefile changes 2009-04-07 21:43:51 +00:00
Hirokazu Yamamoto 28f4d20508 Fixed typo. 2009-04-06 00:24:29 +00:00
Tarek Ziadé 64408fb4c5 Fixed #5095: msi missing from Distutils bdist formats 2009-04-05 22:51:09 +00:00
Georg Brandl 40e15edd65 Merged revisions 69578-69580,69901,69907,69994,70022-70023,70025-70026,70166,70273,70275,70342,70386-70387,70389-70390,70392-70393,70395,70397,70400,70418 via svnmerge
........
  r69578 | georg.brandl | 2009-02-13 12:03:59 +0100 (Fr, 13 Feb 2009) | 1 line

  #3694: add test for fix committed in r66693.
........
  r69579 | georg.brandl | 2009-02-13 12:06:59 +0100 (Fr, 13 Feb 2009) | 2 lines

  Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
........
  r69580 | georg.brandl | 2009-02-13 12:10:04 +0100 (Fr, 13 Feb 2009) | 2 lines

  Fix warnings GCC emits where the argument of PyErr_Format is a single variable.
........
  r69901 | georg.brandl | 2009-02-23 12:24:46 +0100 (Mo, 23 Feb 2009) | 2 lines

  #5349: C++ pure virtuals can also have an implementation.
........
  r69907 | georg.brandl | 2009-02-23 19:33:48 +0100 (Mo, 23 Feb 2009) | 1 line

  Fix grammar.
........
  r69994 | georg.brandl | 2009-02-26 18:36:26 +0100 (Do, 26 Feb 2009) | 1 line

  Document that setting sys.py3kwarning wont do anything.
........
  r70022 | georg.brandl | 2009-02-27 17:23:18 +0100 (Fr, 27 Feb 2009) | 1 line

  #5361: fix typo.
........
  r70023 | georg.brandl | 2009-02-27 17:39:26 +0100 (Fr, 27 Feb 2009) | 1 line

  #5363: fix cmpfiles() docs. Another instance where a prose description is twice as long as the code.
........
  r70025 | georg.brandl | 2009-02-27 17:52:55 +0100 (Fr, 27 Feb 2009) | 1 line

  #5344: fix punctuation.
........
  r70026 | georg.brandl | 2009-02-27 17:59:03 +0100 (Fr, 27 Feb 2009) | 1 line

  #5365: add quick look conversion table for different time representations.
........
  r70166 | georg.brandl | 2009-03-04 19:24:41 +0100 (Mi, 04 Mär 2009) | 2 lines

  Remove obsolete stuff from string module docs.
........
  r70273 | georg.brandl | 2009-03-09 15:25:07 +0100 (Mo, 09 Mär 2009) | 2 lines

  #5458: add a note when we started to raise RuntimeErrors.
........
  r70275 | georg.brandl | 2009-03-09 17:35:48 +0100 (Mo, 09 Mär 2009) | 2 lines

  Add missing space.
........
  r70342 | georg.brandl | 2009-03-13 20:03:58 +0100 (Fr, 13 Mär 2009) | 1 line

  #5486: typos.
........
  r70386 | georg.brandl | 2009-03-15 22:32:06 +0100 (So, 15 Mär 2009) | 1 line

  #5496: fix docstring of lookup().
........
  r70387 | georg.brandl | 2009-03-15 22:37:16 +0100 (So, 15 Mär 2009) | 1 line

  #5493: clarify __nonzero__ docs.
........
  r70389 | georg.brandl | 2009-03-15 22:43:38 +0100 (So, 15 Mär 2009) | 1 line

  Fix a small nit in the error message if bool() falls back on __len__ and it returns the wrong type: it would tell the user that __nonzero__ should return bool or int.
........
  r70390 | georg.brandl | 2009-03-15 22:44:43 +0100 (So, 15 Mär 2009) | 1 line

  #5491: clarify nested() semantics.
........
  r70392 | georg.brandl | 2009-03-15 22:46:00 +0100 (So, 15 Mär 2009) | 1 line

  #5488: add missing struct member.
........
  r70393 | georg.brandl | 2009-03-15 22:47:42 +0100 (So, 15 Mär 2009) | 1 line

  #5478: fix copy-paste oversight in function signature.
........
  r70395 | georg.brandl | 2009-03-15 22:51:48 +0100 (So, 15 Mär 2009) | 1 line

  #5276: document IDLESTARTUP and .Idle.py.
........
  r70397 | georg.brandl | 2009-03-15 22:53:56 +0100 (So, 15 Mär 2009) | 1 line

  #5469: add with statement to list of name-binding constructs.
........
  r70400 | georg.brandl | 2009-03-15 22:59:37 +0100 (So, 15 Mär 2009) | 3 lines

  Fix markup in re docs and give a mail address in regex howto, so that
  the recommendation to send suggestions to the author can be followed.
........
  r70418 | georg.brandl | 2009-03-16 20:42:03 +0100 (Mo, 16 Mär 2009) | 1 line

  Add token markup.
........
2009-04-05 21:48:06 +00:00
Georg Brandl e9b912164b Merged revisions 71058,71149-71150,71212,71214-71216,71222,71225,71234,71237-71238,71240-71241,71243,71249,71251 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71058 | georg.brandl | 2009-04-02 20:09:04 +0200 (Do, 02 Apr 2009) | 3 lines

  PyErr_NormalizeException may not set an error, so convert the PyErr_SetObject
  call on hitting the recursion limit into just assigning it to the arguments provided.
........
  r71149 | georg.brandl | 2009-04-04 15:42:39 +0200 (Sa, 04 Apr 2009) | 1 line

  #5642: clarify map() compatibility to the builtin.
........
  r71150 | georg.brandl | 2009-04-04 15:45:49 +0200 (Sa, 04 Apr 2009) | 1 line

  #5601: clarify that webbrowser is not meant for file names.
........
  r71212 | georg.brandl | 2009-04-05 12:24:20 +0200 (So, 05 Apr 2009) | 1 line

  #1742837: expand HTTP server docs, and fix SocketServer ones to document methods as methods, not functions.
........
  r71214 | georg.brandl | 2009-04-05 12:29:57 +0200 (So, 05 Apr 2009) | 1 line

  Normalize spelling of Mac OS X.
........
  r71215 | georg.brandl | 2009-04-05 12:32:26 +0200 (So, 05 Apr 2009) | 1 line

  Avoid sure signs of a diseased mind.
........
  r71216 | georg.brandl | 2009-04-05 12:41:02 +0200 (So, 05 Apr 2009) | 1 line

  #1718017: document the relation of os.path and the posixpath, ntpath etc. modules better.
........
  r71222 | georg.brandl | 2009-04-05 13:07:14 +0200 (So, 05 Apr 2009) | 1 line

  #5615: make it possible to configure --without-threads again.
........
  r71225 | georg.brandl | 2009-04-05 13:54:07 +0200 (So, 05 Apr 2009) | 1 line

  #5580: no need to use parentheses when converterr() argument is actually a type description.
........
  r71234 | georg.brandl | 2009-04-05 15:16:35 +0200 (So, 05 Apr 2009) | 1 line

  Whitespace normalization.
........
  r71237 | georg.brandl | 2009-04-05 16:24:52 +0200 (So, 05 Apr 2009) | 1 line

  #1326077: fix traceback formatting of SyntaxErrors.  This fixes two differences with formatting coming from Python: a) the reproduction of location details in the error message if no line text is given, b) the prefixing of the last line by one space.
........
  r71238 | georg.brandl | 2009-04-05 16:25:41 +0200 (So, 05 Apr 2009) | 1 line

  Add NEWS entry for r71237.
........
  r71240 | georg.brandl | 2009-04-05 16:40:06 +0200 (So, 05 Apr 2009) | 1 line

  #5370: doc update about unpickling objects with custom __getattr__ etc. methods.
........
  r71241 | georg.brandl | 2009-04-05 16:48:49 +0200 (So, 05 Apr 2009) | 1 line

  #5471: fix expanduser() for $HOME set to "/".
........
  r71243 | georg.brandl | 2009-04-05 17:14:29 +0200 (So, 05 Apr 2009) | 1 line

  #5432: make plistlib docstring a raw string, since it contains examples with backslash escapes.
........
  r71249 | georg.brandl | 2009-04-05 18:30:43 +0200 (So, 05 Apr 2009) | 1 line

  #5444: adapt make.bat to new htmlhelp output file name.
........
  r71251 | georg.brandl | 2009-04-05 19:17:42 +0200 (So, 05 Apr 2009) | 1 line

  #5298: clarify docs about GIL by using more consistent wording.
........
2009-04-05 21:26:31 +00:00
Georg Brandl 9b08e05e1e Merged revisions 70866-70868,70870-70871,70893,70896,70902,70905,70907,70912,70915,70927,70933,70940,70944,70954,70963,70998,71056 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70866 | georg.brandl | 2009-03-31 21:06:57 +0200 (Di, 31 Mär 2009) | 1 line

  #4882: document named group behavior a bit better.
........
  r70867 | georg.brandl | 2009-03-31 21:10:35 +0200 (Di, 31 Mär 2009) | 1 line

  #1096310: document usage of sys.__std*__ a bit better.
........
  r70868 | georg.brandl | 2009-03-31 21:12:17 +0200 (Di, 31 Mär 2009) | 1 line

  #5190: export make_option in __all__.
........
  r70870 | georg.brandl | 2009-03-31 21:26:24 +0200 (Di, 31 Mär 2009) | 1 line

  #4411: document mro() and __mro__. (I hope I got it right.)
........
  r70871 | georg.brandl | 2009-03-31 21:30:56 +0200 (Di, 31 Mär 2009) | 1 line

  #5618: fix typo.
........
  r70893 | georg.brandl | 2009-03-31 22:56:32 +0200 (Di, 31 Mär 2009) | 1 line

  #1530012: move TQS section before raw strings.
........
  r70896 | georg.brandl | 2009-03-31 23:15:33 +0200 (Di, 31 Mär 2009) | 1 line

  #5598: document DocFileSuite *args argument.
........
  r70902 | georg.brandl | 2009-03-31 23:43:03 +0200 (Di, 31 Mär 2009) | 1 line

  #1675026: add a note about a strange Windows problem, and remove notes about AtheOS.
........
  r70905 | georg.brandl | 2009-04-01 00:03:40 +0200 (Mi, 01 Apr 2009) | 1 line

  #5563: more documentation for bdist_msi.
........
  r70907 | georg.brandl | 2009-04-01 00:18:19 +0200 (Mi, 01 Apr 2009) | 1 line

  #3427: document correct return type for urlopen().info().
........
  r70912 | georg.brandl | 2009-04-01 00:35:46 +0200 (Mi, 01 Apr 2009) | 1 line

  #5617: add a handy function to print a unicode string to gdbinit.
........
  r70915 | georg.brandl | 2009-04-01 00:40:16 +0200 (Mi, 01 Apr 2009) | 1 line

  #5018: remove confusing paragraph.
........
  r70927 | georg.brandl | 2009-04-01 01:01:27 +0200 (Mi, 01 Apr 2009) | 1 line

  Dont shout to users.
........
  r70933 | georg.brandl | 2009-04-01 02:04:33 +0200 (Mi, 01 Apr 2009) | 2 lines

  Issue #5635: Fix running test_sys with tracing enabled.
........
  r70940 | georg.brandl | 2009-04-01 06:21:14 +0200 (Mi, 01 Apr 2009) | 2 lines

  The SimpleXMLRPCServer's CGI handler now runs like a pony.
........
  r70944 | georg.brandl | 2009-04-01 06:32:39 +0200 (Mi, 01 Apr 2009) | 1 line

  #5631: add upload to list of possible commands, which is presented in --help-commands.
........
  r70954 | georg.brandl | 2009-04-01 17:23:43 +0200 (Mi, 01 Apr 2009) | 1 line

  Fix test_xmlrpc and make the CGI handler work with no CONTENT_LENGTH.
........
  r70963 | georg.brandl | 2009-04-01 19:46:01 +0200 (Mi, 01 Apr 2009) | 1 line

  #5655: fix docstring oversight.
........
  r70998 | georg.brandl | 2009-04-01 23:54:21 +0200 (Mi, 01 Apr 2009) | 1 line

  In Pdb, stop assigning values to __builtin__._ which interferes with the one commonly installed by gettext.
........
  r71056 | georg.brandl | 2009-04-02 19:43:07 +0200 (Do, 02 Apr 2009) | 2 lines

  Actually the displayhook should print the repr.
........
2009-04-05 21:21:05 +00:00
Georg Brandl 8943caf716 Merged revisions 70642,70648,70656,70661,70765,70773,70789,70824-70825,70828,70830,70832,70836,70838,70842,70851,70855,70857-70858 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70642 | georg.brandl | 2009-03-28 01:48:48 +0100 (Sa, 28 Mär 2009) | 1 line

  Fix typo.
........
  r70648 | georg.brandl | 2009-03-28 20:10:37 +0100 (Sa, 28 Mär 2009) | 1 line

  #5324: document __subclasses__().
........
  r70656 | georg.brandl | 2009-03-28 20:33:33 +0100 (Sa, 28 Mär 2009) | 2 lines

  Add a script to fixup rst files if the pre-commit hook rejects them.
........
  r70661 | georg.brandl | 2009-03-28 20:57:36 +0100 (Sa, 28 Mär 2009) | 2 lines

  Add section numbering to some of the larger subdocuments.
........
  r70765 | georg.brandl | 2009-03-31 00:09:34 +0200 (Di, 31 Mär 2009) | 1 line

  #5199: make warning about vars() assignment more visible.
........
  r70773 | georg.brandl | 2009-03-31 00:43:00 +0200 (Di, 31 Mär 2009) | 1 line

  #5039: make it clear that the impl. note refers to CPython.
........
  r70789 | georg.brandl | 2009-03-31 03:25:15 +0200 (Di, 31 Mär 2009) | 1 line

  Fix a wrong struct field assignment (docstring as closure).
........
  r70824 | georg.brandl | 2009-03-31 17:43:20 +0200 (Di, 31 Mär 2009) | 1 line

  #5519: remove reference to Kodos, which seems dead.
........
  r70825 | georg.brandl | 2009-03-31 17:46:30 +0200 (Di, 31 Mär 2009) | 1 line

  #5566: fix versionadded from PyLong ssize_t functions.
........
  r70828 | georg.brandl | 2009-03-31 17:50:16 +0200 (Di, 31 Mär 2009) | 1 line

  #5581: fget argument of abstractproperty is optional as well.
........
  r70830 | georg.brandl | 2009-03-31 18:11:45 +0200 (Di, 31 Mär 2009) | 1 line

  #5529: backport new docs of import semantics written by Brett to 2.x.
........
  r70832 | georg.brandl | 2009-03-31 18:31:11 +0200 (Di, 31 Mär 2009) | 1 line

  #1386675: specify WindowsError as the exception, because it has a winerror attribute that EnvironmentError doesnt have.
........
  r70836 | georg.brandl | 2009-03-31 18:50:25 +0200 (Di, 31 Mär 2009) | 1 line

  #5417: replace references to undocumented functions by ones to documented functions.
........
  r70838 | georg.brandl | 2009-03-31 18:54:38 +0200 (Di, 31 Mär 2009) | 1 line

  #992207: document that the parser only accepts \\n newlines.
........
  r70842 | georg.brandl | 2009-03-31 19:13:06 +0200 (Di, 31 Mär 2009) | 1 line

  #970783: document PyObject_Generic[GS]etAttr.
........
  r70851 | georg.brandl | 2009-03-31 20:26:55 +0200 (Di, 31 Mär 2009) | 1 line

  #837577: note cryptic return value of spawn*e on invalid env dicts.
........
  r70855 | georg.brandl | 2009-03-31 20:30:37 +0200 (Di, 31 Mär 2009) | 1 line

  #5245: note that PyRun_SimpleString doesnt return on SystemExit.
........
  r70857 | georg.brandl | 2009-03-31 20:33:10 +0200 (Di, 31 Mär 2009) | 1 line

  #5227: note that Py_Main doesnt return on SystemExit.
........
  r70858 | georg.brandl | 2009-03-31 20:38:56 +0200 (Di, 31 Mär 2009) | 1 line

  #5241: document missing U in regex howto.
........
2009-04-05 21:11:43 +00:00
Michael Foord f2dfef1637 Adding assertIs and assertIsNot methods to unittest.TestCase
Issue #2578
2009-04-05 19:19:28 +00:00
Georg Brandl 1ede0d670f #5298: clarify docs about GIL by using more consistent wording. 2009-04-05 17:17:42 +00:00
Georg Brandl 4af280ee98 #5444: adapt make.bat to new htmlhelp output file name. 2009-04-05 16:30:43 +00:00
Georg Brandl a7ec0726e2 #5370: doc update about unpickling objects with custom __getattr__ etc. methods. 2009-04-05 14:40:06 +00:00
Georg Brandl 5d19610f8d #1718017: document the relation of os.path and the posixpath, ntpath etc. modules better. 2009-04-05 10:41:02 +00:00
Georg Brandl 75f1107b7c Avoid sure signs of a diseased mind. 2009-04-05 10:32:26 +00:00
Georg Brandl 89b1296ab9 Normalize spelling of Mac OS X. 2009-04-05 10:29:57 +00:00
Georg Brandl 9af0c56057 #1742837: expand HTTP server docs, and fix SocketServer ones to document methods as methods, not functions. 2009-04-05 10:24:20 +00:00
Benjamin Peterson e42e2535c4 Merged revisions 71203 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71203 | benjamin.peterson | 2009-04-04 18:46:34 -0500 (Sat, 04 Apr 2009) | 1 line

  note how using iter* are unsafe while mutating and document iter(dict)
........
2009-04-04 23:58:19 +00:00
Benjamin Peterson f9c8193b76 note how using iter* are unsafe while mutating and document iter(dict) 2009-04-04 23:46:34 +00:00
Georg Brandl 29b36308a4 #5601: clarify that webbrowser is not meant for file names. 2009-04-04 13:45:49 +00:00
Georg Brandl 9d977b81a1 #5642: clarify map() compatibility to the builtin. 2009-04-04 13:42:39 +00:00
R. David Murray c9da90a74e Merged revisions 71123 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71123 | r.david.murray | 2009-04-04 02:39:56 -0400 (Sat, 04 Apr 2009) | 2 lines

  Fix error in description of 'oct' (issue 5678).
........
2009-04-04 06:43:39 +00:00
R. David Murray 195374e836 Fix error in description of 'oct' (issue 5678). 2009-04-04 06:39:56 +00:00
Raymond Hettinger 8de959252a Add helpful link. 2009-04-04 05:39:34 +00:00
Raymond Hettinger 64906bbeba Add helpful link. 2009-04-04 05:37:47 +00:00
Vinay Sajip 353a85f99c Clarified warning about logging use from asynchronous signal handlers. 2009-04-03 21:58:16 +00:00
Andrew M. Kuchling b20df9a89a Fix 'the the' duplication (partial backport of r71103 2009-04-03 21:56:36 +00:00
Andrew M. Kuchling ab52252ba9 Fix 'the the'; grammar fix (backport of r71102 2009-04-03 21:55:34 +00:00
Andrew M. Kuchling a178a69819 Fix 'the the' duplication 2009-04-03 21:45:29 +00:00
Andrew M. Kuchling aa34f5a2ac Fix 'the the'; grammar fix 2009-04-03 21:44:49 +00:00
Andrew M. Kuchling 9a4b94ca0c Add some items 2009-04-03 21:43:00 +00:00
Vinay Sajip b0b1aa214a Added warning about logging use from asynchronous signal handlers. 2009-04-03 10:23:18 +00:00
Raymond Hettinger c41cf8c0ee Fix typo. 2009-04-03 05:41:10 +00:00
Raymond Hettinger 6df48a3354 Update docs for namedtuple's renaming change. 2009-04-02 22:34:17 +00:00
Antoine Pitrou 789be0c0a0 Issue #2396: backport the memoryview object. 2009-04-02 21:18:34 +00:00
Jesse Noller 7152f6d915 Add custom initializer argument to multiprocess.Manager*, courtesy of lekma 2009-04-02 05:17:26 +00:00
R. David Murray dc362b0b96 Merged revisions 71037 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r71037 | r.david.murray | 2009-04-02 00:34:04 -0400 (Thu, 02 Apr 2009) | 6 lines

  Clarify that datetime strftime does not produce leap seconds and datetime
  strptime does not accept it in the strftime behavior section of the
  datetime docs.

  Closes issue 2568.
........
2009-04-02 04:52:48 +00:00
R. David Murray d56bab47f1 Clarify that datetime strftime does not produce leap seconds and datetime
strptime does not accept it in the strftime behavior section of the
datetime docs.

Closes issue 2568.
2009-04-02 04:34:04 +00:00
Jesse Noller 5053fbbb38 Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES 2009-04-02 04:22:09 +00:00
Michael Foord 345b2fe21e Better exception messages for unittest assert methods.
- unittest.assertNotEqual() now uses the inequality operator (!=) instead
  of the equality operator.

- Default assertTrue and assertFalse messages are now useful.

- TestCase has a longMessage attribute. This defaults to False, but if set to True
  useful error messages are shown in addition to explicit messages passed to assert methods.

Issue #5663
2009-04-02 03:20:38 +00:00
Brett Cannon c4f90ebea7 PyImport_AppendInittab() took a char * as a first argument even though that
string was stored beyond the life of the call. Changed the signature to be
const char * to help make this point.

Closes issue #1419652.
2009-04-02 03:17:39 +00:00
Benjamin Peterson 7b0f1540ea this should be :noindex: 2009-04-02 00:12:47 +00:00
Benjamin Peterson 02ee8888cd fix markup 2009-04-02 00:11:52 +00:00
Andrew M. Kuchling e9d35ef230 Typo fix 2009-04-02 00:02:14 +00:00
Georg Brandl 88ed8f2c50 #4572: add SEEK_* values as constants in io.py. 2009-04-01 21:00:55 +00:00
Raymond Hettinger d9f564f60f Add link to an alternative generator with a long-period. 2009-04-01 20:52:52 +00:00
Raymond Hettinger fff2f4bb03 Add link to an alternative generator with a long-period. 2009-04-01 20:50:58 +00:00
Jesse Noller 3e7a65f565 Merged revisions 70960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70960 | jesse.noller | 2009-04-01 11:42:19 -0500 (Wed, 01 Apr 2009) | 1 line

  Issue 3270: document Listener address restrictions on windows
........
2009-04-01 16:44:24 +00:00
Jesse Noller b12e79da1b Issue 3270: document Listener address restrictions on windows 2009-04-01 16:42:19 +00:00
Jesse Noller 02cb0eb231 Fix multiprocessing.event to match the new threading.Event API 2009-04-01 03:45:50 +00:00
Josiah Carlson bb94d43dcd Fix for failing asyncore tests. 2009-04-01 01:28:11 +00:00
Georg Brandl a08867d8a1 Dont shout to users. 2009-03-31 23:01:27 +00:00
Raymond Hettinger 6bc94cbbc8 Improve examples for collections.deque() 2009-03-31 22:43:03 +00:00
Georg Brandl 354e4cbb1c #5018: remove confusing paragraph. 2009-03-31 22:40:16 +00:00
Tarek Ziadé 9e47ce49a0 #5583 Added optional Extensions in Distutils 2009-03-31 22:27:23 +00:00
Georg Brandl b7715865e7 #3427: document correct return type for urlopen().info(). 2009-03-31 22:18:19 +00:00
Georg Brandl 95fafec732 #5563: more documentation for bdist_msi. 2009-03-31 22:03:40 +00:00
Georg Brandl a08e8dedc2 #5598: document DocFileSuite *args argument. 2009-03-31 21:15:33 +00:00
Georg Brandl 186188d89d #1530012: move TQS section before raw strings. 2009-03-31 20:56:32 +00:00
Georg Brandl ef660e8e50 #1674032: return value of flag from Event.wait(). OKed by Guido. 2009-03-31 20:41:08 +00:00
Gregory P. Smith 65ff00559a Issue an actual PendingDeprecationWarning for the TestCase.fail* methods.
Document the deprecation.
2009-03-31 19:59:14 +00:00
Georg Brandl bdaa6a7043 #5618: fix typo. 2009-03-31 19:30:56 +00:00
Georg Brandl 956ed9782a #4411: document mro() and __mro__. (I hope I got it right.) 2009-03-31 19:26:24 +00:00
Georg Brandl 2ce1c61ca6 Fix-up unwanted change. 2009-03-31 19:14:42 +00:00
Georg Brandl b48adecbd6 #1096310: document usage of sys.__std*__ a bit better. 2009-03-31 19:10:35 +00:00
Georg Brandl 5206086e0d #4882: document named group behavior a bit better. 2009-03-31 19:06:57 +00:00
Georg Brandl 6eabc24416 #5241: document missing U in regex howto. 2009-03-31 18:38:56 +00:00
Georg Brandl a9efe6f65c #5227: note that Py_Main doesnt return on SystemExit. 2009-03-31 18:33:10 +00:00
Georg Brandl 9e0b363629 #5245: note that PyRun_SimpleString doesnt return on SystemExit. 2009-03-31 18:30:37 +00:00
Georg Brandl 22717dffba #837577: note cryptic return value of spawn*e on invalid env dicts. 2009-03-31 18:26:55 +00:00
Georg Brandl aa118103d7 #970783: document PyObject_Generic[GS]etAttr. 2009-03-31 17:13:06 +00:00
Georg Brandl 268d85d1e8 #992207: document that the parser only accepts \\n newlines. 2009-03-31 16:54:38 +00:00
Gregory P. Smith 2839985c7e The unittest.TestCase.assertEqual() now displays the differences in lists,
tuples, dicts and sets on failure.

Many new handy type and comparison specific assert* methods have been added
that fail with error messages actually useful for debugging.  Contributed in
by Google and completed with help from mfoord and GvR at PyCon 2009 sprints.

Discussion lives in http://bugs.python.org/issue2578.
2009-03-31 16:54:10 +00:00
Georg Brandl c2784229b8 #5417: replace references to undocumented functions by ones to documented functions. 2009-03-31 16:50:25 +00:00
Georg Brandl b945bbf33e #1386675: specify WindowsError as the exception, because it has a winerror attribute that EnvironmentError doesnt have. 2009-03-31 16:31:11 +00:00
Georg Brandl 624f3372e2 #5529: backport new docs of import semantics written by Brett to 2.x. 2009-03-31 16:11:45 +00:00
Georg Brandl 21b60afd4c #5581: fget argument of abstractproperty is optional as well. 2009-03-31 15:50:16 +00:00
Georg Brandl 74c018a981 #5566: fix versionadded from PyLong ssize_t functions. 2009-03-31 15:46:30 +00:00
Georg Brandl 382edff289 #5519: remove reference to Kodos, which seems dead. 2009-03-31 15:43:20 +00:00
Jesse Noller 8b56d47d01 Merged revisions 68915 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68915 | jesse.noller | 2009-01-24 21:36:13 -0600 (Sat, 24 Jan 2009) | 1 line

  Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels
........
2009-03-31 15:01:45 +00:00
Andrew M. Kuchling 7706957f59 Add various items 2009-03-31 01:21:01 +00:00
Andrew M. Kuchling 6c2633e919 Add more items 2009-03-30 23:09:46 +00:00
Andrew M. Kuchling efa97718e6 typo fix 2009-03-30 23:08:24 +00:00
Georg Brandl dc340eedaa #5039: make it clear that the impl. note refers to CPython. 2009-03-30 22:43:00 +00:00
Barry Warsaw dbf95a3643 A fix for issue 1974, inspired by the patch from Andi Albrecht (aalbrecht),
though with some changes by me.  This patch should not be back ported or
forward ported.  It's a bit too risky for 2.6 and 3.x does things fairly
differently.
2009-03-30 22:42:17 +00:00
Andrew M. Kuchling 55acfc6c87 Many edits 2009-03-30 22:31:11 +00:00
Andrew M. Kuchling 71d5c28d97 Add several items and placeholders 2009-03-30 22:30:20 +00:00
Andrew M. Kuchling b585255f02 Remove comment 2009-03-30 22:29:53 +00:00
Andrew M. Kuchling 19672006a7 Typo fixes 2009-03-30 22:29:15 +00:00
Georg Brandl d59efbccf1 #5199: make warning about vars() assignment more visible. 2009-03-30 22:09:34 +00:00
Ronald Oussoren 524e36a5d0 Merged revisions 70746 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70746 | ronald.oussoren | 2009-03-30 15:02:08 -0500 (Mon, 30 Mar 2009) | 2 lines

  Fix for issue 13095
........
2009-03-30 20:04:12 +00:00
Ronald Oussoren 008af85dc0 Fix for issue 13095 2009-03-30 20:02:08 +00:00
Ronald Oussoren 783fa44f2c Merged revisions 70719 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70719 | ronald.oussoren | 2009-03-30 11:01:51 -0500 (Mon, 30 Mar 2009) | 2 lines

  Fix for issue 896199 (some Carbon modules aren't present in the documentation)
........
2009-03-30 16:03:41 +00:00
Ronald Oussoren 8ba6f3baf6 Fix for issue 896199 (some Carbon modules aren't present in the documentation) 2009-03-30 16:01:51 +00:00
Benjamin Peterson da54b84a32 Merged revisions 70660 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line

  Switch to fixed Sphinx version.
........
2009-03-30 15:09:19 +00:00
Benjamin Peterson ac0580edc2 there's actually three methods here #5600 2009-03-30 02:49:32 +00:00
Benjamin Peterson c5206b3893 use the awesome new status iterator 2009-03-29 21:50:14 +00:00
Mark Dickinson a30f349ecf Merged revisions 70678 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70678 | mark.dickinson | 2009-03-29 15:37:51 +0100 (Sun, 29 Mar 2009) | 3 lines

  Issue #532631: Replace confusing fabs(x)/1e25 >= 1e25 test
  with fabs(x) >= 1e50, and fix documentation.
........
2009-03-29 15:06:29 +00:00
Mark Dickinson 2e648ecc7d Issue #532631: Replace confusing fabs(x)/1e25 >= 1e25 test
with fabs(x) >= 1e50, and fix documentation.
2009-03-29 14:37:51 +00:00
Benjamin Peterson 097aafdde6 fix consistency 2009-03-29 03:39:58 +00:00
Benjamin Peterson 7233acc5c5 stop the versionchanged directive from hiding the docs 2009-03-29 03:31:40 +00:00
Benjamin Peterson be76d4caed a more realistic example 2009-03-29 03:16:57 +00:00
Georg Brandl a0eea590c7 Add section numbering to some of the larger subdocuments. 2009-03-28 19:57:36 +00:00
Georg Brandl 400fd60a8d Switch to fixed Sphinx version. 2009-03-28 19:52:58 +00:00
Antoine Pitrou b22b94886d Fix a typo and be more specific 2009-03-28 19:17:54 +00:00
Benjamin Peterson 0e9285845e give os.symlink and os.link() better parameter names #5564 2009-03-28 19:16:10 +00:00
Georg Brandl a31aa45fbf #5324: document __subclasses__(). 2009-03-28 19:10:37 +00:00
Antoine Pitrou c18f6b023d Publicize the GC untracking optimization 2009-03-28 19:10:13 +00:00
Benjamin Peterson 47d9738b0f rename TestCase.skip() to skipTest() because it causes annoying problems with trial #5571 2009-03-26 20:05:50 +00:00
Skip Montanaro 9a1337b95e clarify the type of data returned 2009-03-25 00:52:11 +00:00
Raymond Hettinger f70097684e Add links to related resources. 2009-03-24 00:21:36 +00:00
Raymond Hettinger 21b617bd98 Add links to related resources. 2009-03-24 00:17:11 +00:00
Benjamin Peterson 31b7806ee8 forgot to document that setUp can be skipped (silly me...) 2009-03-23 23:13:36 +00:00
Benjamin Peterson 99721e0c44 refactor unittest docs 2009-03-23 23:10:14 +00:00
Benjamin Peterson cb2b0e45d4 comply with the evilJavaNamingScheme for attribute names
It seems my love of PEP 8 overrode the need for consistentcy
2009-03-23 22:29:45 +00:00
Benjamin Peterson 692428e77f implement test skipping and expected failures
patch by myself #1034053
2009-03-23 21:50:21 +00:00
Antoine Pitrou f8387af262 Issue #4688: Add a heuristic so that tuples and dicts containing only
untrackable objects are not tracked by the garbage collector. This can
reduce the size of collections and therefore the garbage collection overhead
on long-running programs, depending on their particular use of datatypes.

(trivia: this makes the "binary_trees" benchmark from the Computer Language
Shootout 40% faster)
2009-03-23 18:41:45 +00:00
Raymond Hettinger 399ff09961 Add MutableSet example. 2009-03-20 18:30:29 +00:00
Raymond Hettinger 2cef1a5409 Add MutableSet example. 2009-03-20 18:25:49 +00:00
Mark Dickinson efc82f7e8e Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
2009-03-20 15:51:55 +00:00
Raymond Hettinger 2412299be9 * Add clearer comment to initialization code.
* Add optional argument to popitem() -- modeled
  after Anthon van der Neut's C version.
* Fix method markup in docs.
2009-03-19 19:59:58 +00:00
Raymond Hettinger 91852ca673 Issue 5381: Add object_pairs_hook to the json module. 2009-03-19 19:19:03 +00:00
Benjamin Peterson 06919a177d a much better example 2009-03-18 20:58:09 +00:00
Benjamin Peterson ed3558b334 I thought this was begging for an example 2009-03-17 20:29:51 +00:00
Georg Brandl 8cbe9556cf Add token markup. 2009-03-16 19:42:03 +00:00
Georg Brandl 545a134916 Fix markup in re docs and give a mail address in regex howto, so that
the recommendation to send suggestions to the author can be followed.
2009-03-15 21:59:37 +00:00
Georg Brandl 173c1f1a01 #5469: add with statement to list of name-binding constructs. 2009-03-15 21:53:56 +00:00
Georg Brandl 09827eb55e #5276: document IDLESTARTUP and .Idle.py. 2009-03-15 21:51:48 +00:00
Georg Brandl 8db96b5969 #5478: fix copy-paste oversight in function signature. 2009-03-15 21:47:42 +00:00
Georg Brandl 44e5cd3e51 #5488: add missing struct member. 2009-03-15 21:46:00 +00:00
Georg Brandl 5a95b21fee #5491: clarify nested() semantics. 2009-03-15 21:44:43 +00:00
Georg Brandl 3259ef3dff #5493: clarify __nonzero__ docs. 2009-03-15 21:37:16 +00:00
Georg Brandl e83a4adba7 #5486: typos. 2009-03-13 19:03:58 +00:00
Raymond Hettinger 2b45819b75 Issue 5477: Fix buglet in the itertools documentation. 2009-03-12 00:35:05 +00:00
Raymond Hettinger efa7c138b6 Issue 5477: Fix buglet in the itertools documentation. 2009-03-12 00:31:58 +00:00
Raymond Hettinger 351de8017c Add reference to solution for a commonly asked question. 2009-03-12 00:25:03 +00:00
Brett Cannon 6c4cff0f32 Require implementations for warnings.showwarning() support the 'line' argument.
Was a DeprecationWarning for not supporting it since Python 2.6.

Closes issue #3652.
2009-03-11 04:51:06 +00:00
Gregory P. Smith b7ec0025b9 Merged revisions 70197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70197 | jesus.cea | 2009-03-05 11:37:37 -0800 (Thu, 05 Mar 2009) | 1 line

  Minor bsddb documentation glitch
........
2009-03-10 16:51:19 +00:00
Raymond Hettinger 8ef4e78cf5 Fix typo. 2009-03-10 13:05:40 +00:00
Raymond Hettinger 8f19598f78 Fix typo. 2009-03-10 13:04:30 +00:00
Raymond Hettinger 56411aac79 For collections.deque() objects, expose the maxlen parameter as a read-only attribute. 2009-03-10 12:50:59 +00:00
Raymond Hettinger ced6b1da83 Update the decimal FAQ for the from_float() classmethod and improve the recipe for remove_exponent() to make it cut and pasteable. 2009-03-10 08:16:05 +00:00
Raymond Hettinger eecd1dc6e0 Clarify the meaning of normal and subnormal. 2009-03-10 04:40:24 +00:00
Raymond Hettinger f345a21d8e Update url for the spec. 2009-03-10 01:07:30 +00:00
Raymond Hettinger 618f505c02 Fix markup. 2009-03-10 00:11:32 +00:00
Raymond Hettinger f4ea929044 Fix markup. 2009-03-10 00:06:05 +00:00
Benjamin Peterson 6d83429a1d gzip and bz2 are context managers 2009-03-09 20:38:56 +00:00
Georg Brandl 38f1bf6745 Add missing space. 2009-03-09 16:35:48 +00:00
Georg Brandl 2cd82a8383 #5458: add a note when we started to raise RuntimeErrors. 2009-03-09 14:25:07 +00:00
Raymond Hettinger e1bfcfac2d Add cross-reference to the collections docs. 2009-03-09 12:57:55 +00:00
Raymond Hettinger 9324ed8982 Add cross-reference to the collections docs. 2009-03-09 12:56:23 +00:00
Raymond Hettinger fb30cca591 Add consume() recipe to itertools docs. 2009-03-09 11:58:33 +00:00
Raymond Hettinger 3496a89f27 Add consume() recipe to itertools docs. 2009-03-09 11:57:29 +00:00
Raymond Hettinger d31d294e89 Issue 5443: Fix typo. 2009-03-09 11:39:03 +00:00
Raymond Hettinger fed84c765d Issue 5443: Fix typo. 2009-03-09 11:31:39 +00:00
Jesus Cea ce15a65ca7 Minor bsddb documentation glitch 2009-03-05 19:37:37 +00:00
Benjamin Peterson c51ec0a9e3 add example 2009-03-05 00:17:57 +00:00
Facundo Batista eeafb96b08 Fixed a typo. 2009-03-04 21:18:17 +00:00
Georg Brandl d5ad6da03b Remove obsolete stuff from string module docs. 2009-03-04 18:24:41 +00:00
Benjamin Peterson 288618e1a7 making the writing more formal 2009-03-03 22:51:57 +00:00
Raymond Hettinger a07038d614 Fix markup. 2009-03-03 05:11:56 +00:00
Raymond Hettinger e89b8e9832 Backport 70111: Let configparser use ordered dicts by default. 2009-03-03 05:00:37 +00:00
Raymond Hettinger 88a9164cdb Backport 70106: Add OrderedDict support to collections.namedtuple(). 2009-03-03 04:51:24 +00:00
Raymond Hettinger bc512d3abd Backport PEP 372: OrderedDict() 2009-03-03 04:45:34 +00:00
Gregory P. Smith 13b19c1f94 Merged revisions 70088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70088 | gregory.p.smith | 2009-03-01 20:53:24 -0800 (Sun, 01 Mar 2009) | 4 lines

  The note about caching of regular expression objects was incorrect ReST and
  thus invisible in the compiled documentation.  Fixed.  Also I cleaned up the
  wording.
........
2009-03-02 05:25:11 +00:00
Gregory P. Smith ae91d0907d Adds an optional flags argument to re.split, re.sub and re.subn to be
consistent with the other re module functions.
2009-03-02 05:13:57 +00:00
Gregory P. Smith 0261e5d0b6 The note about caching of regular expression objects was incorrect ReST and
thus invisible in the compiled documentation.  Fixed.  Also I cleaned up the
wording.
2009-03-02 04:53:24 +00:00
Raymond Hettinger 4a9fda4280 Fix docs for ConfigParser. 2009-03-01 02:07:25 +00:00
Raymond Hettinger 3bac8b20b5 Fix docs for ConfigParser. 2009-03-01 02:04:32 +00:00
Jeffrey Yasskin 68d6852006 Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with
POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing
a POP_TOP on each conditional and sometimes allows the peephole optimizer to
skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly.
2009-02-28 19:03:21 +00:00
Hirokazu Yamamoto 02172ddbee Binary flag is needed on windows. 2009-02-28 15:24:00 +00:00
Georg Brandl 5c189b16a8 #5365: add quick look conversion table for different time representations. 2009-02-27 16:59:03 +00:00
Georg Brandl fbb995f6c2 #5344: fix punctuation. 2009-02-27 16:52:55 +00:00
Georg Brandl ee6361f7d8 #5363: fix cmpfiles() docs. Another instance where a prose description is twice as long as the code. 2009-02-27 16:39:26 +00:00
Georg Brandl da2790c47d #5361: fix typo. 2009-02-27 16:23:18 +00:00
Tarek Ziadé 75a4fab6a4 more info on long_description 2009-02-27 02:14:35 +00:00
Andrew M. Kuchling cdb4e6248b The curses panel library is now supported 2009-02-26 22:34:30 +00:00
Georg Brandl 13813f7092 Document that setting sys.py3kwarning wont do anything. 2009-02-26 17:36:26 +00:00
Benjamin Peterson a168698ab3 fix str.format()'s first arg #5371 2009-02-26 00:30:11 +00:00
Raymond Hettinger 815476044a Fix typo. 2009-02-26 00:20:22 +00:00
Raymond Hettinger ed955f108f Fix typo. 2009-02-26 00:05:24 +00:00
Raymond Hettinger a665853bab Clarify Counter() docs. 2009-02-25 22:48:24 +00:00
Raymond Hettinger 65c8655e33 Remove reference to zero argument form of super() in 2.x docs. 2009-02-25 01:08:27 +00:00
Raymond Hettinger afe496dc46 Remove reference to zero argument form of super() in 2.x docs. 2009-02-25 01:06:52 +00:00
Raymond Hettinger e95f90c420 More markup and spelling fixes. 2009-02-25 00:53:46 +00:00
Raymond Hettinger b762d58544 More markup and spelling fixes. 2009-02-25 00:52:37 +00:00
Raymond Hettinger 2775afcb06 Backport doc updates for super(). 2009-02-25 00:41:32 +00:00
Raymond Hettinger eb7cbb94c5 Restore Py2.x version of sample call to super(). 2009-02-25 00:39:47 +00:00
Raymond Hettinger 9766033b7c Sync-up py3.1 doc updates for super(). 2009-02-25 00:37:57 +00:00
Raymond Hettinger d187d52085 Sync-up itertools docs with Py3.1 version.
* Merge 69715:  rewrite introduction and add summary table
* Merge 69739:  generalize tee() recipe
* Merge 69141:  Fix tab alignment on recipes to match other recipes
* Merge 68942:  Update powerset() recipe
2009-02-23 21:23:04 +00:00
Raymond Hettinger fc9a6659b4 Update itertools recipes to use next(). 2009-02-23 19:59:57 +00:00
Raymond Hettinger d47442e3cb Update itertools recipes to use next(). 2009-02-23 19:32:55 +00:00
Georg Brandl 52bc7b85fd Fix grammar. 2009-02-23 18:33:48 +00:00
Georg Brandl 4ae203c610 Merged revisions 69905 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69905 | georg.brandl | 2009-02-23 16:51:27 +0100 (Mo, 23 Feb 2009) | 2 lines

  #5352: str.count() counts non-overlapping instances.
........
2009-02-23 15:53:25 +00:00
Georg Brandl de196911f1 #5352: str.count() counts non-overlapping instances. 2009-02-23 15:51:27 +00:00
Georg Brandl 89d4f0d7c5 #5349: C++ pure virtuals can also have an implementation. 2009-02-23 11:24:46 +00:00
Georg Brandl ec7d3909ba Merged revisions 68582,68718,68720-68721,68724-68727,68859,68973,69288-69289,69293,69295,69297-69301,69409,69414,69570,69573,69576,69728-69730,69769,69776,69803-69805,69840,69896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r68582 | georg.brandl | 2009-01-13 23:14:01 +0100 (Di, 13 Jan 2009) | 2 lines

  Use assertRaises.
........
  r68718 | georg.brandl | 2009-01-18 11:42:35 +0100 (So, 18 Jan 2009) | 1 line

  #4976: union() and intersection() take multiple args, but talk about "the other".
........
  r68720 | georg.brandl | 2009-01-18 11:45:22 +0100 (So, 18 Jan 2009) | 1 line

  #4974: fix redundant mention of lists and tuples.
........
  r68721 | georg.brandl | 2009-01-18 11:48:16 +0100 (So, 18 Jan 2009) | 1 line

  #4914: trunc is in math.
........
  r68724 | georg.brandl | 2009-01-18 14:24:10 +0100 (So, 18 Jan 2009) | 1 line

  #4979: correct result range for some random functions.
........
  r68725 | georg.brandl | 2009-01-18 14:47:26 +0100 (So, 18 Jan 2009) | 1 line

  #4857: fix augmented assignment target spec.
........
  r68726 | georg.brandl | 2009-01-18 15:41:52 +0100 (So, 18 Jan 2009) | 1 line

  #4923: clarify what was added.
........
  r68727 | georg.brandl | 2009-01-18 19:25:30 +0100 (So, 18 Jan 2009) | 1 line

  #4986: augassigns are not expressions.
........
  r68859 | georg.brandl | 2009-01-22 19:29:28 +0100 (Do, 22 Jan 2009) | 2 lines

  Clarify wording.
........
  r68973 | georg.brandl | 2009-01-26 22:29:38 +0100 (Mo, 26 Jan 2009) | 2 lines

  Copy over docs on advanced role features from Sphinx docs.
........
  r69288 | georg.brandl | 2009-02-05 11:30:57 +0100 (Do, 05 Feb 2009) | 1 line

  #5153: fix typo in example.
........
  r69289 | georg.brandl | 2009-02-05 11:37:07 +0100 (Do, 05 Feb 2009) | 1 line

  #5144: document that PySys_SetArgv prepends the script directory (or the empty string) to sys.path.
........
  r69293 | georg.brandl | 2009-02-05 11:59:28 +0100 (Do, 05 Feb 2009) | 1 line

  #5059: fix example.
........
  r69295 | georg.brandl | 2009-02-05 12:23:47 +0100 (Do, 05 Feb 2009) | 1 line

  PyErr_PrintEx is also in 2.x...
........
  r69297 | georg.brandl | 2009-02-05 12:32:18 +0100 (Do, 05 Feb 2009) | 1 line

  #5015: document PythonHome API functions.
........
  r69298 | georg.brandl | 2009-02-05 12:33:21 +0100 (Do, 05 Feb 2009) | 1 line

  #4827: fix callback example.
........
  r69299 | georg.brandl | 2009-02-05 12:35:28 +0100 (Do, 05 Feb 2009) | 1 line

  #4820: use correct module for ctypes.util.
........
  r69300 | georg.brandl | 2009-02-05 12:38:23 +0100 (Do, 05 Feb 2009) | 1 line

  #4563: disable alpha and roman lists, fixes wrong formatting of contributor list.
........
  r69301 | georg.brandl | 2009-02-05 12:40:35 +0100 (Do, 05 Feb 2009) | 1 line

  #5031: fix Thread.daemon property docs.
........
  r69409 | georg.brandl | 2009-02-07 13:21:17 +0100 (Sa, 07 Feb 2009) | 1 line

  #5174: fix wrong file closing in example.
........
  r69414 | georg.brandl | 2009-02-07 19:49:54 +0100 (Sa, 07 Feb 2009) | 1 line

  make "super only for new-style classes" a note.
........
  r69570 | georg.brandl | 2009-02-13 11:40:14 +0100 (Fr, 13 Feb 2009) | 1 line

  #4894: document "newurl" parameter to redirect_request().
........
  r69573 | georg.brandl | 2009-02-13 11:44:17 +0100 (Fr, 13 Feb 2009) | 1 line

  #3734: document complex coercing behavior better.
........
  r69576 | georg.brandl | 2009-02-13 11:56:50 +0100 (Fr, 13 Feb 2009) | 1 line

  #1661108: note that urlsafe encoded string can contain "=".
........
  r69728 | georg.brandl | 2009-02-18 01:22:55 +0100 (Mi, 18 Feb 2009) | 2 lines

  #5297: fix example.
........
  r69729 | georg.brandl | 2009-02-18 01:25:13 +0100 (Mi, 18 Feb 2009) | 2 lines

  #5296: sequence -> iterable.
........
  r69730 | georg.brandl | 2009-02-18 01:31:36 +0100 (Mi, 18 Feb 2009) | 2 lines

  #5268: mention VMSError.
........
  r69769 | georg.brandl | 2009-02-19 09:30:06 +0100 (Do, 19 Feb 2009) | 1 line

  #5310, #3558: fix operator precedence table.
........
  r69776 | georg.brandl | 2009-02-19 17:34:51 +0100 (Do, 19 Feb 2009) | 2 lines

  #5317: update IronPython URL.
........
  r69803 | georg.brandl | 2009-02-20 08:48:21 +0100 (Fr, 20 Feb 2009) | 1 line

  #5327: fix a broken link by joining it.
........
  r69804 | georg.brandl | 2009-02-20 09:22:21 +0100 (Fr, 20 Feb 2009) | 1 line

  At least separate imports from other statements.
........
  r69805 | georg.brandl | 2009-02-20 09:45:47 +0100 (Fr, 20 Feb 2009) | 2 lines

  Fix punctuation.
........
  r69840 | georg.brandl | 2009-02-21 20:09:40 +0100 (Sa, 21 Feb 2009) | 1 line

  #5338, #5339: two types in the API manual.
........
  r69896 | georg.brandl | 2009-02-23 11:24:23 +0100 (Mo, 23 Feb 2009) | 1 line

  #5348: format() converts all kinds of values.
........
2009-02-23 10:41:11 +00:00
Georg Brandl 528f8810aa #5348: format() converts all kinds of values. 2009-02-23 10:24:23 +00:00
Tarek Ziadé 2595edccbc using versionchanged instead of versionadded for distutils doc on sdist default files 2009-02-22 00:07:45 +00:00
Mark Dickinson 3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Georg Brandl a12a86e956 #5338, #5339: two types in the API manual. 2009-02-21 19:09:40 +00:00
Georg Brandl 8b8c2df9b1 Fix punctuation. 2009-02-20 08:45:47 +00:00
Georg Brandl 6b5dbaa6c9 At least separate imports from other statements. 2009-02-20 08:22:21 +00:00
Georg Brandl 4a698721e6 #5327: fix a broken link by joining it. 2009-02-20 07:48:21 +00:00
Benjamin Peterson a7b55a33f8 revert r69777 since all the experts agree that extra import lines distract from the code 2009-02-20 03:31:23 +00:00
Jeroen Ruigrok van der Werven 5149742e8b Since we recommend one module per import line, reflect this also in the
documentation.
2009-02-19 18:52:21 +00:00
Georg Brandl a630735b31 #5317: update IronPython URL. 2009-02-19 16:34:51 +00:00
Georg Brandl e7cb1ce895 #5310, #3558: fix operator precedence table. 2009-02-19 08:30:06 +00:00
Raymond Hettinger b2d412117c Add links to helpful external resources. 2009-02-19 06:57:23 +00:00
Raymond Hettinger 749e6d0a01 Add links to helpful external resources. 2009-02-19 06:55:03 +00:00
Raymond Hettinger 7f48c1055e Add an example for math.fsum() and elaborate on the accurary note. 2009-02-19 05:53:22 +00:00
Raymond Hettinger 7d854955e1 Add an example for math.fsum() and elaborate on the accurary note. 2009-02-19 05:51:41 +00:00
Raymond Hettinger 5894c2b548 Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe. 2009-02-19 05:38:53 +00:00
Raymond Hettinger f9bce83e71 Add some cross-references to the docs. Simplify the python code equivalent for izip(). Supply an optional argument for the nth() recipe. 2009-02-19 05:34:35 +00:00
Benjamin Peterson 3e96e231fb Merged revisions 69348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69348 | benjamin.peterson | 2009-02-05 19:47:31 -0600 (Thu, 05 Feb 2009) | 1 line

  fix download link
........
2009-02-19 02:05:06 +00:00
Raymond Hettinger bb94fd8290 Generalize itertools.tee() recipe. 2009-02-18 21:04:16 +00:00
Raymond Hettinger c8223b09b0 Generalize the itertools.tee() recipe. 2009-02-18 20:54:53 +00:00
Gregory P. Smith 8367becc02 Clarify socket timeout behavior vs system network stack behavior on connect
for issue5293.
2009-02-18 05:46:11 +00:00
Georg Brandl 580d7c1f57 #5268: mention VMSError. 2009-02-18 00:31:36 +00:00
Georg Brandl 0ac63f1c50 #5296: sequence -> iterable. 2009-02-18 00:25:13 +00:00
Georg Brandl 52f6b6d500 #5297: fix example. 2009-02-18 00:22:55 +00:00
Marc-André Lemburg 1d0b5cc6dc Clarify the deprecation of platform.dist().
Add versionadded tags.
2009-02-17 12:48:19 +00:00
Raymond Hettinger 0aee942a08 Fixup intro paragraphs for the itertools docs. Add some tables for quick reference. 2009-02-17 11:00:27 +00:00
Raymond Hettinger f746a1f1e4 Fix-up intro paragraph for collections docs. 2009-02-17 08:33:01 +00:00
Raymond Hettinger 7c98a6d4dc Add explanation for super(type1, type2). 2009-02-16 23:00:25 +00:00
Raymond Hettinger fd04870a3d Issue 5229: Documentation for super() neglects to say what super() actually does 2009-02-16 22:42:54 +00:00
Tarek Ziadé f1c95fe004 note about #2279 2009-02-16 22:38:43 +00:00
Tarek Ziadé 7dd533963f Fixed #2279: distutils.sdist.add_defaults now add files listed in package_data and data_files 2009-02-16 21:38:01 +00:00
Benjamin Peterson afb5a48be2 note functions that are not aliased to PyBytes_ #5280 2009-02-16 14:54:34 +00:00
Hirokazu Yamamoto 5b8c701eef Fixed typo. 2009-02-15 09:19:48 +00:00
Raymond Hettinger a4038038c6 Add keyword argument support to itertools.count(). 2009-02-14 00:25:51 +00:00
Georg Brandl 5ccf2ae21c #1661108: note that urlsafe encoded string can contain "=". 2009-02-13 10:56:50 +00:00
Georg Brandl 9834dd72bc #3734: document complex coercing behavior better. 2009-02-13 10:44:17 +00:00
Georg Brandl 8fba5b337c #4894: document "newurl" parameter to redirect_request(). 2009-02-13 10:40:14 +00:00
Tarek Ziadé e6aeba7444 #5158: added documentation on the depends option in distutils extensions 2009-02-13 09:12:33 +00:00
Georg Brandl ddb273e718 Fix. 2009-02-13 09:11:25 +00:00
Georg Brandl a95262ccee Merged revisions 69562 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69562 | georg.brandl | 2009-02-13 10:08:34 +0100 (Fr, 13 Feb 2009) | 2 lines

  Add links to the other versions we have in stock.
........
2009-02-13 09:09:58 +00:00
Georg Brandl 5b2cb1d56e Add links to the other versions we have in stock. 2009-02-13 09:08:34 +00:00
Raymond Hettinger 31c769ca89 Issue 5032: added a step argument to itertools.count() and allowed non-integer arguments. 2009-02-12 05:39:46 +00:00
Benjamin Peterson 1312b4bcfd os.fsync() should be used to ensure that data is written to disk 2009-02-12 03:50:00 +00:00
Raymond Hettinger b6b3879a01 Clean-up named tuple docs. 2009-02-11 00:12:07 +00:00
Raymond Hettinger e4ae63c402 Clean-up named tuple docs. 2009-02-11 00:06:17 +00:00
Mark Dickinson 4015f62e39 Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for
negative arguments.  Previously, it raised TypeError.

Thanks Lisandro Dalcin.
2009-02-10 15:46:50 +00:00
Raymond Hettinger 322daea7c3 Issue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames. 2009-02-10 01:24:05 +00:00
Benjamin Peterson b8e17f7370 a few edits and typos 2009-02-08 15:14:57 +00:00
Benjamin Peterson c5e68b1898 document numliterals fixer 2009-02-08 14:38:13 +00:00
Nick Coghlan 0194f5bc98 Issue #4512 closeout: Make ZipImport.get_filename() a public method 2009-02-08 03:17:00 +00:00
Nick Coghlan d39600e69f Issue 4195: Restore the ability to execute packages with the -m switch (but this time in a way that leaves the import machinery in a valid state). (Original patch by Andi Vajda) 2009-02-08 01:26:34 +00:00
Benjamin Peterson e0820e2ea7 document individual 2to3 fixers 2009-02-07 23:01:19 +00:00
Georg Brandl 95f8ef2825 make "super only for new-style classes" a note. 2009-02-07 18:49:54 +00:00
Georg Brandl 34feea3205 #5174: fix wrong file closing in example. 2009-02-07 12:21:17 +00:00
Benjamin Peterson a96a94af50 fix download link 2009-02-06 01:47:31 +00:00
Eric Smith 81fe09344c Implement issue #4285, convert sys.version_info to a named
tuple. Patch by Ross Light.
2009-02-06 00:48:26 +00:00
Georg Brandl ecd2afa452 #5031: fix Thread.daemon property docs. 2009-02-05 11:40:35 +00:00
Georg Brandl 85c5ccfab9 #4563: disable alpha and roman lists, fixes wrong formatting of contributor list. 2009-02-05 11:38:23 +00:00
Georg Brandl 2b0dd8e199 #4820: use correct module for ctypes.util. 2009-02-05 11:35:28 +00:00
Georg Brandl 253a29fa4d #4827: fix callback example. 2009-02-05 11:33:21 +00:00
Georg Brandl 4400d84bf7 #5015: document PythonHome API functions. 2009-02-05 11:32:18 +00:00
Georg Brandl 3ceebd2ca7 PyErr_PrintEx is also in 2.x... 2009-02-05 11:23:47 +00:00
Georg Brandl b21c75beab #5059: fix example. 2009-02-05 10:59:28 +00:00
Georg Brandl acc802b171 #5144: document that PySys_SetArgv prepends the script directory (or the empty string) to sys.path. 2009-02-05 10:37:07 +00:00
Georg Brandl 174fbe7742 #5153: fix typo in example. 2009-02-05 10:30:57 +00:00
Raymond Hettinger 11485b4869 Minor doc fixes. 2009-02-04 19:34:31 +00:00
Raymond Hettinger aff711d32a Clarify that named tuples do not have to subclass tuple. 2009-02-04 19:25:17 +00:00
Raymond Hettinger 1e884d9f67 Doc fixes. Remove overbroad, redundant warnings. Fixup example code. 2009-02-04 11:59:49 +00:00
Raymond Hettinger 939a3cc5a2 Tweak the docs for Counter() objects. 2009-02-04 11:31:30 +00:00