[New-bugs-announce] [issue30265] test.support.unlink() should fail or emit a warning on WindowsError: [Error 32] The process cannot access the file ...
STINNER Victor
report at bugs.python.org
Wed May 3 20:03:15 EDT 2017
New submission from STINNER Victor:
While working on issue #30264, I noticed that test.support.unlink() ignores *all* OSError exceptions. I suggest to add handle WindowsError: [Error 32] differently.
Example of such error, issue #15388:
WindowsError: [Error 32] The process cannot access the file because it is being used by another process:
I suggest to either raise an exception (passthrough the original OSError), or emit/log a warning.
----------
components: Tests, Windows
messages: 292949
nosy: haypo, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: test.support.unlink() should fail or emit a warning on WindowsError: [Error 32] The process cannot access the file ...
type: resource usage
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30265>
_______________________________________
More information about the New-bugs-announce
mailing list