Message393614
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 |
|
Date |
User |
Action |
Args |
2021-05-13 22:09:54 | AstraLuma | set | recipients:
+ AstraLuma |
2021-05-13 22:09:54 | AstraLuma | set | messageid: <1620943794.26.0.337038741401.issue44127@roundup.psfhosted.org> |
2021-05-13 22:09:54 | AstraLuma | link | issue44127 messages |
2021-05-13 22:09:54 | AstraLuma | create | |
|