Commit graph

15181 commits

Author SHA1 Message Date
Michael Foord
de4ceabfd8 Merged revisions 80476 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80476 | michael.foord | 2010-04-25 20:02:46 +0100 (Sun, 25 Apr 2010) | 1 line

  Adding unittest.removeHandler function / decorator for removing the signal.SIGINT signal handler. With tests and docs.
........
2010-04-25 19:53:49 +00:00
Ezio Melotti
97bb17979a Merged revisions 80472 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80472 | ezio.melotti | 2010-04-25 20:48:01 +0300 (Sun, 25 Apr 2010) | 9 lines

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

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

    Fix markup, punctuation and whitespaces in _winreg.rst.
  ........
................
2010-04-25 17:55:39 +00:00
Ezio Melotti
bc37298e84 Merged revisions 79786 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  Fix markup, punctuation and whitespaces in _winreg.rst.
........
2010-04-25 17:48:01 +00:00
Georg Brandl
3aba37af52 Merged revisions 80463 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r80463 | georg.brandl | 2010-04-25 12:19:53 +0200 (So, 25 Apr 2010) | 17 lines

  Merged revisions 80150,80460-80461 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

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

    Update link to Apple Publication Style guide.
  ........
    r80460 | georg.brandl | 2010-04-25 12:16:00 +0200 (So, 25 Apr 2010) | 1 line

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

    #8522: use with statement instead of try-finally for file handling.
  ........
................
2010-04-25 10:20:56 +00:00
Georg Brandl
386bc6d380 Merged revisions 80150,80460-80461 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  Update link to Apple Publication Style guide.
........
  r80460 | georg.brandl | 2010-04-25 12:16:00 +0200 (So, 25 Apr 2010) | 1 line

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

  #8522: use with statement instead of try-finally for file handling.
........
2010-04-25 10:19:53 +00:00
Benjamin Peterson
fb88636199 prevent the dict constructor from accepting non-string keyword args #8419
This adds PyArg_ValidateKeywordArguments, which checks that keyword arguments
are all strings, using an optimized method if possible.
2010-04-24 18:21:17 +00:00
Brian Curtin
44bb1f7eab Backport fix of #5774 (only OpenKey applies here). 2010-04-24 17:23:03 +00:00
Brian Curtin
d85594869d Fix #5774. Change doc to reflect that some functions have defaults but not kwargs. 2010-04-24 17:21:31 +00:00
Tarek Ziadé
8c26c7d907 added a note about the ignore_dangling_symlinks option 2010-04-23 13:03:50 +00:00
Sean Reifscheider
13daf12b47 Port of issue8451 to python3: Syslog use sys.argv[0] for ident. 2010-04-23 09:29:52 +00:00
Georg Brandl
9b9e0a1b4b Merged revisions 80390 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

................
  r80390 | georg.brandl | 2010-04-23 01:20:19 +0200 (Fr, 23 Apr 2010) | 9 lines

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

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

    Add "report a bug" links in some prominent places.  Make it clear that doc bugs can be mailed to docs@python.org.  Clarify tracker usage.
  ........
................
2010-04-22 23:20:47 +00:00
Georg Brandl
582c0a6ac2 Merged revisions 80388 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  Add "report a bug" links in some prominent places.  Make it clear that doc bugs can be mailed to docs@python.org.  Clarify tracker usage.
........
2010-04-22 23:20:19 +00:00
Senthil Kumaran
7a1e09f60c Merged revisions 80362 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80362 | senthil.kumaran | 2010-04-22 17:40:13 +0530 (Thu, 22 Apr 2010) | 4 lines

  Changed tests to only urlparse one, which was enough, addressed Ezio's comment
  on Invalid url check statement and versionchanged string in docs.
........
2010-04-22 12:19:46 +00:00
Victor Stinner
dcb2403022 Issue #8485: PyUnicode_FSConverter() doesn't accept bytearray object anymore,
you have to convert your bytearray filenames to bytes
2010-04-22 12:08:36 +00:00
Senthil Kumaran
d0ab48f1c4 Merged revisions 80346 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80346 | senthil.kumaran | 2010-04-22 16:23:30 +0530 (Thu, 22 Apr 2010) | 4 lines

  Fixing a note on encoding declaration, its usage in urlopen based on review
  comments from RDM and Ezio.
........
2010-04-22 10:58:56 +00:00
Senthil Kumaran
0c2d8b8e51 Fixing a note on encoding declaration, its usage in urlopen based on review
comments from RDM and Ezio.
2010-04-22 10:53:30 +00:00
Georg Brandl
5e73a819ca Typo fixes. 2010-04-22 07:02:51 +00:00
Georg Brandl
4c25cf3fb0 Fix indentation. 2010-04-22 07:00:42 +00:00
Senthil Kumaran
679b7b8bf3 Merged revisions 80337 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80337 | senthil.kumaran | 2010-04-22 11:23:18 +0530 (Thu, 22 Apr 2010) | 9 lines

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

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

    Updated the RFCs list in the See Also section of urlparse.rst
  ........
................
2010-04-22 05:59:54 +00:00
Senthil Kumaran
6257bdd8ea Merged revisions 80336 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  Updated the RFCs list in the See Also section of urlparse.rst
........
2010-04-22 05:53:18 +00:00
Brian Curtin
3035c3925c Port #7347 to py3k.
Add CreateKeyEx and DeleteKeyEx, along with test improvements.
2010-04-21 23:56:21 +00:00
Tarek Ziadé
df6198ee39 fixed typo 2010-04-21 07:30:43 +00:00
Mark Dickinson
7c186e2a18 Issue #2706: Add support for dividing a timedelta by another timedelta.
Adds support for the three division operations:

  - timedelta / timedelta -> float
  - timedelta // timedelta -> int
  - timedelta % timedelta -> timedelta

also adds support for divmod(timedelta, timedelta).

Patch by Victor Stinner, adapted for py3k and extended by Alexander
Belopolsky.
2010-04-20 22:32:49 +00:00
Tarek Ziadé
5e2be8737d Merged revisions 80282 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80282 | tarek.ziade | 2010-04-20 23:09:06 +0200 (Tue, 20 Apr 2010) | 1 line

  removed ztar support in shutil.make_archive
........
2010-04-20 21:40:47 +00:00
Georg Brandl
bdc55aba34 Markup nit. 2010-04-20 18:15:54 +00:00
Brian Curtin
904bd39afb Updated version numbers from 2.7 to 3.2
Merged revisions 80265 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80265 | brian.curtin | 2010-04-20 10:23:18 -0500 (Tue, 20 Apr 2010) | 2 lines

  Add version info for os.kill and signal changes from #1220212.
........
2010-04-20 15:28:06 +00:00
Tarek Ziadé
6cf3e616e4 fixed typo -- thanks Nick 2010-04-20 14:31:49 +00:00
Ezio Melotti
cb999a311c Add missing arg, fix indentation and spelling. 2010-04-20 11:26:51 +00:00
Ezio Melotti
4d5195bab5 Fix two versionchanged. 2010-04-20 10:57:44 +00:00
Ezio Melotti
11d22dce3a Merged revisions 79963,80024,80064,80070,80085,80088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79963 | andrew.kuchling | 2010-04-11 23:40:09 +0300 (Sun, 11 Apr 2010) | 1 line

  Add several items
........
  r80024 | andrew.kuchling | 2010-04-13 04:32:51 +0300 (Tue, 13 Apr 2010) | 1 line

  Add an item; stray edit
........
  r80064 | andrew.kuchling | 2010-04-14 04:14:59 +0300 (Wed, 14 Apr 2010) | 1 line

  Add argparse example
........
  r80070 | andrew.kuchling | 2010-04-14 17:28:31 +0300 (Wed, 14 Apr 2010) | 1 line

  Add some text
........
  r80085 | andrew.kuchling | 2010-04-15 02:55:17 +0300 (Thu, 15 Apr 2010) | 1 line

  Add various items; correct argparse output
........
  r80088 | andrew.kuchling | 2010-04-15 04:42:27 +0300 (Thu, 15 Apr 2010) | 1 line

  Add various items
........
2010-04-20 09:55:05 +00:00
Ezio Melotti
7e5b8892ce Update the python version in the interpreter tutorial. 2010-04-20 09:41:59 +00:00
Ezio Melotti
8d5c16a4e7 Add a missing versionadded in unittest.rst. 2010-04-20 09:36:13 +00:00
Ezio Melotti
7afd3f532d Fix versionadded in unittest.rst. 2010-04-20 09:32:54 +00:00
Tarek Ziadé
7aa6da0509 added a note on shutil.copytree improvements 2010-04-20 09:13:23 +00:00
Tarek Ziadé
fb437513d6 Fixed #6547: Added the ignore_dangling_symlinks option to shutil.copytree 2010-04-20 08:57:33 +00:00
Tarek Ziadé
5340db3803 Fixed #1540112: now shutil.copytree will let you provide your own copy() function 2010-04-19 22:30:51 +00:00
Tarek Ziadé
10a51afc80 Merged revisions 80221 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80221 | tarek.ziade | 2010-04-19 23:28:21 +0200 (Mon, 19 Apr 2010) | 1 line

  Fixed #8463: added missing reference to bztar in shutil's documentation.
........
2010-04-19 21:31:42 +00:00
Antoine Pitrou
e4754bda86 Remove obsolete mention of IRIX native threads -- we don't use them anymore. 2010-04-19 14:09:57 +00:00
Antoine Pitrou
adbc009779 Add version{added,changed} for lock timeout support. 2010-04-19 14:05:51 +00:00
Georg Brandl
88d7dbdc0e Remove colspanning cells. 2010-04-18 09:50:07 +00:00
Antoine Pitrou
0454af9b54 Issue #850728: Add a *timeout* parameter to the acquire() method of
`threading.Semaphore` objects.  Original patch by Torsten Landschoff.
2010-04-17 23:51:58 +00:00
Antoine Pitrou
2d9cb9c1cb Merged revisions 80151 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80151 | antoine.pitrou | 2010-04-17 19:10:38 +0200 (sam., 17 avril 2010) | 4 lines

  Issue #8322: Add a *ciphers* argument to SSL sockets, so as to change the
  available cipher list.  Helps fix test_ssl with OpenSSL 1.0.0.
........
2010-04-17 17:40:45 +00:00
Barry Warsaw
28a691b7fd PEP 3147 2010-04-17 00:19:56 +00:00
Senthil Kumaran
0e3e485452 Merged revisions 80092 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80092 | senthil.kumaran | 2010-04-15 22:48:22 +0530 (Thu, 15 Apr 2010) | 2 lines

  Fix Issue5419 - explaining bytes return value of urlopen, use of .decode() to convert to str.
........
2010-04-15 17:21:29 +00:00
Senthil Kumaran
b213ee33c0 Fix Issue5419 - explaining bytes return value of urlopen, use of .decode() to convert to str. 2010-04-15 17:18:22 +00:00
Antoine Pitrou
7c3e577395 Issue #7316: the acquire() method of lock objects in the :mod:threading
module now takes an optional timeout argument in seconds.  Timeout support
relies on the system threading library, so as to avoid a semi-busy wait
loop.
2010-04-14 15:44:10 +00:00
Raymond Hettinger
4c4d3b1ddd Add usage notes for collections.Counter() 2010-04-12 21:47:14 +00:00
Raymond Hettinger
22f188512b Add usage notes for collections.Counter() 2010-04-12 21:45:14 +00:00
Mark Dickinson
6abf1823da Merged revisions 80013-80015 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  Issue #7355: Various improvements to struct module documentation.

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

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

   - better headers and references; introduction to format strings

   - integrate packing notes into table

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

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

  More struct doc tweaks.
........
2010-04-12 21:00:59 +00:00
Mark Dickinson
1862840037 More NaN consistency fixes (manual merge of r79875 to release31-maint). 2010-04-12 18:52:08 +00:00