New submission from Steve Dower <steve.do...@python.org>:

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.

----------
components: Windows
messages: 361989
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: Fix file association MIME type on Windows
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9

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

Reply via email to