This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients eryksun, matrixise, mdk, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-02-20.14:31:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550673118.53.0.628114338441.issue36021@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2019-02-20 14:31:58vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, eryksun, steve.dower, matrixise, mdk
2019-02-20 14:31:58vstinnersetmessageid: <1550673118.53.0.628114338441.issue36021@roundup.psfhosted.org>
2019-02-20 14:31:58vstinnerlinkissue36021 messages
2019-02-20 14:31:58vstinnercreate