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 terry.reedy
Recipients amaury.forgeotdarc, loewis, scott_daniels, terry.reedy
Date 2010-12-31.04:24:01
SpamBayes Score 4.7932997e-05
Marked as misclassified No
Message-id <1293769445.05.0.607008696287.issue6285@psf.upfronthosting.co.za>
In-reply-to
Content
webbrowser appears to be designed to return True/False if it does/or not open a browser window (regardless of site response). (I opened #10799 for a doc addition.) I believe an exception would likely indicate a bug therein. So I only wrapped the Windows startfile call (and only catch WindowsError), which could fail with any bad entry, and not just one left over from a previous install.

This patch should make the behavior on Windows much like on other systems: display message and move on. I have (yet) not tested this (but may try to), but take Scott's and Amaury's claims that the message call is correct. I will commit in a week if there are no objections.
History
Date User Action Args
2010-12-31 04:24:05terry.reedysetrecipients: + terry.reedy, loewis, scott_daniels, amaury.forgeotdarc
2010-12-31 04:24:05terry.reedysetmessageid: <1293769445.05.0.607008696287.issue6285@psf.upfronthosting.co.za>
2010-12-31 04:24:01terry.reedylinkissue6285 messages
2010-12-31 04:24:01terry.reedycreate