Message307540
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__ |
|
Date |
User |
Action |
Args |
2017-12-04 03:43:40 | ppperry | set | recipients:
+ ppperry, terry.reedy, Camion |
2017-12-04 03:43:40 | ppperry | set | messageid: <1512359020.25.0.213398074469.issue32140@psf.upfronthosting.co.za> |
2017-12-04 03:43:40 | ppperry | link | issue32140 messages |
2017-12-04 03:43:39 | ppperry | create | |
|