[issue8604] Alias for distutils.file_util.write_file in e.g. shutils

Antoine Pitrou report at bugs.python.org
Mon May 3 19:55:34 CEST 2010


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

> Giving the ability to the developers to work in a context manager
> means that you potentially give them the ability to break this
> atomicity.

AFAICT this doesn't make sense. The writing isn't atomic, the renaming
is.

----------

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


More information about the Python-bugs-list mailing list