[Python-Dev] PEP-435 reference implementation
Tres Seaver
tseaver at palladion.com
Wed May 1 18:18:11 CEST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/01/2013 12:14 PM, Guido van Rossum wrote:
> But we'd probably have to give up something else, e.g. adding methods
> to enums, or any hope that the instance/class/subclass relationships
> make any sense.
I'd be glad to drop both of those in favor of subclassing: I think the
emphasis on "class-ness" makes no sense, given the driving usecases for
adopting enums into the stdlib in the first place. IOW, I would vote
that real-world usecases trump hypothetical purity.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iEYEARECAAYFAlGBQEMACgkQ+gerLs4ltQ6myQCZAZqKCR/6H6I8bogHtSwhTM9I
ok8AnjBKfFyuse6caMF085wBHvlrf0uA
=nJ5C
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list