Message386020
| Author |
LewisGaul |
| Recipients |
LewisGaul, eric.smith, eric.snow, rhettinger, serhiy.storchaka |
| Date |
2021年01月31日.14:34:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1612103698.66.0.739159270774.issue43080@roundup.psfhosted.org> |
| In-reply-to |
| Content |
@Serhiy - Yes, I noted that problem in the PR. Thanks for pointing me to that issue, I agree it would be good to make pprint properly extensible (my current solution is to maintain a fork of the pprint module with dataclass support added).
Eric's suggestion would work, I wasn't sure if it would be considered an 'ok' thing to do, but if so then could be an easy enough way to support dataclasses (and namedtuples potentially)? |
|