Message 242597 - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Content
Yes, when I implemented optional groups, I didn't realize that sometimes people mixed them with optional arguments (with default values).  Clinic doesn't cope well when you mix the two.

Does this work?

/*[clinic input]
_curses.window.getstr

    [
    y: int
        Y-coordinate.
    x: int
        X-coordinate.
    ]
    [
    n: int
    ]


I'm surprised people are adding new arguments to a function like curses.window.getstr().