Skip to content
Snippets Groups Projects
Unverified Commit b9b70dd4 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

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



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

Co-authored-by: default avatarTerry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 06fc2491)

Co-authored-by: default avatarErlend Egeberg Aasland <erlend.aasland@protonmail.com>
parent 196523f3
Branches
Tags
No related merge requests found
...@@ -3,6 +3,8 @@ after 3.10.0 until 3.10.10? ...@@ -3,6 +3,8 @@ after 3.10.0 until 3.10.10?
Released 2023-04-03? Released 2023-04-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 bpo-28950: Apply IDLE syntax highlighting to `.pyi` files. Add util.py
for common components. Patch by Alex Waygood and Terry Jan Reedy. for common components. Patch by Alex Waygood and Terry Jan Reedy.
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<key>CFBundleTypeExtensions</key> <key>CFBundleTypeExtensions</key>
<array> <array>
<string>py</string> <string>py</string>
<string>pyi</string>
<string>pyw</string> <string>pyw</string>
</array> </array>
<key>CFBundleTypeIconFile</key> <key>CFBundleTypeIconFile</key>
......
Add .pyi as a recognized extension for IDLE on macOS. This allows opening
stub files by double clicking on them in the Finder.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment