[issue17551] Windows - accessing drive with nothing mounted forces user interaction
Bob Alexander
report at bugs.python.org
Wed Mar 27 17:18:51 CET 2013
Bob Alexander added the comment:
Thanks for the prompt reply!
Your suggested change does change the behavior to exactly the way I think
it should work by default. Tried it on both Windows 7 and Vista; no popups
when accessing a "mobile mount" drive with nothing in it, just quietly
reports False.
I vote for making this the normal behavior of these "file exists" sort of
operations.
Hmm, I notice that msvcrt.SetErrorMode is not discussed in the current
Python 3 Standard Library docs... :-)
Bob
On Wed, Mar 27, 2013 at 6:40 AM, Amaury Forgeot d'Arc <
report at bugs.python.org> wrote:
>
> Amaury Forgeot d'Arc added the comment:
>
> Does it change something if you insert in your script (in 3.3):
> import msvcrt
> msvcrt.SetErrorMode(msvcrt.SEM_FAILCRITICALERRORS)
>
> ----------
> nosy: +amaury.forgeotdarc
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue17551>
> _______________________________________
>
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17551>
_______________________________________
More information about the Python-bugs-list
mailing list