Message 365019 - Python tracker
Message365019
| Author | ethan.furman |
|---|---|
| Recipients | barry, eli.bendersky, ethan.furman |
| Date | 2020-03-25.19:48:58 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1585165738.23.0.618463548627.issue40066@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Serhiy had the idea of having Enum._convert also modify the __str__ and __repr__ of newly created enumerations to display the module name instead of the enumeration name (https://bugs.python.org/msg325007): --> socket.AF_UNIX <AddressFamily.AF_UNIX: 1> ==> <socket.AF_UNIX: 1> --> print(socket.AF_UNIX) AddressFamily.AF_UNIX ==> socket.AF_UNIX Thoughts? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-03-25 19:48:58 | ethan.furman | set | recipients: + ethan.furman, barry, eli.bendersky |
| 2020-03-25 19:48:58 | ethan.furman | set | messageid: <1585165738.23.0.618463548627.issue40066@roundup.psfhosted.org> |
| 2020-03-25 19:48:58 | ethan.furman | link | issue40066 messages |
| 2020-03-25 19:48:58 | ethan.furman | create | |