[Python-Dev] [Python-checkins] peps: Update for 436, explicitly supporting positional parameters forever, amen.
Stefan Krah
stefan at bytereef.org
Mon Mar 18 12:05:52 CET 2013
More information about the Python-Dev mailing list
Mon Mar 18 12:05:52 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: Update for 436, explicitly supporting positional parameters forever, amen.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
larry.hastings <python-checkins at python.org> wrote: > + Establishes that all the *proceeding* arguments are > + positional-only. For now, Argument Clinic does not > + support functions with both positional-only and > + non-positional-only arguments; therefore, if ``/`` > + is specified for a function, currently it must always > + be after the last parameter. Also, Argument Clinic > + does not currently support default values for > + positional-only parameters. > + > +(The semantics of ``/`` follow a syntax for positional-only > +parameters in Python once proposed by Guido. [5]_ ) I think the entire PEP would be easier to understand if the main sections only contained the envisaged end result and all current preprocessor deficiencies were listed in a single isolated section. Stefan Krah
- 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: Update for 436, explicitly supporting positional parameters forever, amen.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list