Raymond Hettinger added the comment:
Can you say which version of Tk was in use
(it should be in the About IDLE display) and on what platform?
I am using ActiveTcl8.5.15.1 and a latest Python for Macs taken from the
python.org download page. I'm running OS X 10.9.5.
--
Ned Deily added the comment:
Thanks, Raymond. Upon further investigation, I think you are running into a
user-wide behavior of OS X rather than specifically a Tk or IDLE issue. By
tradition and by default, OS X tries to hide file extensions in file Open or
Save dialogs; this dates back to
Terry J. Reedy added the comment:
I agree that having .py not visible but written would be obnoxious. Hoever,
without more information, I am inclined to close this as a 3rd parth (OS)
issue. Saimadhav, can you quickly try Save As with x.py on Linux?
--
nosy: +sahutd
Terry J. Reedy added the comment:
On Win 7, I also see x.py in the save dialog, both 2.7 and 3.4 as installed.
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21603
___
New submission from Raymond Hettinger:
In IDLE, edit and save a file foo.py.
Then choose File SaveAs.
The dialog box only shows foo, not foo.py
which is irritating when renaming a file or saving a variant of a file.
--
components: IDLE
messages: 219338
nosy: rhettinger
priority: normal
Ned Deily added the comment:
There are known differences among the various Tk implementations with regard to
how file extensions are handled in Tk file dialogs, like IDLE uses; see
Issue4832. Can you say which version of Tk was in use (it should be in the
About IDLE display) and on what