Message380384
I think this is a bug. There is recursion detection in pprint for dicts, lists and tuples, but it only applies when __repr__ has not been overridden in a subclass.
If you remove the __repr__ definition from NiceObject then str(s) works. |
|
Date |
User |
Action |
Args |
2020-11-05 00:34:45 | iritkatriel | set | recipients:
+ iritkatriel, danbst |
2020-11-05 00:34:45 | iritkatriel | set | messageid: <1604536485.23.0.325228408902.issue42259@roundup.psfhosted.org> |
2020-11-05 00:34:45 | iritkatriel | link | issue42259 messages |
2020-11-05 00:34:45 | iritkatriel | create | |
|