Skip to content

Conversation

@ethanfurman
Copy link
Member

@ethanfurman ethanfurman commented Nov 23, 2022

When inheriting from a dataclass, only show the field names in the value section of the member repr(), and not the dataclass' class name.

When inheriting from a dataclass, only show the field names in the value
section of the member repr(), and not the dataclass' class name.
@ethanfurman
Copy link
Member Author

Should probably have a way to keep a dataclass-generated repr.

@CAM-Gerlach CAM-Gerlach added type-feature A feature request or enhancement stdlib Standard Library Python modules in the Lib/ directory 3.12 only security fixes labels Nov 24, 2022
Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some relatively minor syntax and textual fixes, clarifications and refinements on the docs and NEWS entry, thanks.

@ethanfurman ethanfurman merged commit 679efbb into python:main Dec 6, 2022
@ethanfurman ethanfurman deleted the enum-dataclass branch February 1, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.12 only security fixes stdlib Standard Library Python modules in the Lib/ directory type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants