Skip to content

Commit

Permalink
pythongh-65802: IDLE - explain SaveAs and extensions (python#95690)
Browse files Browse the repository at this point in the history
File name extensions may or may not be shown for the current name
and are added in an OS-dependent manner if not given for the new
name.
  • Loading branch information
terryjreedy authored Aug 5, 2022
1 parent 87154d8 commit 9890f86
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Doc/library/idle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,14 @@ Save

Save As...
Save the current window with a Save As dialog. The file saved becomes the
new associated file for the window.
new associated file for the window. (If your file namager is set to hide
extensions, the current extension will be omitted in the file name box.
If the new filename has no '.', '.py' and .'txt' will be added for Python
and text files, except that on macOS Aqua,'.py' is added for all files.)

Save Copy As...
Save the current window to different file without changing the associated
file.
file. (See Save As note above about filename extensions.)

Print Window
Print the current window to the default printer.
Expand Down
2 changes: 2 additions & 0 deletions Lib/idlelib/NEWS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Released on 2022-10-03
=========================


gh-65802: Document handling of extensions in Save As dialogs.

gh-95191: Include prompts when saving Shell (interactive input/output).

gh-95511: Fix the Shell context menu copy-with-prompts bug of copying
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document handling of extensions in Save As dialogs.

0 comments on commit 9890f86

Please sign in to comment.