This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients eric.smith, remi.lapeyre, rhettinger
Date 2019-01-14.06:25:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547447148.43.0.337843936213.issue35710@roundup.psfhosted.org>
In-reply-to
Content
"target" seems too general for the OP's use case.  "private=False" would be more focused.  General renaming occasionally has uses but is mostly an anti-pattern.  

Some thought also needs to be given to downstream effects of renaming (what shows up in help(), impact of renaming on type annotations, introspection challenges, what asdict() should do, whether the overall implementation would be made more complex, is the attribute now out of reach for __post_init__(), is this even within the scope of what dataclasses set out to do, etc).
History
Date User Action Args
2019-01-14 06:25:50rhettingersetrecipients: + rhettinger, eric.smith, remi.lapeyre
2019-01-14 06:25:48rhettingersetmessageid: <1547447148.43.0.337843936213.issue35710@roundup.psfhosted.org>
2019-01-14 06:25:48rhettingerlinkissue35710 messages
2019-01-14 06:25:48rhettingercreate