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

Eric Snow ericsnowcurrently at gmail.com
Fri Jun 21 22:04:20 CEST 2013


On Fri, Jun 21, 2013 at 9:29 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

So why not just replace the broken parts of stat.py and keep the rest of it?

In some ways this sounds like yet another use case for what amounts to properties on modules. The sketchy contants that are causing concern could raise NotImplementedError in stat.py, but the C version would implement them. Then PEP 399 remains satisfied and appropriately so.

-eric



More information about the Python-Dev mailing list