[docs] Omission in webbrowser documentation

Sandro Tosi sandro.tosi at gmail.com
Sat Mar 31 17:50:18 CEST 2012


Hello Jonathan,
thanks for your email

On Mon, Mar 19, 2012 at 18:10, Jonathan Eunice
<jonathan.eunice at gmail.com> wrote:
> http://docs.python.org/library/webbrowser.html (currently for 2.7.2)
> contains a table giving supported browser names. On Mac OS X
> at least,  the string "safari" does indeed work, e.g.:
>
> webbrowser.get("safari").open("http://cnn.com")
>
> Yet "safari" does not appear in the table.

Indeed, that has been fixed with:

http://hg.python.org/cpython/rev/9411b7268cf5
http://hg.python.org/cpython/rev/722ce1be9eeb
http://hg.python.org/cpython/rev/a51764ed57a2

> Interestingly, Google Chrome does not appear to be readily nameable/
> explicitly launchable from this module. But that's a bug for another
> team....

This was already addressed in python 3.3:
http://docs.python.org/dev/library/webbrowser.html

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


More information about the docs mailing list