Re: [Python-Dev] A Friendly IDLE

Terry Reedy <[email protected]>
Newsgroups gmane.comp.python.idle
Message-ID <[email protected]>
On 4/10/2014 4:18 AM, Tal Einat wrote:
> On Thu, Apr 10, 2014 at 12:42 AM, Terry Reedy <[email protected]> wrote:
>> On 4/9/2014 12:25 AM, [email protected] wrote:

>>>      In Python Shell Save & Save As menus are enable and using them we
>>>      can save shell text as python script (.py) that never executes again
>>>      on IDLE. I recommends to either disable this option or save shell
>>>      text as plain text. I made a little try to disable this and succeed.
>>
>> We will not disable being able to save the shell window.
>> http://bugs.python.org/issue11838 is about saving in runnable form.
>
> If IDLE saves the shell history to a file with a .py extension by
> default, that is indeed confusing. It is useful to be able to save the
> history to a file, but it shouldn't have a .py extension.

I agree: if shell window is saved as is, as logfile, as at present, the 
default should be .txt. #21140 is about changing default for Output 
Window; same method will work shell. Issue above is really about adding 
a second save option.

-- 
Terry Jan Reedy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.