This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2017-05-04.00:03:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493856195.4.0.0572132111963.issue30265@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-05-04 00:03:16vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower
2017-05-04 00:03:15vstinnersetmessageid: <1493856195.4.0.0572132111963.issue30265@psf.upfronthosting.co.za>
2017-05-04 00:03:15vstinnerlinkissue30265 messages
2017-05-04 00:03:14vstinnercreate