[Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library (original) (raw)
Scott Dial scott+python-dev at scottdial.com
Wed Apr 24 00:48:31 CEST 2013
- Previous message: [Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library
- Next message: [Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 4/23/2013 11:58 AM, Guido van Rossum wrote:
You seem to be mixing up classes and metaclasses.
I was trying to explain it in more plain terms, but maybe I made it even more confusing.. Anyways, I agree with you that isinstance(Color.RED, Color) should be True.
-- Scott Dial scott at scottdial.com
- Previous message: [Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library
- Next message: [Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]