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>
<http://bugs.python.org/issue14196>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to