[issue5178] Add context manager for temporary directory

Antoine Pitrou report at bugs.python.org
Sat Feb 14 14:23:10 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

If you look at the code for os.path.isdir, it uses other globals such as
os.stat, so you might want to reinject them in your class as well...

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5178>
_______________________________________


More information about the Python-bugs-list mailing list