(original) (raw)
Hey,
It appears there's a peculiar difference between the pathlib in the 3.4 branch and the one on bitbucket: cpython's pathlib.Path implements a no-op context manager interface. What's the purpose of that? It's also inconsistent, stat and all the methods that depend on stat do not implement the "is closed check" (raise ValueError if \_\_exit\_\_ was already called).
Can anyone explain?
Thanks,
-- Ionel M.