]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 13 Feb 2022 00:52:37 +0000 (19:52 -0500)
committerGitHub <noreply@github.com>
Sun, 13 Feb 2022 00:52:37 +0000 (19:52 -0500)
commit9fabcfbe68ff81ef5f17f86a93daf9cce9d83876
tree85e79df4004c90260ec0a46ca3ec8a128abfe6e3
parentb7a65c939c93e7910abc8c9d4a129ff385714824
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>
(cherry picked from commit 50cf4991c49e19f917305dd7b9c71085c11edddb)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/idlelib/NEWS.txt
Lib/idlelib/README.txt
Lib/idlelib/editor.py
Lib/idlelib/idle_test/example_noext [new file with mode: 0644]
Lib/idlelib/idle_test/example_stub.pyi [new file with mode: 0644]
Lib/idlelib/idle_test/test_iomenu.py
Lib/idlelib/idle_test/test_util.py [new file with mode: 0644]
Lib/idlelib/iomenu.py
Lib/idlelib/util.py [new file with mode: 0644]
Misc/NEWS.d/next/IDLE/2021-10-14-16-55-03.bpo-45447.FhiH5P.rst [new file with mode: 0644]