On 5/19/2013 7:22 PM, Mark Janssen wrote:
On Sun, May 19, 2013 at 1:13 PM, Tres Seaver <tsea...@palladion.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/19/2013 10:48 AM, Guido van Rossum wrote:
Anyway, if you're doing arithmetic on enums you're doing it wrong.
Hmm, bitwise operations, even?
I think it's rather pointless to do bitwise operations on python
enums.  We're not that close to the machine.

It makes sense if the enums represent bit-oriented values that will be used close to the machine. Python is used in many disciplines.

--Ned.

MarkJ
Tacoma, Washington
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/ned%40nedbatchelder.com


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to