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 eric.smith
Recipients eric.smith, mandolaerik
Date 2021-04-21.12:25:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619007903.81.0.600045581205.issue43905@roundup.psfhosted.org>
In-reply-to
Content
Unfortunately this can't be changed, although I suppose it should be documented.

In general I think this API was a mistake, and should not have been added. There are just too many cases where it doesn't do what you want, or where it fails.

I'd like to deprecate it and remove it (along with asdict), but I fear that would be too disruptive.

Your approach seems reasonable to me for your use case.
History
Date User Action Args
2021-04-21 12:25:03eric.smithsetrecipients: + eric.smith, mandolaerik
2021-04-21 12:25:03eric.smithsetmessageid: <1619007903.81.0.600045581205.issue43905@roundup.psfhosted.org>
2021-04-21 12:25:03eric.smithlinkissue43905 messages
2021-04-21 12:25:03eric.smithcreate