On Wed, May 20, 2020 at 05:54:25PM +1000, Chris Angelico wrote: > > This seems to have some merit. It is quite common, I believe, to want > > an argument's default value to > > be evaluated on each call (and beginners are often confused when it > > isn't) [...] > I'd love to have this as a feature, though.
I have some ideas for that, and in my copious spare time I am gradually writing a proto-PEP. -- Steven _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/IXHXUZOV5TOUYCYBHFD4CWUVADGGLCGV/ Code of Conduct: http://python.org/psf/codeofconduct/