[issue15509] webbrowser.open sometimes passes zero-length argument to the browser.

2012-09-03 Thread R. David Murray
R. David Murray added the comment: Given the logic of webbrowser, I think Anton's patch is correct. The null strings are produced by the somewhat twisted logic of UnixBrowser.open, and the problem doesn't apply to the other cases of argument list generation. (In those other cases, getting nu

[issue15509] webbrowser.open sometimes passes zero-length argument to the browser.

2012-08-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: Better to fix producer of empty lines than filter those ones. Keep in mind: there are several places there args list generated, probably you fix not all error sources. -- nosy: +asvetlov ___ Python tracker

[issue15509] webbrowser.open sometimes passes zero-length argument to the browser.

2012-08-06 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15509] webbrowser.open sometimes passes zero-length argument to the browser.

2012-08-04 Thread Anton Barkovsky
Anton Barkovsky added the comment: Added tests in #15557. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue15509] webbrowser.open sometimes passes zero-length argument to the browser.

2012-07-30 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, georg.brandl stage: -> test needed versions: +Python 2.7, Python 3.2 ___ Python tracker ___ ___

[issue15509] webbrowser.open sometimes passes zero-length argument to the browser.

2012-07-30 Thread Anton Barkovsky
Changes by Anton Barkovsky : Added file: http://bugs.python.org/file26608/webbrowser_args.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue15509] webbrowser.open sometimes passes zero-length argument to the browser.

2012-07-30 Thread Anton Barkovsky
Changes by Anton Barkovsky : Removed file: http://bugs.python.org/file26607/webbrowser_args.patch ___ Python tracker ___ ___ Python-bugs-list

[issue15509] webbrowser.open sometimes passes zero-length argument to the browser.

2012-07-30 Thread Anton Barkovsky
New submission from Anton Barkovsky: Because of the way webbrowser.UnixBrowser.open generates command-line arguments the resulting list sometimes looks like this: ['chromium', '', 'http://www.example.org/'] This seems to work fine with chromium for me but as you can see: >>> subprocess.cal