On 11/08/2014 10:46 AM, Xavier Morel wrote:
On 2014-11-08, at 16:46 , Ionel Cristian Mărieș wrote:
In the current incarnation Pathlib is missing some key features I need in
my usecases. I want to contribute them but i'd like a bit of feedback on
the new api before jumping to implementation.
#1. A context manager for temporary files and dirs (that cleans everything
up on exit).
Why would pathlib need to provide this when tempfile already does?
Because tempfile doesn't accept PathLib instances?
--
~Ethan~
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com