Commit graph

21441 commits

Author SHA1 Message Date
Gregory P. Smith
b6e8c7e8fb Add an os.get_exec_path() function to return the list of directories
that launching a subprocess will search for the executable.
Refactors some code in os._execvpe().
2010-02-27 07:22:22 +00:00
Andrew M. Kuchling
2b600e5496 Merged revisions 78463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78463 | andrew.kuchling | 2010-02-26 08:22:50 -0500 (Fri, 26 Feb 2010) | 1 line

  #7407: specify default maxsize value; patch by Floris Bruynooghe
........
2010-02-26 13:35:56 +00:00
Senthil Kumaran
c2eca3d73a Merged revisions 78459 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78459 | senthil.kumaran | 2010-02-26 06:23:23 +0530 (Fri, 26 Feb 2010) | 9 lines

  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:55:09 +00:00
Senthil Kumaran
7e557a6e1f 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:53:23 +00:00
Eric Smith
de75569016 Merged revisions 78446 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78446 | eric.smith | 2010-02-25 09:58:13 -0500 (Thu, 25 Feb 2010) | 9 lines

  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:59:39 +00:00
Eric Smith
2e9f202f62 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:58:13 +00:00
Eric Smith
ea2e7898a1 Merged revisions 78442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78442 | eric.smith | 2010-02-25 09:18:57 -0500 (Thu, 25 Feb 2010) | 9 lines

  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:20:36 +00:00
Eric Smith
05c0774f33 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:18:57 +00:00
R. David Murray
19e454874f Fix version added for csv writeheader. 2010-02-23 23:00:34 +00:00
R. David Murray
be0698b1ad Merged revisions 78384 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78384 | dirkjan.ochtman | 2010-02-23 16:09:52 -0500 (Tue, 23 Feb 2010) | 4 lines

  Fix #1537721: add writeheader() method to csv.DictWriter.

  Reviewed by skip.montanaro and thomas.wouters.
........
2010-02-23 22:57:58 +00:00
Tarek Ziadé
396fad7a47 Merged revisions 78359-78360 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78359 | tarek.ziade | 2010-02-23 00:16:41 -0500 (Tue, 23 Feb 2010) | 1 line

  added make_archive (and secondary APIs) to shutil
........
  r78360 | tarek.ziade | 2010-02-23 00:20:22 -0500 (Tue, 23 Feb 2010) | 1 line

  added a note on shutil new APIs
........
2010-02-23 05:30:31 +00:00
Senthil Kumaran
3b63c3d059 Merged revisions 78325 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r78325 | senthil.kumaran | 2010-02-22 22:47:22 +0530 (Mon, 22 Feb 2010) | 2 lines

  Fixing Issue7399  - Fixing an example of urllib usage.
........
2010-02-22 17:19:17 +00:00
Senthil Kumaran
ac0b889e82 Fixing Issue7399 - Fixing an example of urllib usage. 2010-02-22 17:17:22 +00:00
Mark Dickinson
f9793a36a4 Merged revisions 78314 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78314 | mark.dickinson | 2010-02-22 15:41:48 +0000 (Mon, 22 Feb 2010) | 9 lines

  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:42:18 +00:00
Mark Dickinson
5961b0e35f 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:48 +00:00
Andrew M. Kuchling
7718e5e220 #7794: describe 3.1 support for executing directories and zip archives 2010-02-22 15:24:43 +00:00
Andrew M. Kuchling
19219b41e8 #7794: describe 3.1 support for executing directories and zip archives 2010-02-22 15:19:05 +00:00
Andrew M. Kuchling
fbd9d2fb10 Merged revisions 78308 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78308 | andrew.kuchling | 2010-02-22 10:13:17 -0500 (Mon, 22 Feb 2010) | 2 lines

  #6414: clarify description of processor endianness.
  Text by Alexey Shamrin; I changed 'DEC Alpha' to the more relevant 'Intel Itanium'.
........
2010-02-22 15:15:21 +00:00
Eric Smith
68af50ba39 Issue #5988: Delete deprecated functions PyOS_ascii_formatd, PyOS_ascii_strtod, and PyOS_ascii_atof. 2010-02-22 14:58:30 +00:00
Andrew M. Kuchling
9d2d327963 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:57:30 +00:00
Georg Brandl
4c247d639f #5341: fix parenthesis placement. 2010-02-19 09:10:15 +00:00
Fred Drake
03c44a30a3 Merged revisions 78232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78232 | fred.drake | 2010-02-19 00:24:30 -0500 (Fri, 19 Feb 2010) | 3 lines

  - apply patch from issue 7005
  - add corresponding documentation
........
2010-02-19 06:08:41 +00:00
Benjamin Peterson
2c2dc37e58 lower case 2010-02-19 01:05:32 +00:00
Benjamin Peterson
cc12e1b651 add a link to sys.std* in io docs 2010-02-19 00:58:13 +00:00
Mark Dickinson
9b3bada79f Merged revisions 78220 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r78220 | mark.dickinson | 2010-02-18 14:54:37 +0000 (Thu, 18 Feb 2010) | 1 line

  Remove references to the 'long' type in py3k decimal docs.
........
2010-02-18 14:59:50 +00:00
Mark Dickinson
5d233fd6ff Remove references to the 'long' type in py3k decimal docs. 2010-02-18 14:54:37 +00:00
Mark Dickinson
84230a1eb2 Merged revisions 78217-78218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78217 | mark.dickinson | 2010-02-18 14:27:02 +0000 (Thu, 18 Feb 2010) | 5 lines

  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.
........
  r78218 | mark.dickinson | 2010-02-18 14:45:33 +0000 (Thu, 18 Feb 2010) | 1 line

  Doctest fixes for decimal.py:  add an integer-argument doctest for logical_invert;  don't use integer literals with a leading zero.
........
2010-02-18 14:49:50 +00:00
Eric Smith
ee137ff1a9 Merged revisions 78200 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78200 | eric.smith | 2010-02-15 06:57:31 -0500 (Mon, 15 Feb 2010) | 9 lines

  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:59:37 +00:00
Eric Smith
0f7affe400 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:57:31 +00:00
Ezio Melotti
db01a3e71c Merged revisions 78180 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r78180 | ezio.melotti | 2010-02-14 05:11:06 +0200 (Sun, 14 Feb 2010) | 1 line

  #7888: fix deprecation on the wrong method.
........
2010-02-14 03:12:04 +00:00
Ezio Melotti
4e5112867c #7888: fix deprecation on the wrong method. 2010-02-14 03:11:06 +00:00
Ezio Melotti
c3ad71e621 Merged revisions 78178 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78178 | ezio.melotti | 2010-02-14 04:54:22 +0200 (Sun, 14 Feb 2010) | 9 lines

  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:55:47 +00:00
Ezio Melotti
a10a2e862c 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:54:22 +00:00
Ezio Melotti
36e1f2de07 Merged revisions 78164 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78164 | ezio.melotti | 2010-02-12 02:28:42 +0200 (Fri, 12 Feb 2010) | 9 lines

  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-12 00:31:13 +00:00
Ezio Melotti
edeacda118 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-12 00:28:42 +00:00
Tarek Ziadé
667882fac4 Merged revisions 78019 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78019 | georg.brandl | 2010-02-06 11:23:16 +0100 (Sat, 06 Feb 2010) | 1 line

  Review sysconfig docs.
........
2010-02-11 20:47:18 +00:00
R. David Murray
733ecdcc2f Merged revisions 78145 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78145 | r.david.murray | 2010-02-10 21:42:19 -0500 (Wed, 10 Feb 2010) | 18 lines

  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 03:06:51 +00:00
R. David Murray
ddb3ed003e 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:42:19 +00:00
Michael Foord
34c9462d71 Merged revisions 78130 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78130 | michael.foord | 2010-02-10 14:25:12 +0000 (Wed, 10 Feb 2010) | 1 line

  Issue 7893 and Issue 7588
........
2010-02-10 15:51:42 +00:00
Michael Foord
28a817e3ba Fixing typo in unittest docs. 2010-02-09 00:03:57 +00:00
Michael Foord
0283495c30 Merged revisions 78116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78116 | michael.foord | 2010-02-08 22:41:16 +0000 (Mon, 08 Feb 2010) | 1 line

  Make assertMultiLineEqual the default for comparing unicode strings.
........
2010-02-08 23:10:39 +00:00
Ezio Melotti
0f36573f10 Use non-deprecated method in the example 2010-02-08 22:07:38 +00:00
Ezio Melotti
4900823027 Merged revisions 78091,78094,78109 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78091 | georg.brandl | 2010-02-07 19:02:22 +0200 (Sun, 07 Feb 2010) | 1 line

  Rename "exc_value" attribute on assertRaises context manager to "exception".
........
  r78094 | michael.foord | 2010-02-07 20:44:12 +0200 (Sun, 07 Feb 2010) | 1 line

  assertRaises as context manager now allows you to access exception as documented
........
  r78109 | ezio.melotti | 2010-02-08 23:52:08 +0200 (Mon, 08 Feb 2010) | 1 line

  Fix exc_value -> exception in docstring
........
2010-02-08 21:57:48 +00:00
Ronald Oussoren
ee5c885fd2 Merged revisions 78097 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78097 | ronald.oussoren | 2010-02-07 21:18:02 +0100 (Sun, 07 Feb 2010) | 2 lines

  Issue 6003: ZipFile.writestr "compression_type" argument
........
2010-02-07 20:24:02 +00:00
Georg Brandl
c4a55fccab Recorded merge of 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-06 18:46:57 +00:00
Michael Foord
b112a41aa3 Merged revisions 78007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78007 | michael.foord | 2010-02-05 23:28:12 +0000 (Fri, 05 Feb 2010) | 1 line

  Minor doc change.
........
2010-02-05 23:32:33 +00:00
Michael Foord
f5c851aa04 Adding versionadded to the test skipping section of the unittest doc. 2010-02-05 21:48:03 +00:00
Michael Foord
41531f2e19 Merged revisions 77999 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77999 | michael.foord | 2010-02-05 21:07:38 +0000 (Fri, 05 Feb 2010) | 1 line

  Example of using assertRaises as a context manager in the unittest documentation.
........
2010-02-05 21:13:40 +00:00
Michael Foord
e9abbeecf2 Merged revisions 77997 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77997 | michael.foord | 2010-02-05 20:52:14 +0000 (Fri, 05 Feb 2010) | 1 line

  Closes issue 7030.
........
2010-02-05 20:54:27 +00:00
Barry Warsaw
a1bd445e6c Merged revisions 77995 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r77995 | barry.warsaw | 2010-02-05 14:12:30 -0500 (Fri, 05 Feb 2010) | 3 lines

  Document the -J and -X options for CPython.  Note that unlike for py2k, we
  don't need to document -U becuase it's gone in py3k.
........
2010-02-05 19:21:12 +00:00