Chris Angelico wrote:
if I'd been able to ascertain which functions were pure, or
at least side-effect-free, it would have saved me a lot of hassle.)

I'm not sure how useful such annotations would be in practice,
though. They're only as good as the diligence of the author in
using them consistently and correctly, which makes them not
much better than comments.

--
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/

Reply via email to