[issue12806] argparse: Hybrid help text formatter

2016-02-13 Thread Stephan Sokolow

Stephan Sokolow added the comment:

@GraylinKim:

In the interest of people like myself who wander in here via Google, would you 
mind stating, for the record, what license argparse_formatter.py is under?

--
nosy: +ssokolow

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12806>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23262] webbrowser module broken with Firefox 36+

2015-01-18 Thread Stephan Sokolow

Stephan Sokolow added the comment:

Well, then the code which chooses a backend is broken because I have xdg-open 
and, according to WinPdb, it's using the Mozilla backend.

This was my local workaround:

if os.name == 'posix' and not platform.mac_ver()[0]:
with open(os.devnull, 'wb') as nul:
subprocess.Popen(['xdg-open', request_url], stdout=nul, stderr=nul)
else:
webbrowser.open_new_tab(request_url)

(This retrofit branch hasn't yet reached the point where it'll be tested on 
Windows. I may still add another branch which calls `start` directly if it 
proves to have the same priority bug on Windows.)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23262
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23262] webbrowser module broken with Firefox 36+

2015-01-18 Thread Stephan Sokolow

Stephan Sokolow added the comment:

WinPdb = Windowed Pdb, not MS Windows Pdb.

`sudo apt-get install winpdb`

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23262
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23262] webbrowser module broken with Firefox 36+

2015-01-18 Thread Stephan Sokolow

Stephan Sokolow added the comment:

Noted. I'm not sure what my schedule will be like, but I'll try.

(I may get back to you with an answer later today or I may not within the week.)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23262
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23262] webbrowser module broken with Firefox 36+

2015-01-18 Thread Stephan Sokolow

Stephan Sokolow added the comment:

The proper solution is to prefer `start` (Windows), `open` (OSX), or `xdg-open` 
(everything else... usually but not always present) when present instead of 
calling the browser directly.

That way, you're using the same delegate to the desktop's associations system 
and let the user's preferences control new window vs. new tab behaviour on all 
OSes where it's reliably possible.

(Yes, it would guarantee that all open* functions are equivalent, but that's 
already the norm in a lot of cases... especially with Firefox where one of the 
guiding design principles is ensuring that the user retains control of their 
browsing experience.)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23262
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6671] webbrowser doesn't respect xfce default browser

2015-01-17 Thread Stephan Sokolow

Changes by Stephan Sokolow bugs_python_org.zen.ssoko...@spamgourmet.com:


--
nosy: +ssokolow

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6671
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23262] webbrowser module broken with Firefox 36+

2015-01-17 Thread Stephan Sokolow

New submission from Stephan Sokolow:

As of Firefox 36 (currently in beta channel), the -remote option has been 
removed.

https://www.mozilla.org/en-US/firefox/36.0a2/auroranotes/
https://www.mozilla.org/en-US/firefox/36.0beta/releasenotes/

As such, attempting to open http://www.example.com/ using webbrowser.open() or 
webbrowser.open_new_tab() results in File not Found tabs pointing to these 
two URLs, respectively:

file:///home/ssokolow/openURL%28http://www.example.com/%29
file:///home/ssokolow/openURL%28http://www.example.com/,new-tab%29

As I happen to have the Dead Snakes PPA set up on Lubuntu 14.04 for use with 
tox, I was able to confirm this as an issue in Python 2.7, 3.1, 3.2, 3.3, and 
3.4.

--
components: Library (Lib)
messages: 234218
nosy: ssokolow
priority: normal
severity: normal
status: open
title: webbrowser module broken with Firefox 36+
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23262
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com