Ethan Furman wrote:
> Why is this no longer an issue?  My apologies if I missed it in the PEP.

This problem was an artifact of the default `object.__match__` implementation, 
which allowed one positional argument by default when `__match_args__` was 
missing or `None`. Since we've removed `__match__` from the proposal (and 
therefore the default `__match__` implementation from `object`), this issue no 
longer exists.

(Note that most common built-in types like `int` and `tuple` will still work 
this way, but this behavior is not inherited by *all* objects anymore).
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/NFP22VPMLZ4EERYU6KEB2KO7KQQ7ETA5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to