Brandon Milam added the comment:
Ok I've been able to test the new patch now and I'm not sure that os.startfile
is going to work. I've been able to get os.startfile() to open a specified
browser (>>> os.startfile("chrome.exe", "open")), however, the function does
not allow additional arguments(>>> os.startfile("chrome.exe", "open",
"www.yahoo.com")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: startfile() takes at most 2 arguments (3 given))) so not even a url
will be allowed to be specified as the code is written in the patch let alone
specifying new window or new tab. Is this an error on os.startfile's part? The
documentation for it seems to indicate that it should take multiple inputs. I
don't have much experience with C to be able to find out figure out what the
rest of your patch accomplished.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8232>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com