Skip to content

Stubs: rename members of a nested companion (PathOperation.Companion.reverseDifference) #86

Closed

Description

@b-re-w

scripts/gen_stubs.py does not rename the members of a companion nested inside a class: the committed ui/graphics stub still spells PathOperation.Companion.reverseDifference in camelCase, while every other member is snake_case. It predates #79 (found during its step 5). Done when nested companion members follow python_name like every other member, a generator test covers a nested companion, the stubs are regenerated, and the runtime spelling is checked to match (the binder's own alias for that member, python-multiplatform #131).

Activity

  1. b-re-w commented on Oct 3, 2026

    @b-re-w
    MemberAuthor

    Landed in develop via #87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions