Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
I am working on this issue and almost done. The questions is what inspect.Signature() and inspect.getfullargspec() should do with such functions. 1. Raise an exception as they did in old Python versions and as they do with builtin functions not converted to Argument Clinic. 2. Return a value where a special placeholder is used as a default value for optional parameters which cannot have a default value. In this case there are other questions: what is better name for it (I considered "unspecified" and "unrepresentable") and should it be a single object used for all parameters or a separate object created for every parameter? ---------- nosy: +yselivanov _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37206> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com