[issue6285] Silent abort on XP help document display

Terry J. Reedy report at bugs.python.org
Fri Dec 31 05:24:05 CET 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

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.

----------
assignee:  -> terry.reedy
keywords: +patch
stage:  -> commit review
type:  -> behavior
versions: +Python 2.7, Python 3.2
Added file: http://bugs.python.org/file20199/z6285.diff

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


More information about the Python-bugs-list mailing list