Skip to content

[Python] Inconsistent creator function naming in generated code #8791

Closed

Description

@peter-soos

Creator function will be named CreateMy_Type, but pack method will try to call CreateMyType.

namespace a;

struct My_Type {
  i:int;
}

My_Type.py

Activity

  1. jtdavis777 commented on Jan 26, 2026

    @jtdavis777
    Collaborator

    heads up I discovered today this change needs applied to the stub generated too -- pyi files are wrong.

    I am happy to open a PR for this.

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions