Terry Reedy wrote:
Attaching a *constant* string is very fast, to the consternation of people who would like the index reported.
Seems to me that storing the index as an attribute would help with this. It shouldn't be much slower than storing a constant string, and formatting the message would be deferred until it's needed, if at all. -- Greg _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/