Skip to content

Argument Clinic silently allow empty custom C basenames #107972

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

Activity

  1. erlend-aasland commented on Aug 15, 2023

    @erlend-aasland
    ContributorAuthor

    We should fail() with something like "No C basename provided after 'as' keyword" in this case.

  2. added 2 commits that reference this issue on Aug 15, 2023
  3. added a commit that references this issue on Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions