Commit Graph

8891 Commits

Author SHA1 Message Date
Georg Brandl 0dedf45142 #6079: use 3k except syntax in examples. 2009-05-22 16:44:06 +00:00
Georg Brandl fe5f4098ac Recorded merge of revisions 72830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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-22 10:44:31 +00:00
Philip Jenvey ab7481a0a4 Merged revisions 72817 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72817 | philip.jenvey | 2009-05-21 22:35:32 -0700 (Thu, 21 May 2009) | 4 lines

  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:46:35 +00:00
Raymond Hettinger d40285a986 Fix-up moving average example. 2009-05-22 01:11:26 +00:00
Raymond Hettinger e90915011c Note that ordered dictionaries work with reversed(). 2009-05-19 17:40:07 +00:00
Georg Brandl 036490d025 More conversion to new-style optional args. 2009-05-17 13:00:36 +00:00
Georg Brandl 71515ca191 Remove surplus empty lines and convert more files to new optional arg style. 2009-05-17 12:29:12 +00:00
Georg Brandl 3f076d8b3d Use new optional argument style in email docs. 2009-05-17 11:28:33 +00:00
Georg Brandl 8126914398 Recorded merge of revisions 72708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........
2009-05-17 08:31:29 +00:00
Georg Brandl 7fcb3bfadd Merged revisions 72703 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  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.
........
2009-05-17 08:18:02 +00:00
Georg Brandl 397ad860e9 #4144: fix output of console sessions. 2009-05-17 08:14:39 +00:00
Raymond Hettinger bd3da6b980 More updates. 2009-05-15 16:16:12 +00:00
Raymond Hettinger daafea3691 Add examples for ipaddr. 2009-05-15 15:21:33 +00:00
Raymond Hettinger 9dd747692c Update whatsnew for imaplib changes. Move importlib work to end of section. 2009-05-15 14:57:35 +00:00
Benjamin Peterson 95d78ec302 this statement isn't actually true 2009-05-14 23:31:04 +00:00
Raymond Hettinger 4f20a741eb Bring whatsnew up-to-date as of May 14th. 2009-05-14 23:17:38 +00:00
Raymond Hettinger d48ed2e15d Update whatsnew for NEWS entries through May 5th. 2009-05-14 22:48:19 +00:00
Raymond Hettinger 7c8494b6e2 Fix error in 2-to-3 translation of docs. 2009-05-14 21:48:02 +00:00
Raymond Hettinger 9aaef2da4d Suggest how to use compare_networks() with a modern Python. 2009-05-14 15:31:02 +00:00
Tarek Ziadé 434caaab75 typo 2009-05-14 12:48:09 +00:00
Benjamin Peterson 4487f53fd6 typo 2009-05-13 21:15:03 +00:00
Benjamin Peterson 12f29ffb9f two edits 2009-05-12 20:58:26 +00:00
Benjamin Peterson 4199d603fe add example function 2009-05-12 20:47:57 +00:00
Michael Foord 20b50b1984 Examples correction in urllib2 howto. Michael Foord 2009-05-12 11:19:14 +00:00
Benjamin Peterson 3261fa5a6b detach() is a nifty trick for making std* binary 2009-05-12 03:01:51 +00:00
R. David Murray ff85bcac22 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:40:16 +00:00
Martin v. Löwis 43c57785d3 Rename utf8b error handler to surrogateescape. 2009-05-10 08:15:24 +00:00
Martin v. Löwis e0a2b72e61 Rename the surrogates error handler to surrogatepass. 2009-05-10 08:08:56 +00:00
Benjamin Peterson 25c95f1298 Merged revisions 70768,71657,71721,71729,71794,71976,72036-72037,72079,72085,72131-72134,72191,72197-72198,72219,72221,72225,72303,72434,72467,72476 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70768 | andrew.kuchling | 2009-03-30 17:29:15 -0500 (Mon, 30 Mar 2009) | 1 line

  Typo fixes
........
  r71657 | vinay.sajip | 2009-04-16 14:07:37 -0500 (Thu, 16 Apr 2009) | 1 line

  Issue #5768: Change to Unicode output logic and test case for same.
........
  r71721 | benjamin.peterson | 2009-04-18 14:26:19 -0500 (Sat, 18 Apr 2009) | 1 line

  fix a few nits in unittest.py #5771
........
  r71729 | benjamin.peterson | 2009-04-18 16:03:10 -0500 (Sat, 18 Apr 2009) | 1 line

  move test to a more appropiate one
........
  r71794 | vinay.sajip | 2009-04-22 07:10:47 -0500 (Wed, 22 Apr 2009) | 2 lines

  Issue #5170: Fixed regression caused when fixing #5768.
........
  r71976 | mark.dickinson | 2009-04-26 14:54:55 -0500 (Sun, 26 Apr 2009) | 2 lines

  Fix typo in function name
........
  r72036 | georg.brandl | 2009-04-27 12:04:23 -0500 (Mon, 27 Apr 2009) | 1 line

  #5848: small unittest doc patch.
........
  r72037 | georg.brandl | 2009-04-27 12:09:53 -0500 (Mon, 27 Apr 2009) | 1 line

  #5840: dont claim we dont support TLS.
........
  r72079 | r.david.murray | 2009-04-28 14:02:55 -0500 (Tue, 28 Apr 2009) | 2 lines

  Remove spurious 'u'.
........
  r72085 | georg.brandl | 2009-04-28 16:48:35 -0500 (Tue, 28 Apr 2009) | 1 line

  Make the doctests in the docs pass, except for those in the turtle module.
........
  r72131 | benjamin.peterson | 2009-04-29 17:43:35 -0500 (Wed, 29 Apr 2009) | 1 line

  fix test_shutil on ZFS #5676
........
  r72132 | georg.brandl | 2009-04-29 17:44:07 -0500 (Wed, 29 Apr 2009) | 1 line

  #5878: fix repr of re object.
........
  r72133 | benjamin.peterson | 2009-04-29 17:44:15 -0500 (Wed, 29 Apr 2009) | 1 line

  make sure mode is removable while cleaning up test droppings
........
  r72134 | benjamin.peterson | 2009-04-29 19:06:33 -0500 (Wed, 29 Apr 2009) | 1 line

  make sure to close file
........
  r72191 | michael.foord | 2009-05-02 06:43:06 -0500 (Sat, 02 May 2009) | 9 lines

  Adds an exit parameter to unittest.main(). If False main no longer
  calls sys.exit.

  Closes issue 3379.

  Michael Foord

........
  r72197 | benjamin.peterson | 2009-05-02 11:24:37 -0500 (Sat, 02 May 2009) | 1 line

  don't let sys.argv be used in the tests
........
  r72198 | andrew.kuchling | 2009-05-02 12:12:15 -0500 (Sat, 02 May 2009) | 1 line

  Add items
........
  r72219 | michael.foord | 2009-05-02 15:15:05 -0500 (Sat, 02 May 2009) | 8 lines

  Add addCleanup and doCleanups to unittest.TestCase.

  Closes issue 5679.

  Michael Foord
........
  r72221 | benjamin.peterson | 2009-05-02 15:26:53 -0500 (Sat, 02 May 2009) | 1 line

  add myself
........
  r72225 | michael.foord | 2009-05-02 17:43:34 -0500 (Sat, 02 May 2009) | 1 line
........
  r72303 | benjamin.peterson | 2009-05-04 19:55:24 -0500 (Mon, 04 May 2009) | 1 line

  using sys._getframe(x), where x > 0 doesnt' work on IronPython
........
  r72434 | r.david.murray | 2009-05-07 13:09:58 -0500 (Thu, 07 May 2009) | 2 lines

  Pre-opened test file needs to be opened in binary mode.
........
  r72467 | georg.brandl | 2009-05-08 07:17:34 -0500 (Fri, 08 May 2009) | 1 line

  Fix name.
........
  r72476 | thomas.heller | 2009-05-08 15:09:40 -0500 (Fri, 08 May 2009) | 4 lines

  Add a file that contains diffs between offical libffi files and the
  files in this repository.  Should make it easier to merge new libffi
  versions.
........
2009-05-08 20:42:26 +00:00
Eric Smith e5fffc7279 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:38:09 +00:00
Andrew M. Kuchling e9c3a19163 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-07 10:56:44 +00:00
Eric Smith 741191f17a Issue #3382. float 'F' formatting no longer maps to 'f'. This only affects nan and inf. 2009-05-06 13:08:15 +00:00
Georg Brandl 30f4a4c505 #5946: fix speling. 2009-05-06 08:32:17 +00:00
Mark Hammond 5a607a3ee5 Issue #5799: ntpath (ie, os.path on Windows) fully supports UNC pathnames.
By Larry Hastings, reviewed eric.smith and mark.hammond.
2009-05-06 08:04:54 +00:00
Georg Brandl f05f820bf9 Small style edits. 2009-05-05 22:53:19 +00:00
Benjamin Peterson b9ce9b5132 edits 2009-05-05 22:43:21 +00:00
Benjamin Peterson b173f7853e add a replacement API for PyCObject, PyCapsule #5630
All stdlib modules with C-APIs now use this.

Patch by Larry Hastings
2009-05-05 22:31:58 +00:00
Eric Smith 3bef15be2d Improved wording. 2009-05-05 17:19:46 +00:00
Eric Smith 25e218e381 Documentation for Issue #5920. 2009-05-05 16:42:58 +00:00
Eric Smith 63376228a3 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 14:04:18 +00:00
Georg Brandl 705d9d5c41 2.7 -> 3.1 versionchanges. 2009-05-05 09:29:50 +00:00
Georg Brandl 243ad66ba6 Merged revisions 72322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72322 | georg.brandl | 2009-05-05 10:54:11 +0200 (Di, 05 Mai 2009) | 1 line

  #5142: add module skipping feature to pdb.
........
2009-05-05 09:00:19 +00:00
Georg Brandl eaa84ef1e9 #5923: update turtle module to version 1.1. 2009-05-05 08:14:33 +00:00
Georg Brandl 5133529614 #5938: use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT in noddy examples. 2009-05-05 07:55:26 +00:00
Martin v. Löwis 011e842033 Issue #5915: Implement PEP 383, Non-decodable Bytes in
System Character Interfaces.
2009-05-05 04:43:17 +00:00
R. David Murray f877feb806 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 02:08:52 +00:00
Georg Brandl 4f5f98d7d1 Add missing documentation for bytes.decode(). 2009-05-04 21:01:20 +00:00
Georg Brandl 5f25972a05 Merged revisions 72292 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

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

  #5916, 5917: small socket doc improvements.
........
2009-05-04 20:50:30 +00:00
Georg Brandl 9460648547 Merged revisions 72290 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72290 | georg.brandl | 2009-05-04 22:45:13 +0200 (Mo, 04 Mai 2009) | 1 line

  #5927, 5928: typos.
........
2009-05-04 20:46:44 +00:00
Georg Brandl 17761d15c6 Merged revisions 72288 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72288 | georg.brandl | 2009-05-04 22:42:08 +0200 (Mo, 04 Mai 2009) | 1 line

  #5925: fix highlighting of keyword table.
........
2009-05-04 20:43:44 +00:00