[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 2a37f013ec81099a6156160ce66803b2609bb7f4 by Miss Islington (bot) in branch '3.7': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) https://github.com/python/cpython/commit/2a37f013ec81099a6156160ce66803b2609bb7f4

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +9978 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8c281ed403fd915284d5bba2405d7c47f8195066 by Serhiy Storchaka (Zhiming Wang) in branch 'master': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693)

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-07-08 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.6 ___ Python tracker ___

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-07-08 Thread miss-islington
miss-islington added the comment: New changeset a410f9f614b62cd7df220186d081ffd73786be91 by Miss Islington (bot) in branch '3.7': bpo-31014: Fix the webbrowser module. (GH-7267) https://github.com/python/cpython/commit/a410f9f614b62cd7df220186d081ffd73786be91 -- nosy:

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-07-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +7738 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-07-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 25b804a9c21c735ce322877f105ebab2539ccfc1 by Serhiy Storchaka in branch 'master': bpo-31014: Fix the webbrowser module. (GH-7267) https://github.com/python/cpython/commit/25b804a9c21c735ce322877f105ebab2539ccfc1 --

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 7267 is based on PR 2689, but adds two tests that cover both cases of using webbrowser._synthesize(). -- versions: +Python 2.7, Python 3.6, Python 3.8 ___ Python tracker

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6895 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread Nick Coghlan
Change by Nick Coghlan : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: I'm surprised that test_webbrowser pass on my Fedora 28, but it fails for Greg Walters: https://bugs.python.org/issue33693#msg318163 Some tests are skipped depending on the OS? Maybe we should mock more things, or something else, to get a better code

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: bpo-33693 has been marked as a duplicate of this issue. It seems to be a regression caused by bpo-24241. -- nosy: +vstinner ___ Python tracker

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2017-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This would be not easy. Since the BROWSER environment variable should be patched before the first use the webbrowser module, the test should import webbrowser in a separate process (you can use the test.support.script_helper.assert_python_ok() helper).

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2017-07-24 Thread John Still
John Still added the comment: Ok I understand what you mean. I think the only conditions for test failure are (A) $BROWSER is set and (B) $BROWSER is set to an actual executable that should be caught by ``register_standard_browsers`` prior to execution reaching the last if clause of

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2017-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: These tests are not failing on our buildbots and developer's computers. Seems they are failing only in special environment. This path of execution is not tested in more common environments, therefore possible regression couldn't be caught until somebody run

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2017-07-24 Thread John Still
John Still added the comment: What would a new test be testing? I only found this behaviour because two existing tests were failing (with the PR they pass, of course). I'm happy to write a test, I'm just not sure what the test should be testing that the existing tests don't already test.

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2017-07-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is it possible to write a test? -- nosy: +daves, ncoghlan, serhiy.storchaka ___ Python tracker ___

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2017-07-24 Thread John Still
New submission from John Still: The function `register` of the `webbrowser` module was updated a little while back to use the newish keyword-only argument syntax; however, the function `_synthesize` (also in `webbrowser`) is still using the outdated positional arguments only calling