Message381503
@property has a place to attach the docstring, dataclasses in general do not. I wouldn't want to add a descriptor just to have the ability to add a docstring. There are performance issues involved, and I'm sure some corner cases where functionality would change.
Maybe if you bring this up on python-ideas you can get some more ideas. |
|
Date |
User |
Action |
Args |
2020-11-20 20:09:34 | eric.smith | set | recipients:
+ eric.smith, jmg |
2020-11-20 20:09:34 | eric.smith | set | messageid: <1605902974.98.0.894412993686.issue42414@roundup.psfhosted.org> |
2020-11-20 20:09:34 | eric.smith | link | issue42414 messages |
2020-11-20 20:09:34 | eric.smith | create | |
|