[issue21603] IDLE: Document SaveAs extension display on Mac

Terry J. Reedy report at bugs.python.org
Sat Nov 10 20:29:17 EST 2018


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I should have mentioned before, but forgot, that Windows, by default, hides file name extensions in File Explorer.  (The 'type' column supposedly makes them redundant.)  If they are hidden, they are also hidden in the Save As name box, as described for MacOS.  So I think this is worth a sentence in the doc.

After 4 years, I want to close this with or without an edit (for this and/or #4832).  The current SaveAs entry is

   Save the current window with a Save As dialog.  The file saved becomes the
   new associated file for the window.

(Ned has previously said leave this alone for both issues.)  Proposal:

Save the contents of the current window with a Save As dialog.  (If your file manager 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.  (On MacOS Aqua, '.py' is added for any type.)  The file saved becomes the new associated file for the window.

Opinions?

----------
nosy: +taleinat -Saimadhav.Heblikar

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue21603>
_______________________________________


More information about the Python-bugs-list mailing list