[Python-Dev] [Python-checkins] peps: New DSL syntax and slightly changed semantics for the Argument Clinic DSL. (original) (raw)
Larry Hastings larry at hastings.org
Mon Mar 18 23:43:10 CET 2013
- Previous message: [Python-Dev] [Python-checkins] peps: New DSL syntax and slightly changed semantics for the Argument Clinic DSL.
- Next message: [Python-Dev] [Python-checkins] peps: New DSL syntax and slightly changed semantics for the Argument Clinic DSL.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03/18/2013 02:29 AM, Ronald Oussoren wrote:
On 18 Mar, 2013, at 8:16, Larry Hastings <larry at 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. inspect.Signature does have support for positional-only arguments, they have inspect.Parameter.POSITIONALONLY as their kind.
You're right! And I should have remembered that--I was one of the authors of the inspect.Signature PEP. It's funny, it can represent something that it has no way of inferring ;-)
//arry/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130318/e6ed2a1a/attachment.html>
- Previous message: [Python-Dev] [Python-checkins] peps: New DSL syntax and slightly changed semantics for the Argument Clinic DSL.
- Next message: [Python-Dev] [Python-checkins] peps: New DSL syntax and slightly changed semantics for the Argument Clinic DSL.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]