Commit Graph

9846 Commits

Author SHA1 Message Date
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
Raymond Hettinger f04545565a Update advice on how to implement a queue. 2009-10-21 17:44:38 +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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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é 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
Skip Montanaro c4e36cdfee missing module ref (issue6723) 2009-08-18 14:38:02 +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
Jesse Noller ce14c099df Merge fix for 4660 back to 26 maint 2009-08-06 02:08:10 +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
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 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 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
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 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
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
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
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
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
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
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
Raymond Hettinger d97d1fdc60 Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:18:54 +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 16e527fc1a Add example of how to do key lookups with bisect(). 2009-06-11 22:04:49 +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
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
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
Raymond Hettinger 4f1e16338d Fix field name conflicts for named tuples. 2009-05-27 02:17:26 +00:00