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

scoder opened this Issue Apr 7, 2019 · 0 comments


None yet
1 participant
Copy link

commented Apr 7, 2019

  • allow / in signatures in
  • mark the preceding arguments as positional-only via a new attribute
  • exclude them from keyword parsing in (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.