ppperry <maprea...@olum.org> added the comment:

Simplified reproducer for same bug without any imports:

class BadRepr:
        def __repr__(self):
                1/0
def broken():
    x=BadRepr()
    x=x #filler line for debugger

In this case, the problematic BadRepr object in the "broken" function explictly 
has a broken __repr__, but the uninitialized Fraction object in the "__new__" 
function of the Fraction class has a similarly broken __repr__

----------
nosy: +ppperry

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32140>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to