me> Seems shallow.  Just inherit from object.
    ...
    me> I'm testing out the inherit-from-object fixes now.

They all passed.  Here's the patch:

    http://bugs.python.org/issue3658

In addition, I get these two test failures on trunk:

    % ./python.exe ../Lib/test/regrtest.py test_distutils test_multiprocessing
    test_distutils
    test test_distutils failed -- Traceback (most recent call last):
      File 
"/Users/skip/src/python/trunk/Lib/distutils/tests/test_build_ext.py", line 23, 
in setUp
        shutil.copy(xx_c, self.tmp_dir)
      File "/Users/skip/src/python/trunk/Lib/shutil.py", line 88, in copy
        copyfile(src, dst)
      File "/Users/skip/src/python/trunk/Lib/shutil.py", line 52, in copyfile
        fsrc = open(src, 'rb')
    IOError: [Errno 2] No such file or directory: 
'/Users/skip/src/python/trunk/regular/Modules/xxmodule.c'

    test_multiprocessing
    test test_multiprocessing failed -- Traceback (most recent call last):
      File "/Users/skip/src/python/trunk/Lib/test/test_multiprocessing.py", 
line 1223, in test_connection
        res = conn.recv_bytes_into(buffer)
    TypeError: argument 1 must be pinned buffer, not bytearray

    2 tests failed:
        test_distutils test_multiprocessing

The former is almost certainly because I'm building in a subdirectory of my
trunk sandbox.  (Doesn't anybody else build that way these days?  I
routinely encounter problems with this setup.)  Looks like
distutils.sysconfig.project_base is set incorrectly:

    % ./python.exe 
    Python 2.6b3+ (trunk:66009M, Aug 24 2008, 07:17:12) 
    [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import os
    >>> import sys
    >>> project_base = os.path.dirname(os.path.abspath(sys.executable))
    >>> project_base
    '/Users/skip/src/python/trunk/regular'

I think project_base should be /Users/skip/src/python/trunk, not
.../trunk/regular.

Skip

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to