1. 31 Mar, 2008 12 commits
    • Neal Norwitz's avatar
      This was required on OS X to prevent the test from deadlocking. I'm not sure · f9ff5f02
      Neal Norwitz authored
      if this is just a test problem or something deeper.  Hopefully the test will
      stop hanging.
      f9ff5f02
    • Neal Norwitz's avatar
      Merged revisions... · ee9b10a9
      Neal Norwitz authored
      Merged revisions 61440-61441,61443,61445-61448,61451-61452,61455-61457,61459-61464,61466-61467,61469-61470,61476-61477,61479,61481-61482,61485,61487,61490,61493-61494,61497,61499-61502,61505-61506,61508,61511-61514,61519,61521-61522,61530-61531,61533-61537,61541-61555,61557-61558,61561-61562,61566-61569,61572-61574,61578-61579,61583-61584,61588-61589,61592,61594,61598-61601,61603-61604,61607-61612,61617,61619-61620,61624,61626,61628-61630,61635-61638,61640-61643,61645,61648,61653-61655,61659-61662,61664,61666,61668-61671,61673,61675,61679-61680,61682,61685-61686,61689-61695,61697-61699,61701-61703,61706,61710,61713,61717,61723,61726-61730,61736,61738,61740,61742,61745-61752,61754-61760,61762-61764,61768,61770-61772,61774-61775,61784-61787,61789-61792,61794-61795,61797-61806,61808-61809,61811-61812,61814-61819,61824,61826-61833,61835-61840,61843-61845,61848,61850,61854-61862,61865-61866,61868,61872-61873,61876-61877,61883-61888,61890-61891,61893-61899,61901-61903,61905-61912,61914,61917,61920-61921,61927,61930,61932-61934,61939,61941-61942,61944-61951,61955,61960-61963,61980,61982-61983,61991,61994-61996,62001-62003,62008-62010,62016-62017,62022,62024,62027,62031-62034,62041,62045-62046,62048,62050-62051,62055-62066,62068-62074,62076-62078 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62048 | georg.brandl | 2008-03-29 23:53:55 -0700 (Sat, 29 Mar 2008) | 2 lines
      
        Adapt test_ast to the new ExceptHandler type.
      ........
        r62050 | georg.brandl | 2008-03-30 00:09:22 -0700 (Sun, 30 Mar 2008) | 2 lines
      
        Convert test_ast to unittest and add a test for r62049.
      ........
        r62051 | georg.brandl | 2008-03-30 12:00:49 -0700 (Sun, 30 Mar 2008) | 2 lines
      
        Make _fields attr for no fields consistent with _attributes attr.
      ........
        r62059 | georg.brandl | 2008-03-30 13:20:39 -0700 (Sun, 30 Mar 2008) | 2 lines
      
        Make AST nodes pickleable.
      ........
      ee9b10a9
    • Neal Norwitz's avatar
      Merged revisions 62047 via svnmerge from · ad74aa8d
      Neal Norwitz authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62047 | georg.brandl | 2008-03-29 23:40:17 -0700 (Sat, 29 Mar 2008) | 2 lines
      
        Patch #2511: Give the "excepthandler" AST item proper attributes by making it a Sum.
      ........
      ad74aa8d
    • Neal Norwitz's avatar
      Blocked revisions 62075 via svnmerge · d3575938
      Neal Norwitz authored
      ........
        r62075 | neal.norwitz | 2008-03-30 21:28:40 -0700 (Sun, 30 Mar 2008) | 1 line
      
        Use file.write instead of print to make it easier to merge with 3k.
      ........
      d3575938
    • Neal Norwitz's avatar
      Merged revisions 62049,62054 via svnmerge from · 207c9f3c
      Neal Norwitz authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62049 | georg.brandl | 2008-03-30 00:01:47 -0700 (Sun, 30 Mar 2008) | 2 lines
      
        #2505: allow easier creation of AST nodes.
      ........
        r62054 | georg.brandl | 2008-03-30 12:43:27 -0700 (Sun, 30 Mar 2008) | 2 lines
      
        Fix error message -- "expects either 0 or 0 arguments"
      ........
      207c9f3c
    • Neal Norwitz's avatar
      Merged revisions 62039-62042 via svnmerge from · db4115ff
      Neal Norwitz authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62039 | georg.brandl | 2008-03-29 06:24:23 -0700 (Sat, 29 Mar 2008) | 3 lines
      
        Properly check for consistency with the third argument of
        compile() when compiling an AST node.
      ........
        r62040 | amaury.forgeotdarc | 2008-03-29 06:47:05 -0700 (Sat, 29 Mar 2008) | 5 lines
      
        The buildbot "x86 W2k8 trunk" seems to hang in test_socket.
        http://www.python.org/dev/buildbot/trunk/x86%20W2k8%20trunk/builds/255/step-test/0
      
        Temporarily increase verbosity of this test.
      ........
        r62042 | amaury.forgeotdarc | 2008-03-29 07:53:05 -0700 (Sat, 29 Mar 2008) | 3 lines
      
        Still investigating on the hanging test_socket.
        the test itself doesn't do anything on windows, focus on setUp and tearDown.
      ........
      db4115ff
    • Neal Norwitz's avatar
      Blocked revisions 62020 via svnmerge · 9367c78c
      Neal Norwitz authored
      ........
        r62020 | amaury.forgeotdarc | 2008-03-28 15:43:38 -0700 (Fri, 28 Mar 2008) | 5 lines
      
        One #ifdef too much, and I broke all windows buildbots:
        in pyconfig.h, NTDDI_WIN2KSP4 is not *yet* defined, but will be at some point on some modules.
      
        Let this line even for older SDKs, they don't use it anyway.
      ........
      9367c78c
    • Neal Norwitz's avatar
      Revert r62070 due to syntax errors · fe4ce560
      Neal Norwitz authored
      fe4ce560
    • Neal Norwitz's avatar
      Revert r62070 due to syntax errors · 94fa2ee7
      Neal Norwitz authored
      94fa2ee7
    • Benjamin Peterson's avatar
      4fde0c40
    • Benjamin Peterson's avatar
      Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via svnmerge from · 2a691a81
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r62021 | benjamin.peterson | 2008-03-28 18:11:01 -0500 (Fri, 28 Mar 2008) | 2 lines
      
        NIL => NULL
      ........
        r62029 | amaury.forgeotdarc | 2008-03-28 20:42:31 -0500 (Fri, 28 Mar 2008) | 3 lines
      
        Correctly call the base class tearDown();
        otherwise running test_logging twice produce the errors we see on all buildbots
      ........
        r62035 | raymond.hettinger | 2008-03-29 05:42:07 -0500 (Sat, 29 Mar 2008) | 1 line
      
        Be explicit about what efficient means.
      ........
        r62036 | georg.brandl | 2008-03-29 06:46:18 -0500 (Sat, 29 Mar 2008) | 2 lines
      
        Fix capitalization.
      ........
        r62037 | amaury.forgeotdarc | 2008-03-29 07:42:54 -0500 (Sat, 29 Mar 2008) | 5 lines
      
        lib2to3 should install a logging handler only when run as a main program,
        not when used as a library.
      
        This may please the buildbots, which fail when test_lib2to3 is run before test_logging.
      ........
        r62043 | benjamin.peterson | 2008-03-29 10:24:25 -0500 (Sat, 29 Mar 2008) | 3 lines
      
        #2503 make singletons compared with "is" not == or !=
        Thanks to Wummel for the patch
      ........
        r62044 | gerhard.haering | 2008-03-29 14:11:52 -0500 (Sat, 29 Mar 2008) | 2 lines
      
        Documented the lastrowid attribute.
      ........
        r62052 | benjamin.peterson | 2008-03-30 14:35:10 -0500 (Sun, 30 Mar 2008) | 2 lines
      
        Updated README regarding doc formats
      ........
        r62053 | georg.brandl | 2008-03-30 14:41:39 -0500 (Sun, 30 Mar 2008) | 2 lines
      
        The other download formats will be available for 2.6 too.
      ........
      2a691a81
    • Jeffrey Yasskin's avatar
      Blocked revisions 62067 via svnmerge · 7315bad3
      Jeffrey Yasskin authored
      ........
        r62067 | jeffrey.yasskin | 2008-03-30 17:35:53 -0700 (Sun, 30 Mar 2008) | 2 lines
      
        Block the sys.exc_clear -3 warning from threading.py.
      ........
      7315bad3
  2. 30 Mar, 2008 11 commits
  3. 29 Mar, 2008 8 commits
  4. 28 Mar, 2008 4 commits
    • Christian Heimes's avatar
      Merged revisions 61981,61984-61987,61992-61993,61997-62000 via svnmerge from · bbe741dd
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61981 | amaury.forgeotdarc | 2008-03-28 01:21:34 +0100 (Fri, 28 Mar 2008) | 2 lines
      
        test_future3.py is a regular test file, and should be part of the test suite
      ........
        r61984 | jeffrey.yasskin | 2008-03-28 05:11:18 +0100 (Fri, 28 Mar 2008) | 6 lines
      
        Kill a race in test_threading in which the exception info in a thread finishing
        up after it was joined had a traceback pointing to that thread's (deleted)
        target attribute, while the test was trying to check that the target was
        destroyed. Big thanks to Antoine Pitrou for diagnosing the race and pointing
        out sys.exc_clear() to kill the exception early. This fixes issue 2496.
      ........
        r61985 | neal.norwitz | 2008-03-28 05:41:34 +0100 (Fri, 28 Mar 2008) | 1 line
      
        Allow use of other ports so the test can pass if 9091 is in use
      ........
        r61986 | jeffrey.yasskin | 2008-03-28 05:53:10 +0100 (Fri, 28 Mar 2008) | 2 lines
      
        Print more information the next time test_socket throws the wrong exception.
      ........
        r61987 | neal.norwitz | 2008-03-28 05:58:51 +0100 (Fri, 28 Mar 2008) | 5 lines
      
        Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.
        Rather than sprinkle casts throughout the code, change Py_CHARMASK to
        always cast it's result to an unsigned char.  This should ensure we
        do the right thing when accessing an array with the result.
      ........
        r61992 | neal.norwitz | 2008-03-28 06:34:59 +0100 (Fri, 28 Mar 2008) | 2 lines
      
        Fix compiler warning about finite() missing on Solaris.
      ........
        r61993 | neal.norwitz | 2008-03-28 07:34:03 +0100 (Fri, 28 Mar 2008) | 11 lines
      
        Bug 1503: Get the test to pass on OSX.  This should make the test more
        reliable, but I'm not convinced it is the right solution.  We need
        to determine if this causes the test to hang on any platforms or do
        other bad things.
      
        Even if it gets the test to pass reliably, it might be that we want
        to fix this in socket.  The socket returned from accept() is different
        on different platforms (inheriting attributes or not) and we might
        want to ensure that the attributes (at least blocking) is the same
        across all platforms.
      ........
        r61997 | neal.norwitz | 2008-03-28 08:36:31 +0100 (Fri, 28 Mar 2008) | 1 line
      
        Name the main method correctly so the test is run
      ........
        r61998 | gregory.p.smith | 2008-03-28 09:00:44 +0100 (Fri, 28 Mar 2008) | 7 lines
      
        This patch moves some tests from test_urllib2_net to test_urllib2_localnet.
        The moved tests use a local server rather than going out to external servers.
      
        Accepts patch from issue2429.
      
        Contributed by Jerry Seutter & Michael Foord (fuzzyman) at PyCon 2008.
      ........
        r61999 | georg.brandl | 2008-03-28 09:06:56 +0100 (Fri, 28 Mar 2008) | 2 lines
      
        #2406: add examples to gzip docs.
      ........
        r62000 | gregory.p.smith | 2008-03-28 09:32:09 +0100 (Fri, 28 Mar 2008) | 4 lines
      
        Accept patch issue2426 by Paul Kippes (kippesp).
      
        Adds sqlite3.Connection.iterdump to allow dumping of databases.
      ........
      bbe741dd
    • Christian Heimes's avatar
      Fixed an import · 75d43c83
      Christian Heimes authored
      75d43c83
    • Martin v. Löwis's avatar
      Merged revisions 61988-61990 via svnmerge from · 51d1864e
      Martin v. Löwis authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ................
        r61988 | martin.v.loewis | 2008-03-28 06:25:36 +0100 (Fr, 28 Mär 2008) | 2 lines
      
        Disable test that depends on #2412 being fixed.
      ................
        r61989 | martin.v.loewis | 2008-03-28 06:26:10 +0100 (Fr, 28 Mär 2008) | 2 lines
      
        Run 2to3 tests.
      ................
        r61990 | martin.v.loewis | 2008-03-28 06:27:44 +0100 (Fr, 28 Mär 2008) | 13 lines
      
        Merged revisions 61825-61989 via svnmerge from
        svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
      
        ........
          r61899 | collin.winter | 2008-03-25 17:53:41 +0100 (Di, 25 Mär 2008) | 1 line
      
          Add a missing explicit fixer to test_all_fixers.
        ........
          r61983 | collin.winter | 2008-03-28 03:19:46 +0100 (Fr, 28 Mär 2008) | 2 lines
      
          Fix http://bugs.python.org/issue2453: support empty excepts in fix_except.
        ........
      ................
      51d1864e
    • Christian Heimes's avatar
      Merged revisions 61964-61979 via svnmerge from · ba4af493
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61964 | benjamin.peterson | 2008-03-27 01:25:33 +0100 (Thu, 27 Mar 2008) | 2 lines
      
        add commas for introductory clauses
      ........
        r61965 | christian.heimes | 2008-03-27 02:36:21 +0100 (Thu, 27 Mar 2008) | 1 line
      
        Hopefully added _fileio module to the Windows build system
      ........
        r61966 | christian.heimes | 2008-03-27 02:38:47 +0100 (Thu, 27 Mar 2008) | 1 line
      
        Revert commit accident
      ........
        r61967 | neal.norwitz | 2008-03-27 04:49:54 +0100 (Thu, 27 Mar 2008) | 3 lines
      
        Fix bytes so it works on 64-bit platforms.
        (Also remove some #if 0 code that is already handled in _getbytevalue.)
      ........
        r61968 | neal.norwitz | 2008-03-27 05:40:07 +0100 (Thu, 27 Mar 2008) | 1 line
      
        Fix memory leaks
      ........
        r61969 | neal.norwitz | 2008-03-27 05:40:50 +0100 (Thu, 27 Mar 2008) | 3 lines
      
        Fix warnings about using char as an array subscript.  This is not portable
        since char is signed on some platforms and unsigned on others.
      ........
        r61970 | neal.norwitz | 2008-03-27 06:02:57 +0100 (Thu, 27 Mar 2008) | 1 line
      
        Fix test_compiler after adding unicode_literals
      ........
        r61971 | neal.norwitz | 2008-03-27 06:03:11 +0100 (Thu, 27 Mar 2008) | 1 line
      
        Fix compiler warnings
      ........
        r61972 | neal.norwitz | 2008-03-27 07:52:01 +0100 (Thu, 27 Mar 2008) | 1 line
      
        Pluralss only need one s, not 2 (intss -> ints)
      ........
        r61973 | christian.heimes | 2008-03-27 10:02:33 +0100 (Thu, 27 Mar 2008) | 1 line
      
        Quick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo files on the build bots
      ........
        r61974 | eric.smith | 2008-03-27 10:42:35 +0100 (Thu, 27 Mar 2008) | 3 lines
      
        Added test cases for single quoted strings, both forms of triple quotes,
         and some string concatenations.
        Removed unneeded __future__ print_function import.
      ........
        r61975 | christian.heimes | 2008-03-27 11:35:52 +0100 (Thu, 27 Mar 2008) | 1 line
      
        Build bots are working again - removing the hack
      ........
        r61976 | christian.heimes | 2008-03-27 12:46:37 +0100 (Thu, 27 Mar 2008) | 2 lines
      
        Fixed tokenize tests
        The tokenize module doesn't understand __future__.unicode_literals yet
      ........
        r61977 | georg.brandl | 2008-03-27 14:27:31 +0100 (Thu, 27 Mar 2008) | 2 lines
      
        #2248: return result of QUIT from quit().
      ........
        r61978 | georg.brandl | 2008-03-27 14:34:59 +0100 (Thu, 27 Mar 2008) | 2 lines
      
        The bug for which there was a test in outstanding_bugs.py was agreed not to be a bug.
      ........
        r61979 | amaury.forgeotdarc | 2008-03-28 00:23:54 +0100 (Fri, 28 Mar 2008) | 5 lines
      
        Issue2495: tokenize.untokenize did not insert space between two consecutive string literals:
        "" "" => """", which is invalid code.
      
        Will backport
      ........
      ba4af493
  5. 26 Mar, 2008 5 commits
    • Christian Heimes's avatar
      Merged revisions 61958-61959 via svnmerge from · 3a932128
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61958 | amaury.forgeotdarc | 2008-03-27 00:07:43 +0100 (Thu, 27 Mar 2008) | 2 lines
      
        C89 compliance: Microsoft compilers want variable declarations at the top
      ........
      3a932128
    • Christian Heimes's avatar
      Merged revisions 61954,61956-61957 via svnmerge from · b1b3efc5
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61954 | christian.heimes | 2008-03-26 23:20:26 +0100 (Wed, 26 Mar 2008) | 1 line
      
        Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD
      ........
        r61956 | christian.heimes | 2008-03-26 23:51:58 +0100 (Wed, 26 Mar 2008) | 1 line
      
        Initialize PyCompilerFlags cf_flags with 0
      ........
        r61957 | christian.heimes | 2008-03-26 23:55:31 +0100 (Wed, 26 Mar 2008) | 1 line
      
        I forgot to svn add the future test
      ........
      b1b3efc5
    • Christian Heimes's avatar
      Merged revisions 61952-61953 via svnmerge from · 4d6ec85a
      Christian Heimes authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61952 | mark.dickinson | 2008-03-26 22:41:36 +0100 (Wed, 26 Mar 2008) | 2 lines
      
        Typo: "objects reference count" -> "object's reference count"
      ........
        r61953 | christian.heimes | 2008-03-26 23:01:37 +0100 (Wed, 26 Mar 2008) | 4 lines
      
        Patch #2477: Added from __future__ import unicode_literals
      
        The new PyParser_*Ex() functions are based on Neal's suggestion and initial patch. The new __future__ feature makes all '' and r'' unicode strings. b'' and br'' stay (byte) strings.
      ........
      4d6ec85a
    • Amaury Forgeot d'Arc's avatar
      Correct Issue#1561: test_mailbox failed on Windows. · 9edef04c
      Amaury Forgeot d'Arc authored
      Open all text files with newline='', this is the only way to have consistent offsets.
      9edef04c
    • Christian Heimes's avatar
      Merged revisions... · f6cd967e
      Christian Heimes authored
      Merged revisions 61913,61915-61916,61918-61919,61922-61926,61928-61929,61931,61935,61938,61943 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r61913 | benjamin.peterson | 2008-03-25 22:14:42 +0100 (Tue, 25 Mar 2008) | 2 lines
      
        Merged the ACKS from py3k
      ........
        r61915 | thomas.heller | 2008-03-25 22:18:39 +0100 (Tue, 25 Mar 2008) | 1 line
      
        Make _ctypes.c PY_SSIZE_T_CLEAN.
      ........
        r61916 | benjamin.peterson | 2008-03-25 22:55:50 +0100 (Tue, 25 Mar 2008) | 3 lines
      
        Opps! I merged the revisions, but forgot to add
        the header to ACKS
      ........
        r61918 | andrew.kuchling | 2008-03-26 01:16:50 +0100 (Wed, 26 Mar 2008) | 1 line
      
        Minor docstring typos
      ........
        r61919 | andrew.kuchling | 2008-03-26 01:30:02 +0100 (Wed, 26 Mar 2008) | 1 line
      
        Add various items
      ........
        r61922 | neal.norwitz | 2008-03-26 05:55:51 +0100 (Wed, 26 Mar 2008) | 6 lines
      
        Try to get this test to be less flaky.  It was failing sometimes because
        the connect would succeed before the timeout occurred.  Try using an
        address and port that hopefully doesn't exist to ensure we get no response.
        If this doesn't work, we can use a public address close to python.org
        and hopefully that address never gets taken.
      ........
        r61923 | jerry.seutter | 2008-03-26 06:03:03 +0100 (Wed, 26 Mar 2008) | 1 line
      
        Changed test so it no longer runs as a side effect of importing.
      ........
        r61924 | neal.norwitz | 2008-03-26 06:19:41 +0100 (Wed, 26 Mar 2008) | 5 lines
      
        Ensure that the mailbox is closed to prevent problems on Windows with removing
        an open file.  This doesn't seem to be a problem in 2.6, but that appears
        to be somewhat accidental (specific to reference counting).  When this
        gets merged to 3.0, it will make the 3.0 code simpler.
      ........
        r61925 | jerry.seutter | 2008-03-26 06:32:51 +0100 (Wed, 26 Mar 2008) | 1 line
      
        Changed test so it no longer runs as a side effect of importing.
      ........
        r61926 | jerry.seutter | 2008-03-26 06:58:14 +0100 (Wed, 26 Mar 2008) | 1 line
      
        Changed test so it no longer runs as a side effect of importing.
      ........
        r61928 | georg.brandl | 2008-03-26 10:04:36 +0100 (Wed, 26 Mar 2008) | 2 lines
      
        Add Josiah.
      ........
        r61929 | georg.brandl | 2008-03-26 10:32:46 +0100 (Wed, 26 Mar 2008) | 2 lines
      
        Add an example for an RFC 822 continuation.
      ........
        r61931 | benjamin.peterson | 2008-03-26 12:57:47 +0100 (Wed, 26 Mar 2008) | 2 lines
      
        Added help options to PDB
      ........
        r61935 | christian.heimes | 2008-03-26 13:32:49 +0100 (Wed, 26 Mar 2008) | 1 line
      
        Prepare integration of bytearray backport branch
      ........
        r61938 | christian.heimes | 2008-03-26 13:50:43 +0100 (Wed, 26 Mar 2008) | 3 lines
      
        Removed merge tracking for "svnmerge" for
        svn+ssh://pythondev@svn.python.org/python/branches/trunk-bytearray
      ........
        r61943 | georg.brandl | 2008-03-26 13:57:47 +0100 (Wed, 26 Mar 2008) | 2 lines
      
        Fix and simplify error handling, silencing a compiler warning.
      ........
      f6cd967e