1. 26 Oct, 2009 3 commits
  2. 25 Oct, 2009 4 commits
    • Tarek Ziadé's avatar
      Merged revisions 75704 via svnmerge from · c76bceae
      Tarek Ziadé authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r75704 | tarek.ziade | 2009-10-26 00:08:47 +0100 (Mon, 26 Oct 2009) | 17 lines
      
        Merged revisions 75669-75671 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line
      
          Issue #7071: byte-compilation in Distutils now looks at sys.dont_write_bytecode
        ........
          r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line
      
          fixed finally state in distutils.test_util
        ........
          r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line
      
          fixed warning and error message
        ........
      ................
      c76bceae
    • R. David Murray's avatar
      Merged revisions 75519 via svnmerge from · aa9f3d3d
      R. David Murray authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      regrtest -j support wasn't backported to 3.1, but in 3.1 regrtest itself
      captures stdout, so doing this skip is needed.
      
      ................
        r75519 | r.david.murray | 2009-10-19 12:04:44 -0400 (Mon, 19 Oct 2009) | 12 lines
      
        Note that on py3k we are actually looking at sys.stdout, not sys.__stdout__.
      
        Merged revisions 75518 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines
      
          Only run test_curses when sys.__stdout__ is a tty.  This eliminates the
          last false positive when running regrtest with -j.
        ........
      ................
      aa9f3d3d
    • R. David Murray's avatar
      Unblocked revisions 75519 via svnmerge · 3df09995
      R. David Murray authored
      ................
        r75519 | r.david.murray | 2009-10-19 12:04:44 -0400 (Mon, 19 Oct 2009) | 12 lines
      
        Note that on py3k we are actually looking at sys.stdout, not sys.__stdout__.
      
        Merged revisions 75518 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines
      
          Only run test_curses when sys.__stdout__ is a tty.  This eliminates the
          last false positive when running regrtest with -j.
        ........
      ................
      3df09995
    • Mark Dickinson's avatar
      Blocked revisions 75698 via svnmerge · cb9fac95
      Mark Dickinson authored
      ................
        r75698 | mark.dickinson | 2009-10-25 20:43:34 +0000 (Sun, 25 Oct 2009) | 10 lines
      
        Merged revisions 75697 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75697 | mark.dickinson | 2009-10-25 20:39:06 +0000 (Sun, 25 Oct 2009) | 3 lines
      
          Issue #1087418: Small performance boost for bitwise operations on longs.
          Initial patch by Gregory Smith;  some tweaks added.
        ........
      ................
      cb9fac95
  3. 24 Oct, 2009 1 commit
  4. 23 Oct, 2009 3 commits
  5. 20 Oct, 2009 3 commits
  6. 19 Oct, 2009 7 commits
    • Antoine Pitrou's avatar
      Merged revisions 75537,75539 via svnmerge from · eda95e9d
      Antoine Pitrou authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r75537 | antoine.pitrou | 2009-10-19 21:37:25 +0200 (lun., 19 oct. 2009) | 3 lines
      
        egreen is Derk Drukker + fix NEWS formatting
      ........
        r75539 | antoine.pitrou | 2009-10-19 21:43:09 +0200 (lun., 19 oct. 2009) | 4 lines
      
        Issue #7080: locale.strxfrm() raises a MemoryError on 64-bit non-Windows
        platforms, and assorted locale fixes by Derk Drukker.
      ........
      eda95e9d
    • R. David Murray's avatar
      Merged revisions 75535 via svnmerge from · bc740a69
      R. David Murray authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r75535 | r.david.murray | 2009-10-19 15:12:38 -0400 (Mon, 19 Oct 2009) | 6 lines
      
        Add 'idlelib' to modules, and add a new table for the Tools, with one
        entry for which I noticed an active maintainer.
      
        IMO, if a tool doesn't get put on this list with at least one maintainer
        it may be in danger of being deleted by and by...
      ........
      bc740a69
    • Antoine Pitrou's avatar
      Merged revisions 75533 via svnmerge from · e566bda2
      Antoine Pitrou authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r75533 | antoine.pitrou | 2009-10-19 20:22:37 +0200 (lun., 19 oct. 2009) | 14 lines
      
        Merged revisions 75531-75532 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75531 | antoine.pitrou | 2009-10-19 20:17:18 +0200 (lun., 19 oct. 2009) | 4 lines
      
          Issue #5833: Fix extra space character in readline completion with the
          GNU readline library version 6.0.
        ........
          r75532 | antoine.pitrou | 2009-10-19 20:20:21 +0200 (lun., 19 oct. 2009) | 3 lines
      
          NEWS entry for r75531.
        ........
      ................
      e566bda2
    • R. David Murray's avatar
      Blocked revisions 75526 via svnmerge · aaf85ce8
      R. David Murray authored
      ........
        r75526 | r.david.murray | 2009-10-19 12:53:55 -0400 (Mon, 19 Oct 2009) | 4 lines
      
        Since all regrtest -j output is now done in the main thread we are no
        longer using the print lock, so remove it.
      ........
      aaf85ce8
    • R. David Murray's avatar
      Blocked revisions 75522 via svnmerge · 6e23cafc
      R. David Murray authored
      ........
        r75522 | r.david.murray | 2009-10-19 12:15:22 -0400 (Mon, 19 Oct 2009) | 4 lines
      
        The stdout from tests is no longer compared against anything (not even
        to make sure it is empty), so eliminate the message that says running
        under verbose is different from running without it.
      ........
      6e23cafc
    • R. David Murray's avatar
      Blocked revisions 75519 via svnmerge · 1a913121
      R. David Murray authored
      ................
        r75519 | r.david.murray | 2009-10-19 12:04:44 -0400 (Mon, 19 Oct 2009) | 12 lines
      
        Note that on py3k we are actually looking at sys.stdout, not sys.__stdout__.
      
        Merged revisions 75518 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines
      
          Only run test_curses when sys.__stdout__ is a tty.  This eliminates the
          last false positive when running regrtest with -j.
        ........
      ................
      1a913121
    • R. David Murray's avatar
      Blocked revisions 75513 via svnmerge · 3714a692
      R. David Murray authored
      ................
        r75513 | r.david.murray | 2009-10-19 11:26:16 -0400 (Mon, 19 Oct 2009) | 18 lines
      
        Merged revisions 75503 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75503 | r.david.murray | 2009-10-18 17:12:37 -0400 (Sun, 18 Oct 2009) | 11 lines
      
          Issue #7151: regrtest would generate a JSON failure if there was output
          to stderr during the test run and it happened to get emitted after the
          worker thread emitted the result JSON.  Now we capture stdout and stderr
          separately, which avoids that problem.  It also means that _all_ stderr
          output is after all stdout output when we print the test results, but
          that seems acceptable, since output ordering is not guaranteed anyway.
          The patch also moves the emit of the test name into the output block
          generated after the test completes.  Otherwise test names and test
          output/errors were mixed in the terminal display, making it difficult
          to determine which test generated the output.
        ........
      ................
      3714a692
  7. 18 Oct, 2009 5 commits
    • R. David Murray's avatar
      Blocked revisions 75504 via svnmerge · d8c23f38
      R. David Murray authored
      ........
        r75504 | r.david.murray | 2009-10-18 18:18:17 -0400 (Sun, 18 Oct 2009) | 2 lines
      
        Clean up merge of r75400.
      ........
      d8c23f38
    • Nick Coghlan's avatar
      Blocked revisions 75493 via svnmerge · 32832a87
      Nick Coghlan authored
      ................
        r75493 | nick.coghlan | 2009-10-18 23:19:33 +1000 (Sun, 18 Oct 2009) | 75 lines
      
        Note that a number of the changes listed below were not applicable to the Py3k branch, and hence the corresponding
        files are unchanged in this checkin. This checkin is also the first time the environment checking in regrtest has
        been forward ported to the Py3k branch.
      
        This checkin causes test_xmlrpc to fail - see issue 7165 (it's a bug in the 3.x version of xmlrpc.server)
        I am also getting a failure in test_telnetlib, but it isn't clear yet if that is due to these changes.
      
        Recorded merge of revisions 75400-75401,75404,75406,75414,75416,75422,75425-75428,75435,75439,75441-75444,75447-75449,75451-75453,75455-75458,75460-75469,75471-75473,75475-75477,75479-75481,75483,75486-75489 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75400 | r.david.murray | 2009-10-14 23:58:07 +1000 (Wed, 14 Oct 2009) | 6 lines
      
          Enhanced Issue 7058 patch, which will not be backported.  Refactors the
          code, adds checks for stdin/out/err, cwd, and sys.path, and adds a new
          section in the summary for tests that modify the environment (thanks to
          Ezio Melotti for that suggestion).
        ........
          r75453 | nick.coghlan | 2009-10-17 16:33:05 +1000 (Sat, 17 Oct 2009) | 1 line
      
          Correctly restore sys.stdout in test_descr
        ........
          r75456 | nick.coghlan | 2009-10-17 17:30:40 +1000 (Sat, 17 Oct 2009) | 1 line
      
          Enhancement to the new environment checking code to print the changed items under -vv. Also includes a small tweak to allow underscores in the names of resources.
        ........
          r75457 | nick.coghlan | 2009-10-17 17:34:27 +1000 (Sat, 17 Oct 2009) | 1 line
      
          Formatting tweak so that before and after values are vertically aligned
        ........
          r75458 | nick.coghlan | 2009-10-17 18:21:21 +1000 (Sat, 17 Oct 2009) | 1 line
      
          Check and revert expected sys.path alterations
        ........
          r75461 | nick.coghlan | 2009-10-18 00:40:54 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Restore original sys.path when running TTK tests
        ........
          r75462 | nick.coghlan | 2009-10-18 01:09:41 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Don't invoke reload(sys) and use StringIO objects instead of real files to capture stdin and stdout when needed (ensures all sys attributes remain unmodified after test_xmlrpc runs)
        ........
          r75463 | nick.coghlan | 2009-10-18 01:23:08 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Revert changes made to environment in test_httpservers
        ........
          r75465 | nick.coghlan | 2009-10-18 01:45:52 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Move restoration of the os.environ object into the context manager where it belongs
        ........
          r75466 | nick.coghlan | 2009-10-18 01:48:16 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Also check and restore identity of sys.path, sys.argv and os.environ rather than just their values (this picked up a few more misbehaving tests)
        ........
          r75467 | nick.coghlan | 2009-10-18 01:57:42 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Avoid replacing existing modules and sys.path in import tests
        ........
          r75468 | nick.coghlan | 2009-10-18 02:19:51 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Don't replace sys.path in test_site
        ........
          r75481 | nick.coghlan | 2009-10-18 15:38:48 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Using CleanImport to revert a reload of the os module doesn't work due to function registrations in copy_reg. The perils of reloading modules even for tests...
        ........
          r75486 | nick.coghlan | 2009-10-18 20:29:10 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Silence a deprecation warning by using the appropriate replacement construct
        ........
          r75489 | nick.coghlan | 2009-10-18 20:56:21 +1000 (Sun, 18 Oct 2009) | 1 line
      
          Restore sys.path in test_tk
        ........
      ................
      32832a87
    • Tarek Ziadé's avatar
      Merged revisions 75491 via svnmerge from · f456a155
      Tarek Ziadé authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r75491 | tarek.ziade | 2009-10-18 13:34:51 +0200 (Sun, 18 Oct 2009) | 9 lines
      
        Merged revisions 75485 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75485 | tarek.ziade | 2009-10-18 11:28:26 +0200 (Sun, 18 Oct 2009) | 1 line
      
          Changed distutils tests to avoid environment alteration
        ........
      ................
      f456a155
    • Senthil Kumaran's avatar
      Manually merging the changes from r75476 · 6eb181a6
      Senthil Kumaran authored
      6eb181a6
    • Benjamin Peterson's avatar
      Merged revisions 75472 via svnmerge from · 1580ece5
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r75472 | benjamin.peterson | 2009-10-17 19:32:49 -0500 (Sat, 17 Oct 2009) | 1 line
      
        correct porting error with raise #7161
      ........
      1580ece5
  8. 16 Oct, 2009 1 commit
  9. 14 Oct, 2009 2 commits
    • Antoine Pitrou's avatar
      Merged revisions 75404 via svnmerge from · 96bb15bc
      Antoine Pitrou authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ........
        r75404 | antoine.pitrou | 2009-10-14 19:14:16 +0200 (mer., 14 oct. 2009) | 5 lines
      
        Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when
        using byte values greater than 127.  Patch by egreen.
      
      ........
      96bb15bc
    • Georg Brandl's avatar
      Blocked revisions... · af4ea65a
      Georg Brandl authored
      Blocked revisions 74628-74630,74646,74648-74649,74654,74661,74744,74834,74875,75078-75079 via svnmerge
      
      ................
        r74628 | georg.brandl | 2009-09-02 22:33:30 +0200 (Mi, 02 Sep 2009) | 1 line
      
        Use true kwonly arg instead of **kwds hackaround.
      ................
        r74629 | georg.brandl | 2009-09-02 22:34:14 +0200 (Mi, 02 Sep 2009) | 1 line
      
        Use true booleans and a bit more PEP8.
      ................
        r74630 | georg.brandl | 2009-09-02 22:34:52 +0200 (Mi, 02 Sep 2009) | 1 line
      
        Switch more function arguments docs to new-style.
      ................
        r74646 | georg.brandl | 2009-09-04 10:09:32 +0200 (Fr, 04 Sep 2009) | 1 line
      
        Remove backwards compatibility stuff from profile/cProfile.
      ................
        r74648 | georg.brandl | 2009-09-04 10:22:00 +0200 (Fr, 04 Sep 2009) | 1 line
      
        Remove pseudo-end markers from http.cookies.
      ................
        r74649 | georg.brandl | 2009-09-04 10:28:01 +0200 (Fr, 04 Sep 2009) | 1 line
      
        Turn some comments into docstrings.
      ................
        r74654 | georg.brandl | 2009-09-04 17:41:40 +0200 (Fr, 04 Sep 2009) | 8 lines
      
        Blocked revisions 74653 via svnmerge
      
        ........
          r74653 | georg.brandl | 2009-09-04 13:32:18 +0200 (Fr, 04 Sep 2009) | 1 line
      
          #6777: dont discourage usage of Exception.args or promote usage of Exception.message.
        ........
      ................
        r74661 | georg.brandl | 2009-09-04 19:15:16 +0200 (Fr, 04 Sep 2009) | 1 line
      
        Remove the just-removed "help" from __all__.
      ................
        r74744 | benjamin.peterson | 2009-09-11 23:30:05 +0200 (Fr, 11 Sep 2009) | 43 lines
      
        Blocked revisions 74300,74490,74519,74631,74635-74637,74684,74721 via svnmerge
      
        ........
          r74300 | raymond.hettinger | 2009-08-04 14:08:05 -0500 (Tue, 04 Aug 2009) | 1 line
      
          Issue 6637: defaultdict.copy() failed with an empty factory.
        ........
          r74490 | benjamin.peterson | 2009-08-17 08:39:41 -0500 (Mon, 17 Aug 2009) | 1 line
      
          typos
        ........
          r74519 | guilherme.polo | 2009-08-18 11:39:36 -0500 (Tue, 18 Aug 2009) | 1 line
      
          Added missing static option for OptionMenu. Issue #5961.
        ........
          r74631 | georg.brandl | 2009-09-02 15:37:16 -0500 (Wed, 02 Sep 2009) | 1 line
      
          #6821: fix signature of PyBuffer_Release().
        ........
          r74635 | armin.rigo | 2009-09-03 14:40:07 -0500 (Thu, 03 Sep 2009) | 2 lines
      
          Found the next crasher by thinking about this logic in PyPy.
        ........
          r74636 | armin.rigo | 2009-09-03 14:42:03 -0500 (Thu, 03 Sep 2009) | 3 lines
      
          Does not terminate: consume all memory without responding to Ctrl-C.
          I am not too sure why, but you can surely find out by gdb'ing a bit...
        ........
          r74637 | armin.rigo | 2009-09-03 14:45:27 -0500 (Thu, 03 Sep 2009) | 4 lines
      
          Sorry, sorry!  Ignore my previous two commits.  I mixed up the version
          of python with which I tried running the crashers.  They don't crash
          the current HEAD.
        ........
          r74684 | ronald.oussoren | 2009-09-06 07:23:18 -0500 (Sun, 06 Sep 2009) | 2 lines
      
          Fix for issue 4937
        ........
          r74721 | thomas.heller | 2009-09-08 14:24:36 -0500 (Tue, 08 Sep 2009) | 1 line
      
          Make ctypes compile again with older Python versions.
        ........
      ................
        r74834 | georg.brandl | 2009-09-16 17:58:51 +0200 (Mi, 16 Sep 2009) | 8 lines
      
        Blocked revisions 74832 via svnmerge
      
        ........
          r74832 | georg.brandl | 2009-09-16 17:57:46 +0200 (Mi, 16 Sep 2009) | 1 line
      
          Rewrap long lines.
        ........
      ................
        r74875 | georg.brandl | 2009-09-17 13:50:17 +0200 (Do, 17 Sep 2009) | 8 lines
      
        Blocked revisions 74873 via svnmerge
      
        ........
          r74873 | georg.brandl | 2009-09-17 13:48:31 +0200 (Do, 17 Sep 2009) | 1 line
      
          #6844 followup: the warning when setting Exception.message was removed, do not test for it.
        ........
      ................
        r75078 | georg.brandl | 2009-09-26 22:52:12 +0200 (Sa, 26 Sep 2009) | 1 line
      
        use new style optional args
      ................
        r75079 | georg.brandl | 2009-09-26 22:59:11 +0200 (Sa, 26 Sep 2009) | 1 line
      
        fix default value
      ................
      af4ea65a
  10. 11 Oct, 2009 1 commit
  11. 10 Oct, 2009 1 commit
  12. 09 Oct, 2009 2 commits
  13. 08 Oct, 2009 3 commits
  14. 07 Oct, 2009 2 commits
  15. 04 Oct, 2009 2 commits
    • Benjamin Peterson's avatar
      Merged revisions 75248 via svnmerge from · bf0770dd
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r75248 | benjamin.peterson | 2009-10-04 15:40:17 -0500 (Sun, 04 Oct 2009) | 11 lines
      
        Merged revisions 75066 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75066 | andrew.kuchling | 2009-09-25 17:23:54 -0500 (Fri, 25 Sep 2009) | 4 lines
      
          #6243: fix segfault when keyname() returns a NULL pointer.
      
          Bug noted by Trundle, patched by Trundle and Jerry Chen.
        ........
      ................
      bf0770dd
    • Benjamin Peterson's avatar
      Merged revisions 75246 via svnmerge from · 5183856c
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r75246 | benjamin.peterson | 2009-10-04 15:32:25 -0500 (Sun, 04 Oct 2009) | 29 lines
      
        Merged revisions 74841 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r74841 | thomas.wouters | 2009-09-16 14:55:54 -0500 (Wed, 16 Sep 2009) | 23 lines
      
      
          Fix issue #1590864, multiple threads and fork() can cause deadlocks, by
          acquiring the import lock around fork() calls. This prevents other threads
          from having that lock while the fork happens, and is the recommended way of
          dealing with such issues. There are two other locks we care about, the GIL
          and the Thread Local Storage lock. The GIL is obviously held when calling
          Python functions like os.fork(), and the TLS lock is explicitly reallocated
          instead, while also deleting now-orphaned TLS data.
      
          This only fixes calls to os.fork(), not extension modules or embedding
          programs calling C's fork() directly. Solving that requires a new set of API
          functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
          warning explaining the problem to the documentation in the mean time.
      
          This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
          getting the import lock reallocated, seemingly to avoid this very same
          problem. This is not the right approach, because the import lock is a
          re-entrant one, and reallocating would do the wrong thing when forking while
          holding the import lock.
      
          Will backport to 2.6, minus the tiny AIX behaviour change.
        ........
      ................
      5183856c