bpo-45447: Add syntax highlighting for .pyi files in IDLE (GH-28950)

Also add .pyi to the python extensions in the "File-open" and "File-save" dialogues.
Add util.py to contain objects that are used in multiple idlelib modules
and have no dependencies on any of them.

Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Alex Waygood 2022-02-13 00:04:48 +00:00 committed by GitHub
parent b70690bb37
commit 50cf4991c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 83 additions and 3 deletions

View file

@ -228,6 +228,12 @@ fractions
(Contributed by Mark Dickinson in :issue:`44547`.)
IDLE and idlelib
----------------
* IDLE now applies syntax highlighting to `.pyi` files. (Contributed by Alex
Waygood and Terry Jan Reedy in :issue:`45447`.)
inspect
-------
* Add :func:`inspect.getmembers_static`: return all members without