Summary
#1491 closed #1452 for circular containers and exploding __str__, but the recovery path can still raise. Three residual holes:
- Exception whose own
__str__ raises when formatting the fallback
- Values forging
__class__ = str that pass isinstance then fail in dump
- Large ints past
sys.get_int_max_str_digits() and non-finite floats (allow_nan=False)
Acceptance
Context
Implemented by #1515.
Summary
#1491 closed #1452 for circular containers and exploding
__str__, but the recovery path can still raise. Three residual holes:__str__raises when formatting the fallback__class__ = strthat passisinstancethen fail in dumpsys.get_int_max_str_digits()and non-finite floats (allow_nan=False)Acceptance
Context
Implemented by #1515.