Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement PEP-570: positional-only arguments #2915

Open
scoder opened this Issue Apr 7, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@scoder
Copy link
Contributor

commented Apr 7, 2019

https://www.python.org/dev/peps/pep-0570/

  • allow / in signatures in Parsing.py
  • mark the preceding arguments as positional-only via a new attribute
  • exclude them from keyword parsing in Nodes.py (DefNode and DefNodeWrapper).
  • add tests (mostly copied from CPython)

We should also support positional-only arguments for cdef functions (for which we also allow keyword arguments).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.