Xavier de Gaye added the comment:

I cannot reproduce the problem on python 2.7.  The example runs
without problem after fixing the example with the
following changes:

    remove the call to pdb.set_trace(), the debugger is already
    started with a call to pdb.run()

    add the missing 'cls' parameter in the call to __new__() in:
        return super(A, cls).__new__()

nosy: +xdegaye

Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list

Reply via email to