But aren't most of these masks? enum,IntEnum doesn't handle those very
gracefully (the | operator returns a plain int).

On Thu, Jun 20, 2013 at 1:18 PM, Amaury Forgeot d'Arc
<amaur...@gmail.com> wrote:
> 2013/6/20 Serhiy Storchaka <storch...@gmail.com>
>>
>> Now with enumerations in the stdlib the stat module constants are
>> candidates for flag enumerations. How easy will be implement it on C?
>
>
> Aha. Should an internal C module fetch the value of the constants, and a
> public stat.py nicely wrap them in enums?
>
>
> --
> Amaury Forgeot d'Arc
>
> _______________________________________________
> 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/guido%40python.org
>



-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
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