Message326172
>>> class NoRepr:
def __repr__(self):
raise ValueError
>>> NoRepr()
Traceback (most recent call last):
File "<pyshell#44>", line 1, in <module>
NoRepr()
File "C:\Program Files\Python37\lib\idlelib\rpc.py", line 617, in displayhook
text = repr(value)
File "<pyshell#43>", line 3, in __repr__
raise ValueError
ValueError
What should happen in this case isn't exactly clear, but the current traceback is wrong in multiple ways. |
|
Date |
User |
Action |
Args |
2018-09-23 18:39:03 | ppperry | set | recipients:
+ ppperry, terry.reedy |
2018-09-23 18:39:03 | ppperry | set | messageid: <1537727943.66.0.956365154283.issue34779@psf.upfronthosting.co.za> |
2018-09-23 18:39:03 | ppperry | link | issue34779 messages |
2018-09-23 18:39:03 | ppperry | create | |
|