Commit Graph

45496 Commits

Author SHA1 Message Date
Giampaolo Rodolà 00a4286591 Merged revisions 88726 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88726 | giampaolo.rodola | 2011-03-03 15:10:58 +0100 (gio, 03 mar 2011) | 1 line

  fix attribute error
........
2011-03-03 14:11:46 +00:00
Giampaolo Rodolà 9c9105dc81 Merged revisions 88722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88722 | giampaolo.rodola | 2011-03-03 14:57:47 +0100 (gio, 03 mar 2011) | 1 line

  Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send().
........
2011-03-03 13:59:28 +00:00
Fred Drake c7eb7894d3 Merged revisions 88717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines

  issue 11372: use range instead of xrange
........
2011-03-03 05:29:59 +00:00
Victor Stinner f0e293cbcd Merged revisions 88700 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88700 | victor.stinner | 2011-03-02 00:08:36 +0100 (mer., 02 mars 2011) | 3 lines

  Issue #10911: Add tests on CGI with non-ASCII characters

  Patch written by Pierre Quentel
........
2011-03-01 23:09:57 +00:00
Victor Stinner 2b574a2332 Merged revisions 88697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88697 | victor.stinner | 2011-03-01 23:46:52 +0100 (mar., 01 mars 2011) | 4 lines

  Issue #11246: Fix PyUnicode_FromFormat("%V")

  Decode the byte string from UTF-8 (with replace error handler) instead of
  ISO-8859-1 (in strict mode). Patch written by Ray Allen.
........
2011-03-01 22:48:49 +00:00
Antoine Pitrou d84dfee7c1 Merged revisions 88691 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88691 | antoine.pitrou | 2011-03-01 01:41:10 +0100 (mar., 01 mars 2011) | 3 lines

  Endly, fix UnboundLocalError in telnetlib
........
2011-03-01 00:45:22 +00:00
Antoine Pitrou 6120d87d32 Merged revisions 88686 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88686 | antoine.pitrou | 2011-02-28 23:38:07 +0100 (lun., 28 févr. 2011) | 4 lines

  Recommend inspecting the errno attribute of socket.error objects,
  and improve wording.
........
2011-02-28 23:03:28 +00:00
Antoine Pitrou d1c9845b54 Merged revisions 88671 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88671 | antoine.pitrou | 2011-02-27 16:44:12 +0100 (dim., 27 févr. 2011) | 3 lines

  Follow up to r88664: non-blocking connect-ex() can return EWOULDBLOCK under Windows
........
2011-02-27 15:45:16 +00:00
Benjamin Peterson f3352e7c1f Merged revisions 88668 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88668 | benjamin.peterson | 2011-02-27 09:06:44 -0600 (Sun, 27 Feb 2011) | 1 line

  make this a link #11345
........
2011-02-27 15:15:06 +00:00
Antoine Pitrou 86cbfec50a Merged revisions 88664 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88664 | antoine.pitrou | 2011-02-27 00:24:06 +0100 (dim., 27 févr. 2011) | 4 lines

  Issue #11326: Add the missing connect_ex() implementation for SSL sockets,
  and make it work for non-blocking connects.
........
2011-02-26 23:25:34 +00:00
Benjamin Peterson 849272bf02 Merged revisions 88658 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88658 | benjamin.peterson | 2011-02-26 15:32:16 -0600 (Sat, 26 Feb 2011) | 1 line

  this isn't true anymore
........
2011-02-26 21:34:51 +00:00
Antoine Pitrou 4914f9e4e2 Merged revisions 88652 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88652 | antoine.pitrou | 2011-02-26 16:58:05 +0100 (sam., 26 févr. 2011) | 4 lines

  Issue #9931: Fix hangs in GUI tests under Windows in certain conditions.
  Patch by Hirokazu Yamamoto.
........
2011-02-26 16:49:08 +00:00
Vinay Sajip 89807a5277 Issue #11330: Updated tests for correct asctime handling. 2011-02-26 16:06:02 +00:00
Vinay Sajip ed0473cfaf Issue #9941: Fixed TimedRotatingHandler test issues. 2011-02-26 15:35:38 +00:00
Vinay Sajip 2a4c0f8b60 Removed typo. 2011-02-26 14:28:36 +00:00
Vinay Sajip dcc9513c67 Issue #11331: fixed documentation in logging cookbook. 2011-02-26 14:24:29 +00:00
Vinay Sajip 10914b7473 Issue #11330: asctime format bug fixed. 2011-02-26 14:15:48 +00:00
Senthil Kumaran 725c2b9873 Merged revisions 88631 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88631 | senthil.kumaran | 2011-02-26 11:44:03 +0800 (Sat, 26 Feb 2011) | 2 lines

  Fix Issue10228 - Refleak run of test_dbm fails when several dbm modules are available (Patch by Ray.Allen)
........
2011-02-26 07:11:27 +00:00
Antoine Pitrou 5d5381ed00 Merged revisions 88622 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88622 | antoine.pitrou | 2011-02-26 00:07:44 +0100 (sam., 26 févr. 2011) | 5 lines

  Issue #7322: Trying to read from a socket's file-like object after a timeout
  occurred now raises an error instead of silently losing data.
  Patch by Ross Lagerwall.
........
2011-02-25 23:14:08 +00:00
Éric Araujo 7d9d34f18a Merged revisions 88613 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88613 | eric.araujo | 2011-02-25 22:40:34 +0100 (ven., 25 févr. 2011) | 2 lines

  Add missing read() in distutils doc.
........
2011-02-25 21:45:06 +00:00
Antoine Pitrou d843c2d86f Merged revisions 88610 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88610 | antoine.pitrou | 2011-02-25 22:24:11 +0100 (ven., 25 févr. 2011) | 4 lines

  Issue #10956: Buffered I/O classes retry reading or writing after a signal
  has arrived and the handler returned successfully.
........
2011-02-25 21:34:39 +00:00
Giampaolo Rodolà 31c44031f8 Merged revisions 88604 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88604 | giampaolo.rodola | 2011-02-25 21:05:48 +0100 (ven, 25 feb 2011) | 1 line

  (issue 11214) - fix asyncore.strerror test failure on AIX
........
2011-02-25 20:07:25 +00:00
Giampaolo Rodolà fb9a9c8f2f Merged revisions 88581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88581 | giampaolo.rodola | 2011-02-25 15:50:57 +0100 (ven, 25 feb 2011) | 1 line

  (issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi)
........
2011-02-25 14:54:07 +00:00
Georg Brandl 29eb90a69d Blocked revisions 88447-88449,88451,88459,88523-88524 via svnmerge
........
  r88447 | georg.brandl | 2011-02-20 11:33:21 +0100 (So, 20 Feb 2011) | 2 lines

  Bump to 3.3a0.
........
  r88448 | georg.brandl | 2011-02-20 11:37:07 +0100 (So, 20 Feb 2011) | 1 line

  Bump trunk to 3.3 alpha 0.
........
  r88449 | georg.brandl | 2011-02-20 11:41:31 +0100 (So, 20 Feb 2011) | 1 line

  More automated version replacement.
........
  r88451 | georg.brandl | 2011-02-20 12:18:09 +0100 (So, 20 Feb 2011) | 1 line

  Remove unittest methods scheduled for removal in 3.3 -- makes the unittest test suite pass again.
........
  r88459 | raymond.hettinger | 2011-02-21 18:54:36 +0100 (Mo, 21 Feb 2011) | 1 line

  Issue 10160: Both single-arg and multi-arg calls have been sped-up.
........
  r88523 | georg.brandl | 2011-02-23 08:30:12 +0100 (Mi, 23 Feb 2011) | 1 line

  Add new subdirectory to LIBSUBDIRS.
........
  r88524 | georg.brandl | 2011-02-23 08:31:24 +0100 (Mi, 23 Feb 2011) | 1 line

  Indent "versionadded" properly.
........
2011-02-25 08:25:27 +00:00
Antoine Pitrou 915605c59a Merged revisions 88550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88550 | antoine.pitrou | 2011-02-24 21:50:49 +0100 (jeu., 24 févr. 2011) | 4 lines

  Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with
  a buffer struct having a NULL data pointer.
........
2011-02-24 20:53:48 +00:00
Alexander Belopolsky ec8f0df229 Merged revisions 88546 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88546 | alexander.belopolsky | 2011-02-24 14:40:09 -0500 (Thu, 24 Feb 2011) | 3 lines

  Issue #11286: Fixed unpickling of empty 2.x strings.
........
2011-02-24 20:34:38 +00:00
Giampaolo Rodolà f4977d2f50 Merged revisions 88501 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88501 | giampaolo.rodola | 2011-02-22 16:56:20 +0100 (mar, 22 feb 2011) | 1 line

  smtlib.py PEP8 normalization via pep8.py script.
........
2011-02-24 20:25:11 +00:00
Raymond Hettinger 8edd2e9720 Issue #11296: rsplit() mentioned twice for the same change. 2011-02-24 11:15:36 +00:00
Benjamin Peterson edf5132dfe Merged revisions 88540-88541 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88540 | benjamin.peterson | 2011-02-23 20:46:00 -0600 (Wed, 23 Feb 2011) | 1 line

  this seems to be pointlessly nested
........
  r88541 | benjamin.peterson | 2011-02-23 20:53:05 -0600 (Wed, 23 Feb 2011) | 1 line

  rewrite
........
2011-02-24 03:03:46 +00:00
Raymond Hettinger 756fe2608d Issue #11304: Input/output tutorial - PI is rounded not truncated. 2011-02-24 00:06:16 +00:00
Victor Stinner 659eb84457 Merged revisions 88481 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88481 | victor.stinner | 2011-02-21 22:13:44 +0100 (lun., 21 févr. 2011) | 4 lines

  Fix PyUnicode_FromFormatV("%c") for non-BMP char

  Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on
  narrow build.
........
2011-02-23 12:14:22 +00:00
Victor Stinner 02bfdb3f79 Merged revisions 88530 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88530 | victor.stinner | 2011-02-23 13:07:37 +0100 (mer., 23 févr. 2011) | 4 lines

  Issue #11272: Fix input() and sys.stdin for Windows newline

  On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses
  universal newline (replace '\r\n' by '\n').
........
2011-02-23 12:10:23 +00:00
Lars Gustäbel 9f6cbe09cc Merged revisions 88528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88528 | lars.gustaebel | 2011-02-23 12:42:22 +0100 (Wed, 23 Feb 2011) | 16 lines

  Issue #11224: Improved sparse file read support (r85916) introduced a
  regression in _FileInFile which is used in file-like objects returned
  by TarFile.extractfile(). The inefficient design of the
  _FileInFile.read() method causes various dramatic side-effects and
  errors:

    - The data segment of a file member is read completely into memory
      every(!) time a small block is accessed. This is not only slow
      but may cause unexpected MemoryErrors with very large files.
    - Reading members from compressed tar archives is even slower
      because of the excessive backwards seeking which is done when the
      same data segment is read over and over again.
    - As a backwards seek on a TarFile opened in stream mode is not
      possible, using extractfile() fails with a StreamError.
........
2011-02-23 11:52:31 +00:00
Raymond Hettinger dcb29c93d2 Add tests for the collections helper class and sync-up with py3k branch. 2011-02-23 08:28:06 +00:00
Raymond Hettinger 48e5cd3df3 nits 2011-02-23 04:22:31 +00:00
Victor Stinner eda71c9ef1 Merged revisions 88517 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88517 | victor.stinner | 2011-02-23 00:38:34 +0100 (mer., 23 févr. 2011) | 1 line

  Issue #3080: document encoding used by import functions
........
2011-02-22 23:43:57 +00:00
Antoine Pitrou cc76a410e2 Merged revisions 88511 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88511 | antoine.pitrou | 2011-02-22 22:42:56 +0100 (mar., 22 févr. 2011) | 4 lines

  Issue #11277: finally fix Snow Leopard crash following r88460.
  (probably an OS-related issue with mmap)
........
2011-02-22 22:36:07 +00:00
Brett Cannon d8878ccf13 Blocked revisions 88507 via svnmerge
........
  r88507 | brett.cannon | 2011-02-22 12:17:14 -0800 (Tue, 22 Feb 2011) | 1 line

  Fix test.test_crypt.test_methods() to pass on OS X.
........
2011-02-22 20:18:11 +00:00
Brett Cannon c564a96583 Blocked revisions 88506 via svnmerge
........
  r88506 | brett.cannon | 2011-02-22 12:15:44 -0800 (Tue, 22 Feb 2011) | 2 lines

  Issue #8914: fix various warnings from the Clang static analyzer v254.
........
2011-02-22 20:17:24 +00:00
Brett Cannon 4f85c3fa4c Blocked revisions 88503 via svnmerge
........
  r88503 | brett.cannon | 2011-02-22 11:12:43 -0800 (Tue, 22 Feb 2011) | 1 line

  Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3.
........
2011-02-22 19:13:46 +00:00
Terry Reedy ba9ad6021a Fix typo reported by 'Paddy' on python-list. 2011-02-22 16:24:07 +00:00
Brett Cannon 45b96d373e Merged revisions 88498 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88498 | brett.cannon | 2011-02-21 19:25:12 -0800 (Mon, 21 Feb 2011) | 8 lines

  Issue #11074: Make 'tokenize' so it can be reloaded.

  The module stored away the 'open' object as found in the global namespace
  (which fell through to the built-in namespace) since it defined its own 'open'.
  Problem is that if you reloaded the module it then grabbed the 'open' defined
  in the previous load, leading to code that infinite recursed. Switched to
  simply call builtins.open directly.
........
2011-02-22 03:35:18 +00:00
Brett Cannon 64c9af1508 Merged revisions 88496 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88496 | brett.cannon | 2011-02-21 19:14:12 -0800 (Mon, 21 Feb 2011) | 4 lines

  Issue #10512: close the log file in cgi when running tests.

  Thanks to Nadeem Vawda for the find and an initial fix.
........
2011-02-22 03:16:07 +00:00
Brett Cannon d8b64788ce Blocked revisions 88494 via svnmerge
........
  r88494 | brett.cannon | 2011-02-21 19:04:06 -0800 (Mon, 21 Feb 2011) | 10 lines

  Issue #10992: make tests pass when run under coverage.

  Various tests fail when run under coverage. A primary culprit is refcount tests
  which fail as the counts are thrown off by the coverage code. A new decorator
  -- test.support.refcount_test -- is used to decorate tests which test refcounts
  and to skip them when running under coverage. Other tests simply fail because
  of changes in the system (e.g., __local__ suddenly appearing).

  Thanks to Kristian Vlaardingerbroek for helping to diagnose the test failures.
........
2011-02-22 03:07:39 +00:00
Antoine Pitrou 97696cbf36 Merged revisions 88486 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88486 | antoine.pitrou | 2011-02-22 00:41:12 +0100 (mar., 22 févr. 2011) | 5 lines

  Issue #4681: Allow mmap() to work on file sizes and offsets larger than
  4GB, even on 32-bit builds.  Initial patch by Ross Lagerwall, adapted for
  32-bit Windows.
........
2011-02-21 23:46:27 +00:00
Antoine Pitrou a47c25d74f Merged revisions 88484 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88484 | antoine.pitrou | 2011-02-21 22:55:48 +0100 (lun., 21 févr. 2011) | 4 lines

  Issue #10826: Prevent sporadic failure in test_subprocess on Solaris due
  to open door files.
........
2011-02-21 21:58:42 +00:00
Ned Deily a16b05b317 Merged revisions 88475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88475 | ned.deily | 2011-02-21 12:44:27 -0800 (Mon, 21 Feb 2011) | 3 lines

  Issue #11268: Prevent Mac OS X Installer failure if Documentation
  package had previously been installed.
........
2011-02-21 20:52:58 +00:00
Raymond Hettinger 540b636077 Issue 11263: Fix link to source code. 2011-02-21 19:56:24 +00:00
Brett Cannon 461be07745 Blocked revisions 88467 via svnmerge
........
  r88467 | brett.cannon | 2011-02-21 11:29:56 -0800 (Mon, 21 Feb 2011) | 11 lines

  Issue #10990: Prevent tests from clobbering a set trace function.

  Many tests simply didn't care if they unset a pre-existing trace function. This
  made test coverage impossible. This patch fixes various tests to put back any
  pre-existing trace function. It also introduces test.support.no_tracing as a
  decorator which will temporarily unset the trace function for tests which
  simply fail otherwise.

  Thanks to Kristian Vlaardingerbroek for helping to find the cause of various
  trace function unsets.
........
2011-02-21 19:50:24 +00:00
Brett Cannon b5e69da9f1 Merged revisions 88465 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88465 | brett.cannon | 2011-02-21 11:24:10 -0800 (Mon, 21 Feb 2011) | 2 lines

  Ignore Vim .swp files.
........
2011-02-21 19:49:20 +00:00