gh-89610: Add .pyi as a recognised extension for IDLE on macOS (#95393)

This allows opening stub files by double clicking on them in the Finder.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Erlend Egeberg Aasland 2022-07-29 01:04:26 +02:00 committed by GitHub
parent edb72047f3
commit 06fc249135
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View file

@ -3,6 +3,8 @@ What's New in IDLE 3.11.0
Released on 2022-10-03
=========================
gh-89610: Add .pyi as a recognized extension for IDLE on macOS. This allows
opening stub files by double clicking on them in the Finder.
bpo-28950: Apply IDLE syntax highlighting to `.pyi` files. Add util.py
for common components. Patch by Alex Waygood and Terry Jan Reedy.

View file

@ -10,6 +10,7 @@
<key>CFBundleTypeExtensions</key>
<array>
<string>py</string>
<string>pyi</string>
<string>pyw</string>
</array>
<key>CFBundleTypeIconFile</key>

View file

@ -0,0 +1,2 @@
Add .pyi as a recognized extension for IDLE on macOS. This allows opening
stub files by double clicking on them in the Finder.