New submission from Philip Jenvey <[email protected]>:

Windows hangs on this test_descr test:

def test_recursive_call(self):
    # Testing recursive __call__() by setting to instance of class...
    class A(object):
        pass

    A.__call__ = A()
    try:
        A()()
    except RuntimeError:
        pass
    else:
        self.fail("Recursion limit should have been reached for __call__()")

It's only a problem w/ new style classes, old style classes trigger the 
RuntimeError

posix handles it all just fine

----------
messages: 5605
nosy: pypy-issue
priority: bug
release: 1.9
status: unread
title: new style class recursive __call__ doesn't trigger a RuntimeError on 
windows

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1461>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to