STINNER Victor <vstin...@redhat.com> added the comment:

> Windows has the GetBinaryTypeW function, this one is used by pywin32, maybe I 
> could develop a wrapper in os, like os.is_executable(path)

I don't think that it would detect .BAT or .VBS scripts as executable, whereas 
we don't want to execut such scripts with webbrowser.

----------

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

Reply via email to