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 iritkatriel
Recipients ethan.furman, fbidu, iritkatriel, rahul-kumi
Date 2020-09-26.10:29:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601116154.71.0.66724430648.issue40042@roundup.psfhosted.org>
In-reply-to
Content
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).
History
Date User Action Args
2020-09-26 10:29:14iritkatrielsetrecipients: + iritkatriel, ethan.furman, fbidu, rahul-kumi
2020-09-26 10:29:14iritkatrielsetmessageid: <1601116154.71.0.66724430648.issue40042@roundup.psfhosted.org>
2020-09-26 10:29:14iritkatriellinkissue40042 messages
2020-09-26 10:29:14iritkatrielcreate