jess <[EMAIL PROTECTED]> added the comment:

This appears to be the same issue as in:
3055    2 months ago     test_list on 64-bit platforms

The failing test appears to be test_bigrepeat:

    def test_bigrepeat(self):
        x = self.type2test([0])
        x *= 2**16
        self.assertRaises(MemoryError, x.__mul__, 2**16)
        if hasattr(x, '__imul__'):
            self.assertRaises(MemoryError, x.__imul__, 2**16)

I am experiencing the same symptoms with 64-bit builds on Solaris10 on
an 8gb sparc machine with lots of virtual memory.  The test is
attempting to allocate a list with 4gb elements.  This requires more
space than there is physical memory so the machine starts swapping like
crazy but does not throw an error in 64 bit mode.  In 32 bit, it would
presumabley throw the error because the test has requested more than 4gb
of memory.

In other words Python appears to be working as it should.  In my case I
am not sure that Solaris10 is scanning for virtual memory properly but
that is an entirely different problem.

----------
nosy: +jess

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3107>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to