Message377521
I see in the code of _create_pseudo_member_ that _name_ is deliberately set to None, and furthermore in __str__ and __repr__ the fact that it is None is used to determine whether self is a composite (pseudo) or not.
So first question is whether this should be fixed.
If so, I see two options:
1. Establish another way to determine whether self is a composite or not, and change they way _name_ is initialised.
2. Leave _name_ as is, but override name (which currently is defined in Enum and simply returns _name_ but can be redefined to do something else). |
|
Date |
User |
Action |
Args |
2020-09-26 10:29:14 | iritkatriel | set | recipients:
+ iritkatriel, ethan.furman, fbidu, rahul-kumi |
2020-09-26 10:29:14 | iritkatriel | set | messageid: <1601116154.71.0.66724430648.issue40042@roundup.psfhosted.org> |
2020-09-26 10:29:14 | iritkatriel | link | issue40042 messages |
2020-09-26 10:29:14 | iritkatriel | create | |
|