[Python-Dev] pathlib difference to the backport

2014年11月10日 07:34:17 -0800

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.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to