Giampaolo Rodola' <g.rod...@gmail.com> added the comment: Personally I would like to have a unique tempfile.mkdtemp which can be used as both a function and a context manager, as it happens for open() and others. Not sure how to do that though, unless tempfile.mkdtemp gets turned into a class. There would be objections against doing that?
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5178> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com