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

Ethan Furman ethan at stoneleaf.us
Thu Jun 20 22:24:48 CEST 2013

On 06/20/2013 01:18 PM, Amaury Forgeot d'Arc wrote:
> 2013/6/20 Serhiy Storchaka wrote:
>> 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?

That's pretty much the approach I'm thinking about for sockets.


More information about the Python-Dev mailing list