Commit graph

9051 commits

Author SHA1 Message Date
Lars Gustäbel
0138581c43 Merged revisions 78623 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78623 | lars.gustaebel | 2010-03-03 12:55:48 +0100 (Wed, 03 Mar 2010) | 3 lines

  Issue #7232: Add support for the context manager protocol
  to the TarFile class.
........
2010-03-03 12:08:54 +00:00
Benjamin Peterson
b2deb118f5 convert to print function 2010-03-03 02:09:18 +00:00
Benjamin Peterson
98047eb806 Merged revisions 78613-78614 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78613 | benjamin.peterson | 2010-03-02 19:55:09 -0600 (Tue, 02 Mar 2010) | 1 line

  edit for style
........
  r78614 | benjamin.peterson | 2010-03-02 20:04:24 -0600 (Tue, 02 Mar 2010) | 1 line

  fix Sphinx warnings
........
2010-03-03 02:07:08 +00:00
Benjamin Peterson
698a18aa9e Merged revisions 78586-78593 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78586 | benjamin.peterson | 2010-03-02 16:03:03 -0600 (Tue, 02 Mar 2010) | 1 line

  remove coding cookie as mandated by PEP 8
........
  r78587 | benjamin.peterson | 2010-03-02 16:05:59 -0600 (Tue, 02 Mar 2010) | 1 line

  set svn:eol-style
........
  r78588 | benjamin.peterson | 2010-03-02 16:08:40 -0600 (Tue, 02 Mar 2010) | 1 line

  remove another coding cookie
........
  r78589 | georg.brandl | 2010-03-02 16:17:38 -0600 (Tue, 02 Mar 2010) | 1 line

  Add some x-refs.
........
  r78590 | benjamin.peterson | 2010-03-02 16:20:10 -0600 (Tue, 02 Mar 2010) | 1 line

  enable running of argparse tests and fix two that failed in the new environment
........
  r78591 | benjamin.peterson | 2010-03-02 16:23:33 -0600 (Tue, 02 Mar 2010) | 1 line

  prevent warning filter adjustment from altering other tests
........
  r78592 | benjamin.peterson | 2010-03-02 16:24:30 -0600 (Tue, 02 Mar 2010) | 1 line

  use test_main() in __main__ section
........
  r78593 | benjamin.peterson | 2010-03-02 16:26:25 -0600 (Tue, 02 Mar 2010) | 1 line

  convert deprecated fail* methods to assert* variants
........
2010-03-02 22:34:37 +00:00
Steven Bethard
6d265699e6 Merged revisions 78576 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78576 | steven.bethard | 2010-03-02 00:38:09 -0800 (Tue, 02 Mar 2010) | 3 lines

  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 09:22:57 +00:00
Gregory P. Smith
1a530917e2 Merged revisions 78544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78544 | gregory.p.smith | 2010-02-28 20:56:12 -0800 (Sun, 28 Feb 2010) | 2 lines

  Adds c_ssize_t to ctypes.  issue 6729.
........
2010-03-01 04:59:27 +00:00
Gregory P. Smith
86508cc88b Merged revisions 78528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78528 | gregory.p.smith | 2010-02-28 18:01:47 -0800 (Sun, 28 Feb 2010) | 2 lines

  Adds the hashlib.algorithms attribute.  See issue7418.
........
2010-03-01 02:05:26 +00:00
Gregory P. Smith
48a5ec42a8 (really issue7832, not 7030)
Merged revisions 77998 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77998 | michael.foord | 2010-02-05 12:54:27 -0800 (Fri, 05 Feb 2010) | 9 lines

  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-28 22:01:02 +00:00
Ezio Melotti
c08cae9fa1 Merged revisions 78513 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78513 | ezio.melotti | 2010-02-28 05:46:13 +0200 (Sun, 28 Feb 2010) | 9 lines

  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:48:50 +00:00
Ezio Melotti
d59e44a5a7 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:46:13 +00:00
Ezio Melotti
8f1c275daa Merged revisions 78491 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78491 | ezio.melotti | 2010-02-27 15:54:27 +0200 (Sat, 27 Feb 2010) | 9 lines

  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:55:48 +00:00
Ezio Melotti
e33721e1b5 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:54:27 +00:00
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
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
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
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