Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20875

Re: webbrowser.open always opens up Safari on Lion

Date 2012-02-26 18:04 +1100
From Cameron Simpson <cs@zip.com.au>
Subject Re: webbrowser.open always opens up Safari on Lion
References <m1ipiuf6z4.fsf@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.168.1330240167.3037.python-list@python.org> (permalink)

Show all headers | View raw


On 26Feb2012 14:23, Leo <sdl.web@gmail.com> wrote:
| On 2012-02-26 11:36 +0800, Steven D'Aprano wrote:
| > What part of this do you think is the bug, and why? What part of the 
| > behaviour actually experienced contradicts the documented behaviour of 
| > webbrowser.open()?
| >
| > http://docs.python.org/library/webbrowser.html
| 
| If you have the default browser set to Chrome, it still opens up Safari.

On the suppostion that "the default browser" is actually multiple
settings, one for each of several URL (URI?) schemes, what do these two
shell commands do for you? From a shell prompt in a Terminal:

  open file://localhost/nonexistingfile
and 
  open http://www.python.org/

Do they both open Chome for you?
-- 
Cameron Simpson <cs@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

DRM doesn't inconvenience pirates ¿ indeed, over time it trains
law-abiding users to become pirates out of sheer frustration.
- Charles Stross

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

webbrowser.open always opens up Safari on Lion Leo <sdl.web@gmail.com> - 2012-02-26 09:33 +0800
  Re: webbrowser.open always opens up Safari on Lion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-26 03:36 +0000
    Re: webbrowser.open always opens up Safari on Lion Leo <sdl.web@gmail.com> - 2012-02-26 14:23 +0800
      Re: webbrowser.open always opens up Safari on Lion Cameron Simpson <cs@zip.com.au> - 2012-02-26 18:04 +1100
        Re: webbrowser.open always opens up Safari on Lion Leo <sdl.web@gmail.com> - 2012-02-26 15:29 +0800
      Re: webbrowser.open always opens up Safari on Lion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-26 07:12 +0000

csiph-web