Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'indeed,': 0.07; 'received:edu.au': 0.07; 'bug,': 0.09; 'settings,': 0.09; 'skip:f 30': 0.13; '11:36': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:202.125.174': 0.16; 'received:202.125.174.133': 0.16; 'received:boardofstudies.nsw.edu.au': 0.16; 'received:cskk.homeip.net': 0.16; 'received:harvey.boardofstudies.nsw.edu.au': 0.16; 'received:homeip.net': 0.16; 'received:nsw.edu.au': 0.16; 'sheer': 0.16; 'trains': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; "doesn't": 0.22; 'header:In-Reply- To:1': 0.22; 'documented': 0.23; 'opens': 0.23; 'shell': 0.24; 'cc:2**0': 0.26; '"the': 0.26; 'cc:addr:python.org': 0.29; 'url:library': 0.31; 'actually': 0.31; 'header:User-Agent:1': 0.33; 'steven': 0.34; 'url:python': 0.35; 'received:au': 0.36; 'two': 0.36; 'several': 0.38; 'think': 0.38; 'open': 0.38; 'url:org': 0.39; 'browser': 0.62; 'received:202': 0.66; 'charles': 0.67; 'become': 0.69; 'cameron': 0.77; 'why?': 0.77; 'drm': 0.84; 'law-abiding': 0.84; 'pirates': 0.84; 'subject:always': 0.84; 'subject:opens': 0.91; 'leo': 0.93 Date: Sun, 26 Feb 2012 18:04:47 +1100 From: Cameron Simpson To: Leo Subject: Re: webbrowser.open always opens up Safari on Lion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1330240167 news.xs4all.nl 6891 [2001:888:2000:d::a6]:36976 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20875 On 26Feb2012 14:23, Leo 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 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