On Sat, Aug 15, 2020, at 01:55, Steven D'Aprano wrote:
> Of course we would not. So why are we even considering a language change 
> to force every single subscriptable object to accept arbitrary 
> keyword-only arguments unless the maintainer changes their class to 
> explicitly reject them?

what?

why would they have to "explicitly" reject them?

it seems like the most obvious way to implement this would be to just... pass 
the keyword arguments. if you pass an argument to a function that doesn't have 
them in its signature it's a TypeError. Thus *automatically* "rejecting" them, 
with no effort required by the author.

right? if that's not the case, what exactly is being proposed?
_______________________________________________
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/DF545C5EZPUTTHLQQPE3FU54XFG36VUH/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to