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 steve.dower
Recipients paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-02-14.08:49:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581670182.52.0.370257427786.issue39631@roundup.psfhosted.org>
In-reply-to
Content
The installer for Windows creates file associations in Tools/msi/launcher/launcher_reg.wxs that identify ".py[w]" files as text/plain.

This is inconsistent with the mimetypes module, which uses text/x-python, and may cause some applications to assume that calling ShellExecute on a .py file will open a text editor rather than executing the script.

We should update the MIME type to text/x-python. This can be backported, as the change is in the launcher and isn't tied to the usual upgrade paths anyway.
History
Date User Action Args
2020-02-14 08:49:42steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware
2020-02-14 08:49:42steve.dowersetmessageid: <1581670182.52.0.370257427786.issue39631@roundup.psfhosted.org>
2020-02-14 08:49:42steve.dowerlinkissue39631 messages
2020-02-14 08:49:42steve.dowercreate