[Python-ideas] PEP: Extended stat_result (First Draft)

Pieter Nagel pieter at nagel.co.za
Mon May 6 14:37:50 CEST 2013


On Mon, 2013-05-06 at 18:50 +1000, Nick Coghlan wrote:

> Something it doesn't yet cover, and should, is a Python level API for
> creating these new objects.

I see, based on the following code in os.py that this mechanism already
exists:

    def _make_stat_result(tup, dict):
        return stat_result(tup, dict)

Since I don't propose removing any behaviour from the current
stat_result, my proposal will leave that untouched.

-- 
Pieter Nagel





More information about the Python-ideas mailing list