On 27/10/2021 01:47, Chris Angelico wrote:
The idea that a
parameter is optional, but doesn't have a value, may itself be worth
exploring (maybe some way to say "arg=pass" and then have an operator
"if unset arg:" that returns True if it's unbound), but that's for
another day.

ChrisA
Indeed.  And it could be useful to know if a parameter was passed a value or given the default value. Python has very comprehensive introspection abilities, but this is a (small) gap.
Rob Cliffe
_______________________________________________
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/TSUPWXIDS5RLAKZU6DAXXCJ7HEGHQAVM/
Code of Conduct: http://python.org/psf/codeofconduct/

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

Reply via email to