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 < rep...@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 <rep...@bugs.python.org> > <http://bugs.python.org/issue17551> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17551> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com