On 18 Mar, 2013, at 8:16, Larry Hastings <la...@hastings.org> wrote:
> > This has some consequences. For example, inspect.getfullargspec, > inspect.Signature, and indeed types.FunctionObject and types.CodeObject have > no currently defined mechanism for communicating that a parameter is > positional-only. I strongly assert we need such a mechanism, though it could > be as simple as having the parameter name be an empty string or None. inspect.Signature does have support for positional-only arguments, they have inspect.Parameter.POSITIONAL_ONLY as their kind. The others probably don't have support for this kind of parameters because there is no Python syntax for creating them. Ronald _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com