Hi Ethan, In general, I would say that we don't provide any backward compatibility warranties on the exact repr() output. In practice, we attempt to not change it unless there is a good reason for that. IMO in your case, it's justified. When float repr() was changed, it broke tons of doctests :-(
You might document it somewhere in What's New In Python 3.10. Maybe near: https://docs.python.org/dev/whatsnew/3.10.html#changes-in-the-python-api Victor _______________________________________________ python-committers mailing list -- python-committers@python.org To unsubscribe send an email to python-committers-le...@python.org https://mail.python.org/mailman3/lists/python-committers.python.org/ Message archived at https://mail.python.org/archives/list/python-committers@python.org/message/YM7B56TC5ZAKQSY6Q65BOEJHWWZXWHSR/ Code of Conduct: https://www.python.org/psf/codeofconduct/