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 matrixise
Recipients eryksun, matrixise, mdk, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-02-20.12:34:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550666058.18.0.339691148767.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)

for Unix-like, os.is_executable(path) could use os.access(path, os.X_OK)
for Windows, the function would use GetBinaryTypeW.

my 2 cents.
History
Date User Action Args
2019-02-20 12:34:18matrixisesetrecipients: + matrixise, paul.moore, vstinner, tim.golden, zach.ware, eryksun, steve.dower, mdk
2019-02-20 12:34:18matrixisesetmessageid: <1550666058.18.0.339691148767.issue36021@roundup.psfhosted.org>
2019-02-20 12:34:18matrixiselinkissue36021 messages
2019-02-20 12:34:18matrixisecreate