[Python-Dev] Positional-only parameters in Python (original) (raw)
Sanyam Khurana sanyam.khurana01 at gmail.com
Wed Jan 17 12:16:32 EST 2018
- Previous message (by thread): [Python-Dev] Positional-only parameters in Python
- Next message (by thread): [Python-Dev] Positional-only parameters in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On Wed, Jan 17, 2018 at 8:04 PM, Victor Stinner <victor.stinner at gmail.com> wrote:
Hi,
In Februrary 2017, I proposed on python-ideas to change the Python syntax to allow to declare positional-only parameters in Python: https://mail.python.org/pipermail/python-ideas/2017-February/044879.html https://mail.python.org/pipermail/python-ideas/2017-March/044956.html There are already supported at the C level, but not at the Python level. Our BDFL approved the idea: https://mail.python.org/pipermail/python-ideas/2017-March/044959.html But I didn't find time to implement it. Does someone want to work on an implementation of the idea? March 2, 2017 7:16 PM, "Brett Cannon" wrote: It seems all the core devs who have commented on this are in the positive (Victor, Yury, Ethan, Yury, Guido, Terry, and Steven; MAL didn't explicitly vote). So to me that suggests there's enough support to warrant writing a PEP. Are you up for writing it, Victor, or is someone else going to write it? It seems like a PEP is needed.
I followed the threads mentioned above, which led me to PEP 457: https://www.python.org/dev/peps/pep-0457/
I didn't find a clear indication if it was still to be modified, approved or rejected. Can anyone help?
Also, on a second note, I can help with writing a PEP (would prefer co-authoring with someone ), but this would be my first time and I would really appreciate guidance of core-developers.
-- Mozilla Rep http://www.SanyamKhurana.com Github: CuriousLearner
- Previous message (by thread): [Python-Dev] Positional-only parameters in Python
- Next message (by thread): [Python-Dev] Positional-only parameters in Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]