Commit Graph

39986 Commits

Author SHA1 Message Date
Mark Dickinson 901deeba02 Blocked revisions 75471 via svnmerge
................
  r75471 | mark.dickinson | 2009-10-17 22:48:16 +0100 (Sat, 17 Oct 2009) | 9 lines

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

  ........
    r75470 | mark.dickinson | 2009-10-17 22:46:32 +0100 (Sat, 17 Oct 2009) | 1 line

    Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum
  ........
................
2009-10-27 17:35:12 +00:00
Mark Dickinson 62addc9955 Blocked revisions 75455 via svnmerge
................
  r75455 | mark.dickinson | 2009-10-17 08:10:00 +0100 (Sat, 17 Oct 2009) | 9 lines

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

  ........
    r75454 | mark.dickinson | 2009-10-17 08:06:37 +0100 (Sat, 17 Oct 2009) | 1 line

    test_math ulp computation was wrong on big-endian systems
  ........
................
2009-10-27 17:33:26 +00:00
Mark Dickinson b42dab5452 Merged revisions 75441 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75441 | mark.dickinson | 2009-10-15 20:55:18 +0100 (Thu, 15 Oct 2009) | 9 lines

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

  ........
    r75440 | mark.dickinson | 2009-10-15 18:45:39 +0100 (Thu, 15 Oct 2009) | 1 line

    Allow core Python build to succeed under WITHOUT_COMPLEX.  The module build stage still fails.
  ........
................
2009-10-27 17:31:26 +00:00
Mark Dickinson 85df26fcc9 Blocked revisions 75349 via svnmerge
................
  r75349 | mark.dickinson | 2009-10-11 11:32:51 +0100 (Sun, 11 Oct 2009) | 9 lines

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

  ........
    r75348 | mark.dickinson | 2009-10-11 11:01:17 +0100 (Sun, 11 Oct 2009) | 1 line

    Set missing executable property on scripts
  ........
................
2009-10-27 17:18:26 +00:00
Mark Dickinson 041576174e Blocked revisions 75345,75347 via svnmerge
................
  r75345 | georg.brandl | 2009-10-11 09:49:57 +0100 (Sun, 11 Oct 2009) | 9 lines

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

  ........
    r75344 | georg.brandl | 2009-10-11 10:48:28 +0200 (So, 11 Okt 2009) | 1 line

    Update primes script.
  ........
................
  r75347 | mark.dickinson | 2009-10-11 10:40:17 +0100 (Sun, 11 Oct 2009) | 9 lines

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

  ........
    r75346 | mark.dickinson | 2009-10-11 10:35:57 +0100 (Sun, 11 Oct 2009) | 1 line

    Fix 'primes 0 1'
  ........
................
2009-10-27 17:15:35 +00:00
Antoine Pitrou 56e00caad7 Backporting since it would have helped us find a regression.
Merged revisions 75314 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75314 | antoine.pitrou | 2009-10-10 23:08:31 +0200 (sam., 10 oct. 2009) | 10 lines

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

  ........
    r75312 | antoine.pitrou | 2009-10-10 22:52:11 +0200 (sam., 10 oct. 2009) | 4 lines

    Issue #7055: test___all__ now greedily detects all modules which have an
    __all__ attribute, rather than using a hardcoded and incomplete list.
  ........
................
2009-10-27 13:08:37 +00:00
Antoine Pitrou 3727600721 Merged revisions 75726 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75726 | antoine.pitrou | 2009-10-26 20:22:14 +0100 (lun., 26 oct. 2009) | 10 lines

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

  ........
    r75725 | antoine.pitrou | 2009-10-26 20:16:46 +0100 (lun., 26 oct. 2009) | 4 lines

    Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
    Reported by Mark D.
  ........
................
2009-10-26 19:32:51 +00:00
Mark Dickinson d59fb36d35 Blocked revisions 75712 via svnmerge
................
  r75712 | mark.dickinson | 2009-10-26 12:01:06 +0000 (Mon, 26 Oct 2009) | 9 lines

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

  ........
    r75711 | mark.dickinson | 2009-10-26 11:59:30 +0000 (Mon, 26 Oct 2009) | 1 line

    Skip readline tests if readline module is not available.
  ........
................
2009-10-26 12:02:07 +00:00
R. David Murray 9948da007b Convert py2 print statement to print function in test skip. 2009-10-26 03:27:32 +00:00
Tarek Ziadé c76bceae1a Merged revisions 75704 via svnmerge from
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
  ........
................
2009-10-25 23:16:51 +00:00
R. David Murray aa9f3d3dfb Merged revisions 75519 via svnmerge from
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.
  ........
................
2009-10-25 22:54:02 +00:00
R. David Murray 3df09995a3 Unblocked revisions 75519 via svnmerge
................
  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.
  ........
................
2009-10-25 22:48:51 +00:00
Mark Dickinson cb9fac95e7 Blocked revisions 75698 via svnmerge
................
  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.
  ........
................
2009-10-25 20:51:18 +00:00
Tarek Ziadé 53fdb18b82 Merged revisions 75662 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75662 | tarek.ziade | 2009-10-24 15:38:27 +0200 (Sat, 24 Oct 2009) | 9 lines

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

  ........
    r75659 | tarek.ziade | 2009-10-24 15:29:44 +0200 (Sat, 24 Oct 2009) | 1 line

    #7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd
  ........
................
2009-10-24 13:42:10 +00:00
Antoine Pitrou f6779fb1a4 Merged revisions 75641 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75641 | antoine.pitrou | 2009-10-23 23:55:36 +0200 (ven., 23 oct. 2009) | 9 lines

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

  ........
    r75624 | antoine.pitrou | 2009-10-23 14:01:13 +0200 (ven., 23 oct. 2009) | 3 lines

    Fix Windows buildbot failure
  ........
................
2009-10-23 22:06:37 +00:00
Antoine Pitrou 1ff7f2c3a9 Merged revisions 75634 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75634 | antoine.pitrou | 2009-10-23 20:34:17 +0200 (ven., 23 oct. 2009) | 9 lines

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

  ........
    r75633 | antoine.pitrou | 2009-10-23 20:32:15 +0200 (ven., 23 oct. 2009) | 3 lines

    Issue #7194: test_thread could try to release an unacquired mutex (and fail).
  ........
................
2009-10-23 18:35:18 +00:00
Eric Smith f94af9f464 Blocked revisions 75625 via svnmerge
........
  r75625 | eric.smith | 2009-10-23 08:56:11 -0400 (Fri, 23 Oct 2009) | 1 line

  Changed try/finally to contextlib.closing, as discussed in issue 6882.
........
2009-10-23 12:57:15 +00:00
Antoine Pitrou cefb316e9e Merged revisions 75571,75576-75577 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75571 | antoine.pitrou | 2009-10-20 23:52:47 +0200 (mar., 20 oct. 2009) | 11 lines

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

  ........
    r75570 | antoine.pitrou | 2009-10-20 23:29:37 +0200 (mar., 20 oct. 2009) | 6 lines

    Issue #1722344: threading._shutdown() is now called in Py_Finalize(), which
    fixes the problem of some exceptions being thrown at shutdown when the
    interpreter is killed. Patch by Adam Olsen.
  ........
................
  r75576 | antoine.pitrou | 2009-10-21 00:02:29 +0200 (mer., 21 oct. 2009) | 10 lines

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

  ........
    r75574 | antoine.pitrou | 2009-10-20 23:59:25 +0200 (mar., 20 oct. 2009) | 4 lines

    Test wouldn't work in debug mode.
    We probably need a function in test_support to handle this.
  ........
................
  r75577 | antoine.pitrou | 2009-10-21 00:05:38 +0200 (mer., 21 oct. 2009) | 3 lines

  Another futile error in the previous commit :-(
................
2009-10-20 22:08:36 +00:00
Mark Dickinson 2d4fce2dfb Merged revisions 75562 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75562 | mark.dickinson | 2009-10-20 14:38:04 +0100 (Tue, 20 Oct 2009) | 10 lines

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

  ........
    r75561 | mark.dickinson | 2009-10-20 14:33:03 +0100 (Tue, 20 Oct 2009) | 3 lines

    Issue #7099: Decimal.is_normal should return True for all nonzero
    finite non-subnormal values, even those with exponent > Emax.
  ........
................
2009-10-20 13:40:25 +00:00
R. David Murray 8b8650aa93 Blocked revisions 75556 via svnmerge
........
  r75556 | r.david.murray | 2009-10-20 07:18:29 -0400 (Tue, 20 Oct 2009) | 2 lines

  Remove comment that went with the print_lock that was previously deleted.
........
2009-10-20 11:19:19 +00:00
Antoine Pitrou eda95e9db3 Merged revisions 75537,75539 via svnmerge from
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.
........
2009-10-19 19:47:59 +00:00
R. David Murray bc740a6951 Merged revisions 75535 via svnmerge from
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...
........
2009-10-19 19:14:42 +00:00
Antoine Pitrou e566bda297 Merged revisions 75533 via svnmerge from
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.
  ........
................
2009-10-19 18:24:35 +00:00
R. David Murray aaf85ce859 Blocked revisions 75526 via svnmerge
........
  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.
........
2009-10-19 16:54:35 +00:00
R. David Murray 6e23cafcbc Blocked revisions 75522 via svnmerge
........
  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.
........
2009-10-19 16:16:18 +00:00
R. David Murray 1a91312180 Blocked revisions 75519 via svnmerge
................
  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.
  ........
................
2009-10-19 16:08:15 +00:00
R. David Murray 3714a69296 Blocked revisions 75513 via svnmerge
................
  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.
  ........
................
2009-10-19 15:31:21 +00:00
R. David Murray d8c23f3849 Blocked revisions 75504 via svnmerge
........
  r75504 | r.david.murray | 2009-10-18 18:18:17 -0400 (Sun, 18 Oct 2009) | 2 lines

  Clean up merge of r75400.
........
2009-10-18 22:19:23 +00:00
Nick Coghlan 32832a8705 Blocked revisions 75493 via svnmerge
................
  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
  ........
................
2009-10-18 13:25:20 +00:00
Tarek Ziadé f456a155c6 Merged revisions 75491 via svnmerge from
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
  ........
................
2009-10-18 12:41:30 +00:00
Senthil Kumaran 6eb181a668 Manually merging the changes from r75476 2009-10-18 01:57:26 +00:00
Benjamin Peterson 1580ece5f1 Merged revisions 75472 via svnmerge from
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
........
2009-10-18 00:34:08 +00:00
Tarek Ziadé b4244b221c Blocked revisions 75451 via svnmerge
................
  r75451 | tarek.ziade | 2009-10-17 01:07:19 +0200 (Sat, 17 Oct 2009) | 9 lines

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

  ........
    r75450 | tarek.ziade | 2009-10-17 01:04:16 +0200 (Sat, 17 Oct 2009) | 1 line

    this test requires zlib support
  ........
................
2009-10-16 23:17:52 +00:00
Antoine Pitrou 96bb15bcb4 Merged revisions 75404 via svnmerge from
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.

........
2009-10-14 17:18:54 +00:00
Georg Brandl af4ea65a3a 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
................
2009-10-14 15:51:35 +00:00
Senthil Kumaran 1130163dc1 Merged revisions 75334 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75334 | senthil.kumaran | 2009-10-11 10:28:55 +0530 (Sun, 11 Oct 2009) | 9 lines

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

  ........
    r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines

    Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment
  ........
................
2009-10-11 06:07:46 +00:00
R. David Murray 290e939f2e Merged revisions 75307 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75307 | r.david.murray | 2009-10-09 20:13:32 -0400 (Fri, 09 Oct 2009) | 12 lines

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

  ........
    r75301 | r.david.murray | 2009-10-09 17:50:54 -0400 (Fri, 09 Oct 2009) | 5 lines

    Issue #7082: When falling back to the MIME 'name' parameter, the
    correct place to look for it is the Content-Type header.

    Patch by Darren Worrall.
  ........
................
2009-10-10 00:57:04 +00:00
Benjamin Peterson 0c7f9c96f5 Merged revisions 75299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75299 | benjamin.peterson | 2009-10-09 16:43:09 -0500 (Fri, 09 Oct 2009) | 1 line

  normalize latin-1 and utf-8 variant encodings like the builtin tokenizer does
........
2009-10-09 21:53:27 +00:00
Benjamin Peterson ae2fa6fad2 we are in 3.1.1+ 2009-10-09 20:25:23 +00:00
Mark Dickinson 7b5c826d1a Merged revisions 75290 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75290 | mark.dickinson | 2009-10-08 21:05:48 +0100 (Thu, 08 Oct 2009) | 9 lines

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

  ........
    r75289 | mark.dickinson | 2009-10-08 21:02:25 +0100 (Thu, 08 Oct 2009) | 2 lines

    Issue #7051:  Clarify behaviour of 'g' and 'G'-style formatting.
  ........
................
2009-10-08 20:06:27 +00:00
Mark Dickinson d08fb83777 Merged revisions 75287 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75287 | mark.dickinson | 2009-10-08 17:30:38 +0100 (Thu, 08 Oct 2009) | 9 lines

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

  ........
    r75286 | mark.dickinson | 2009-10-08 17:28:39 +0100 (Thu, 08 Oct 2009) | 2 lines

    Update decimal test data to the most recent set from Mike Cowlishaw.
  ........
................
2009-10-08 16:33:06 +00:00
Mark Dickinson 015fa03058 Merged revisions 75284 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75284 | mark.dickinson | 2009-10-08 16:59:20 +0100 (Thu, 08 Oct 2009) | 11 lines

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

  ........
    r75283 | mark.dickinson | 2009-10-08 16:54:10 +0100 (Thu, 08 Oct 2009) | 4 lines

    Issue #7078:  _struct.__doc__ was being ignored.  Import it into struct.
    Also add description of '?' struct format character.  Thanks Gabriel
    Genellina for the patch.
  ........
................
2009-10-08 16:02:50 +00:00
R. David Murray 6bf5a2e85b Merged revisions 75279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75279 | r.david.murray | 2009-10-07 19:38:55 -0400 (Wed, 07 Oct 2009) | 10 lines

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

  ........
    r75255 | r.david.murray | 2009-10-05 13:03:09 -0400 (Mon, 05 Oct 2009) | 3 lines

    Issue #7058: Added save/restore for argv and os.environ to runtest_inner
    in regrtest, with warnings if the called test modifies them.
  ........
................
2009-10-07 23:54:53 +00:00
Mark Dickinson b090761ec0 Merged revisions 75276 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75276 | mark.dickinson | 2009-10-07 20:23:50 +0100 (Wed, 07 Oct 2009) | 12 lines

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

  ........
    r75275 | mark.dickinson | 2009-10-07 20:22:05 +0100 (Wed, 07 Oct 2009) | 6 lines

    Issue #7048: logb should round its result when that result doesn't fit
    into the available precision.  (Tests for this change are included in
    the most recent set of testcases from the Decimal Specification site;
    those testcases will be updated shortly.)
  ........
................
2009-10-07 19:24:43 +00:00
Benjamin Peterson bf0770dd82 Merged revisions 75248 via svnmerge from
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.
  ........
................
2009-10-04 20:41:56 +00:00
Benjamin Peterson 5183856c17 Merged revisions 75246 via svnmerge from
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.
  ........
................
2009-10-04 20:35:30 +00:00
Mark Dickinson 9507887544 Merged revisions 75238 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k

................
  r75238 | mark.dickinson | 2009-10-04 19:43:54 +0100 (Sun, 04 Oct 2009) | 11 lines

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

  ........
    r75236 | mark.dickinson | 2009-10-04 19:38:39 +0100 (Sun, 04 Oct 2009) | 4 lines

    Issue #7042:  Fix test_signal failure on OS X 10.6 64-bit builds
    (and also, with luck, on the x86 FreeBSD buildbot), by making sure
    that some user time is used in test_itimer_virtual.
  ........
................
2009-10-04 18:47:48 +00:00
Benjamin Peterson 0a13a28049 Merged revisions 75233 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r75233 | benjamin.peterson | 2009-10-04 10:07:16 -0500 (Sun, 04 Oct 2009) | 1 line

  remove 8-bit string sentence
........
2009-10-04 15:08:41 +00:00
Benjamin Peterson f3d7dbe72e Merged revisions 75231 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75231 | benjamin.peterson | 2009-10-04 09:49:41 -0500 (Sun, 04 Oct 2009) | 166 lines

  Merged revisions 74779-74786,74793,74795,74811,74860-74861,74863,74876,74886,74896,74901,74903,74908,74912,74930,74933,74943,74946,74952-74955,75015,75019,75032,75068,75076,75095,75098,75102,75129,75139,75230 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r74779 | michael.foord | 2009-09-13 11:13:36 -0500 (Sun, 13 Sep 2009) | 1 line

    Change to tutorial wording for reading text / binary files on Windows. Issue #6301.
  ........
    r74780 | michael.foord | 2009-09-13 11:40:02 -0500 (Sun, 13 Sep 2009) | 1 line

    Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
  ........
    r74781 | michael.foord | 2009-09-13 11:46:19 -0500 (Sun, 13 Sep 2009) | 1 line

    Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712.
  ........
    r74782 | michael.foord | 2009-09-13 12:07:46 -0500 (Sun, 13 Sep 2009) | 1 line

    Tutorial tweaks. Issue 6849.
  ........
    r74783 | michael.foord | 2009-09-13 12:28:35 -0500 (Sun, 13 Sep 2009) | 1 line

    unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866.
  ........
    r74784 | georg.brandl | 2009-09-13 13:15:07 -0500 (Sun, 13 Sep 2009) | 1 line

    Typo fix.
  ........
    r74785 | michael.foord | 2009-09-13 14:07:03 -0500 (Sun, 13 Sep 2009) | 1 line

    Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
  ........
    r74786 | michael.foord | 2009-09-13 14:08:18 -0500 (Sun, 13 Sep 2009) | 1 line

    Remove an extraneous space in unittest documentation.
  ........
    r74793 | georg.brandl | 2009-09-14 09:50:47 -0500 (Mon, 14 Sep 2009) | 1 line

    #6908: fix association of hashlib hash attributes.
  ........
    r74795 | benjamin.peterson | 2009-09-14 22:36:26 -0500 (Mon, 14 Sep 2009) | 1 line

    Py_SetPythonHome uses static storage #6913
  ........
    r74811 | georg.brandl | 2009-09-15 15:26:59 -0500 (Tue, 15 Sep 2009) | 1 line

    Add Armin Ronacher.
  ........
    r74860 | benjamin.peterson | 2009-09-16 21:46:54 -0500 (Wed, 16 Sep 2009) | 1 line

    kill bare except
  ........
    r74861 | benjamin.peterson | 2009-09-16 22:18:28 -0500 (Wed, 16 Sep 2009) | 1 line

    pep 8 defaults
  ........
    r74863 | benjamin.peterson | 2009-09-16 22:27:33 -0500 (Wed, 16 Sep 2009) | 1 line

    rationalize a bit
  ........
    r74876 | georg.brandl | 2009-09-17 11:15:53 -0500 (Thu, 17 Sep 2009) | 1 line

    #6932: remove paragraph that advises relying on __del__ being called.
  ........
    r74886 | benjamin.peterson | 2009-09-17 16:33:46 -0500 (Thu, 17 Sep 2009) | 1 line

    use macros
  ........
    r74896 | georg.brandl | 2009-09-18 02:22:41 -0500 (Fri, 18 Sep 2009) | 1 line

    #6936: for interactive use, quit() is just fine.
  ........
    r74901 | georg.brandl | 2009-09-18 04:14:52 -0500 (Fri, 18 Sep 2009) | 1 line

    #6905: use better exception messages in inspect when the argument is of the wrong type.
  ........
    r74903 | georg.brandl | 2009-09-18 04:18:27 -0500 (Fri, 18 Sep 2009) | 1 line

    #6938: "ident" is always a string, so use a format code which works.
  ........
    r74908 | georg.brandl | 2009-09-18 08:57:11 -0500 (Fri, 18 Sep 2009) | 1 line

    Use str.format() to fix beginner's mistake with %-style string formatting.
  ........
    r74912 | georg.brandl | 2009-09-18 11:19:56 -0500 (Fri, 18 Sep 2009) | 1 line

    Optimize optimization and fix method name in docstring.
  ........
    r74930 | georg.brandl | 2009-09-18 16:21:41 -0500 (Fri, 18 Sep 2009) | 1 line

    #6925: rewrite docs for locals() and vars() a bit.
  ........
    r74933 | georg.brandl | 2009-09-18 16:35:59 -0500 (Fri, 18 Sep 2009) | 1 line

    #6930: clarify description about byteorder handling in UTF decoder routines.
  ........
    r74943 | georg.brandl | 2009-09-19 02:35:07 -0500 (Sat, 19 Sep 2009) | 1 line

    #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set.  Also clean up another usage of PyArg_ParseTuple.
  ........
    r74946 | georg.brandl | 2009-09-19 03:43:16 -0500 (Sat, 19 Sep 2009) | 1 line

    Update bug tracker reference.
  ........
    r74952 | georg.brandl | 2009-09-19 05:42:34 -0500 (Sat, 19 Sep 2009) | 1 line

    #6946: fix duplicate index entries for datetime classes.
  ........
    r74953 | georg.brandl | 2009-09-19 07:04:16 -0500 (Sat, 19 Sep 2009) | 1 line

    Fix references to threading.enumerate().
  ........
    r74954 | georg.brandl | 2009-09-19 08:13:56 -0500 (Sat, 19 Sep 2009) | 1 line

    Add Doug.
  ........
    r74955 | georg.brandl | 2009-09-19 08:20:49 -0500 (Sat, 19 Sep 2009) | 1 line

    Add Mark Summerfield.
  ........
    r75015 | georg.brandl | 2009-09-22 05:55:08 -0500 (Tue, 22 Sep 2009) | 1 line

    Fix encoding name.
  ........
    r75019 | vinay.sajip | 2009-09-22 12:23:41 -0500 (Tue, 22 Sep 2009) | 1 line

    Fixed a typo, and added sections on optimization and using arbitrary objects as messages.
  ........
    r75032 | benjamin.peterson | 2009-09-22 17:15:28 -0500 (Tue, 22 Sep 2009) | 1 line

    fix typos/rephrase
  ........
    r75068 | benjamin.peterson | 2009-09-25 21:57:59 -0500 (Fri, 25 Sep 2009) | 1 line

    comment out ugly xxx
  ........
    r75076 | vinay.sajip | 2009-09-26 09:53:32 -0500 (Sat, 26 Sep 2009) | 1 line

    Tidied up name of parameter in StreamHandler
  ........
    r75095 | michael.foord | 2009-09-27 14:15:41 -0500 (Sun, 27 Sep 2009) | 1 line

    Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956.
  ........
    r75098 | michael.foord | 2009-09-27 15:08:23 -0500 (Sun, 27 Sep 2009) | 1 line

    Documentation improvement for load_tests protocol in unittest. Issue 6515.
  ........
    r75102 | skip.montanaro | 2009-09-27 21:12:27 -0500 (Sun, 27 Sep 2009) | 3 lines

    Patch from Thomas Barr so that csv.Sniffer will set doublequote property.
    Closes issue 6606.
  ........
    r75129 | vinay.sajip | 2009-09-29 02:08:54 -0500 (Tue, 29 Sep 2009) | 1 line

    Issue #7014: logging: Improved IronPython 2.6 compatibility.
  ........
    r75139 | raymond.hettinger | 2009-09-29 13:53:24 -0500 (Tue, 29 Sep 2009) | 3 lines

    Issue 7008: Better document str.title and show how to work around the apostrophe problem.
  ........
    r75230 | benjamin.peterson | 2009-10-04 08:38:38 -0500 (Sun, 04 Oct 2009) | 1 line

    test logging
  ........
................
2009-10-04 14:54:52 +00:00
Benjamin Peterson 4fac706833 Merged revisions 75224 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r75224 | benjamin.peterson | 2009-10-03 15:27:13 -0500 (Sat, 03 Oct 2009) | 9 lines

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

  ........
    r75223 | benjamin.peterson | 2009-10-03 15:23:24 -0500 (Sat, 03 Oct 2009) | 1 line

    #7050 fix a SystemError when using tuple unpacking and augmented assignment
  ........
................
2009-10-03 20:28:47 +00:00