Message270056
| Author |
ethan.furman |
| Recipients |
John Hagen, barry, eli.bendersky, ethan.furman |
| Date |
2016年07月09日.17:11:57 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1468084317.77.0.951331055676.issue26988@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The problem with testing the type of object a name refers to outside the class is it then becomes more difficult to make that an Enum member:
class AddressType(Enum):
pobox
mailbox # third-party po box
property
Having to assign a value to `property` pretty much negates the value of the magic.
I'll go with `_ignore_`. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年07月09日 17:11:57 | ethan.furman | set | recipients:
+ ethan.furman, barry, eli.bendersky, John Hagen |
| 2016年07月09日 17:11:57 | ethan.furman | set | messageid: <1468084317.77.0.951331055676.issue26988@psf.upfronthosting.co.za> |
| 2016年07月09日 17:11:57 | ethan.furman | link | issue26988 messages |
| 2016年07月09日 17:11:57 | ethan.furman | create |
|