Skip to content

Argument Clinic silently allow empty custom C basenames #107972

@erlend-aasland

Description

@erlend-aasland

See #107964 (comment):

Here's a very contrived example that silently passes on this PR, current main and on 3.12:

/*[clinic input]
output everything block
class C "void *" ""
# Trailing whitespace on following line!!!
C.meth as   
[clinic start generated code]*/

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions