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.

Title: doesn't properly handle BROWSER env var
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.5
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, phd
Priority: normal Keywords: patch

Created on 2008-04-21 20:16 by phd, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit phd, 2008-11-15 15:42
Messages (3)
msg65665 - (view) Author: Oleg Broytman (phd) * Date: 2008-04-21 20:16 ignores browsers listed in the BROWSER environment
variables if it doesn't recognize the browser. For example, if I add
"links2" to the BROWSER env var, ignores it.

It is because _synthesize() doesn't know how to handle an unknown
browser. The attached patch checks if _synthesize() doesn't register a
browser and registers a GenericBrowser.

Another approach would be to register GenericBrowser in _synthesize().
msg75914 - (view) Author: Oleg Broytman (phd) * Date: 2008-11-15 15:42
Update the patch.
msg92235 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-09-04 06:59
Thanks, applied in r74643.
Date User Action Args
2022-04-11 14:56:33adminsetgithub: 46918
2009-09-04 06:59:29georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg92235

resolution: accepted
2008-11-15 15:42:37phdsetfiles: -
2008-11-15 15:42:22phdsetfiles: +
messages: + msg75914
2008-04-21 20:16:09phdcreate