[issue17551] Windows - accessing drive with nothing mounted forces user interaction

2013-03-30 Thread Bob Alexander
Bob Alexander added the comment: Thanks Terry. I agree that it's a bug. And, in the future I'll be more careful about trimming the "history" from my messages :-) Bob -- ___ Python tracker ___

[issue17551] Windows - accessing drive with nothing mounted forces user interaction

2013-03-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Bob, when replying by email, please snip everything except your reply, and perhaps a specific small quote. Since the doc says exists returns True or False, raising a popup seems like a bug to be fixed. -- nosy: +terry.reedy versions: +Python 3.4

[issue17551] Windows - accessing drive with nothing mounted forces user interaction

2013-03-27 Thread Bob Alexander
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.

[issue17551] Windows - accessing drive with nothing mounted forces user interaction

2013-03-27 Thread Amaury Forgeot d'Arc
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

[issue17551] Windows - accessing drive with nothing mounted forces user interaction

2013-03-26 Thread Bob Alexander
New submission from Bob Alexander: Attempting to use os.path.exists on a Windows drive that is a mobile device mount point with nothing mounted pops up a dialog asking to insert a device. This makes it impossible to search a set of drives for a specific file without the possibility of unnecess