Skip to content

Field name with underscore is reported as error with namedtuple functional form #11033

@erictraut

Description

@erictraut

The typing spec and conformance tests were recently updated to cover the case where a namedtuple defined using the functional form and a rename=True parameter should allow field names starting with an underscore. These would normally be illegal (and rejected at runtime), but they are allowed when rename=True.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions