| commit | ba17fe256eefa958dcdc912dc01dbad3b5e843e2 | [log] [tgz] |
|---|---|---|
| author | Brett Cannon <brett@python.org> | Fri Feb 17 09:26:53 2012 -0500 |
| committer | Brett Cannon <brett@python.org> | Fri Feb 17 09:26:53 2012 -0500 |
| tree | 14828fd9b0eac7df8f2fd454bf020d7ee48aac48 | |
| parent | 4fcad3c7ab551110bce65fdac3b8e914dff1aa5c [diff] [blame] |
Have importlib use os.replace() for atomic renaming. Closes issue #13961. Thanks to Charles-François Natali for the patch.
diff --git a/Misc/NEWS b/Misc/NEWS index b2cf410..07ecfc1 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -466,6 +466,8 @@ Library ------- +- Issue #13961: Move importlib over to using os.replace() for atomic renaming. + - Do away with ambiguous level values (as suggested by PEP 328) in importlib.__import__() by raising ValueError when level < 0.