2017-03-03 6:13 GMT+01:00 Mike Miller <python-id...@mgmiller.net>: > Agreed, I've rarely found a need for a "second None" or sentinel either, but > once every few years I do. So, this use case doesn't seem to be common > enough to devote special syntax or a keyword to from my perspective.
The question here is how to have an official support of this feature in inspect.signature(). If we go to the special value (singleton) way, Ellispis doesn't work neither since a few modules use Ellipsis for legit use case. Recent user: the typing module for "Callable[[arg, ...], result]". Victor _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/