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 serhiy.storchaka
Recipients python-dev, saiansh2525, serhiy.storchaka, terry.reedy
Date 2020-11-14.20:00:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605384035.69.0.790552044897.issue42330@roundup.psfhosted.org>
In-reply-to
Content
I concur with Terry.

Actually, registering the browser is not necessary for using it. Set the environment variable BROWSER and use your favorite browser. The following example uses curl (which is not registered as in the webbrowser module) as a browser:

BROWSER=curl python3 -m webbrowser -n http://example.org

The registry in the webbrowser module is used for the case if you use Python on some non-mainstream platform which does not have OS-level infrastructure for running default browser or settings are empty. I.e. it is not Windows or macOS and does not support OpenDesktop and Posix specifications, and BROWSER is not set. If you have such marginal system and use marginal browser on it, it is worth to spend some time for setting BROWSER or configuring www-browser, x-www-browser, xdg-open, etc.
History
Date User Action Args
2020-11-14 20:00:35serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, python-dev, saiansh2525
2020-11-14 20:00:35serhiy.storchakasetmessageid: <1605384035.69.0.790552044897.issue42330@roundup.psfhosted.org>
2020-11-14 20:00:35serhiy.storchakalinkissue42330 messages
2020-11-14 20:00:35serhiy.storchakacreate