[Python-Dev] Purpose of Doctests [Was: Best practices for Enum]

Mark Janssen dreamingforward at gmail.com
Mon May 20 01:22:22 CEST 2013


On Sun, May 19, 2013 at 1:13 PM, Tres Seaver <tseaver at 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.

MarkJ
Tacoma, Washington


More information about the Python-Dev mailing list