[issue25097] test_logging may fail with 'Access is denied' when pywin32 is installed

Zachary Ware report at bugs.python.org
Tue Oct 6 16:33:41 EDT 2015


Zachary Ware added the comment:

Turned out that your change didn't quite do it, but it was just the method you used to try to access the errno (which looks like it ought to work from the formatting of the error message).

Mere moments after pushing the fix for that, I realized that the new try/except was silently swallowing any other win32 errors that weren't permission errors, so that's the second batch of commits from me.

----------

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


More information about the Python-bugs-list mailing list