[Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

Antoine Pitrou solipsis at pitrou.net
Tue Dec 4 22:48:17 CET 2012

On Tue, 4 Dec 2012 16:45:54 -0500
Brett Cannon <brett at python.org> wrote:
> >
> > +1 for getting this into 3.4. Does it need a PEP, or just a bug
> > tracker item + code review? I think the latter is fine -- it's
> > probably better not to do too much bikeshedding but just to let Larry
> > propose a patch, have it reviewed and submitted, and then iterate.
> > It's also okay if it is initially used for only a subset of extension
> > modules (and even if some functions/methods can't be expressed using
> > it yet).
> >
> I don't see a need for a PEP either; code review should be plenty since
> this doesn't change how the outside world views public APIs. And we can
> convert code iteratively so that shouldn't hold things up either.

I think the DSL itself does warrant public exposure. It will be an
element of the CPython coding style, if its use becomes widespread.



More information about the Python-Dev mailing list