A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-June/126985.html below:

[Python-Dev] stat module in C -- what to do with stat.py?

[Python-Dev] stat module in C -- what to do with stat.py? [Python-Dev] stat module in C -- what to do with stat.py?Guido van Rossum guido at python.org
Thu Jun 20 22:27:16 CEST 2013
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
<amauryfa at gmail.com> wrote:
> 2013/6/20 Serhiy Storchaka <storchaka at 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 at 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)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4