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 AstraLuma
Recipients AstraLuma
Date 2021-05-13.22:09:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620943794.26.0.337038741401.issue44127@roundup.psfhosted.org>
In-reply-to
Content
As it says in the title. ._replace() (inherited from namedtuple) doesn't  allow changing the generated properties.

While this is a natural consequence of how ParseResult is implemented, I would describe it as a deficiency of developer experience.

My work-around function for this is https://gist.github.com/AstraLuma/00e511feb1f619f407d07e968d69f36b
History
Date User Action Args
2021-05-13 22:09:54AstraLumasetrecipients: + AstraLuma
2021-05-13 22:09:54AstraLumasetmessageid: <1620943794.26.0.337038741401.issue44127@roundup.psfhosted.org>
2021-05-13 22:09:54AstraLumalinkissue44127 messages
2021-05-13 22:09:54AstraLumacreate