On Fri, Dec 03, 2021 at 10:36:55AM +1100, Chris Angelico wrote:

> Same again. If you consider the equivalent to be a line of code in the
> function body, then the signature has become MASSIVELY more useful.
> Instead of simply seeing "x=<object object at 0x7fba1b318690>", you
> can see "x=>[]" and be able to see what the value would be. It's
> primarily human-readable (although you could eval it),

You: "it is impossible to evaluate the late-bound default outside of the 
function!"

Also you: "Just eval the string."

You can't have it both ways :-)


-- 
Steve
_______________________________________________
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/ZS6Z7TIJFR2AC2DV7ZVO7HAQX2JJ5NEI/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to