[issue19042] Idle: add option to autosave 'Untitled' edit window

2016-11-02 Thread perilbrain
perilbrain added the comment: I have signed the CA. Meantime a came across one more problem in function tabnanny(encoding issue) so I am attaching the new version of ScriptBinding.py. Summary:- def tabnanny(self, source, encoding = None): # XXX: tabnanny should work on binary

[issue19042] Idle: add option to autosave 'Untitled' edit window

2016-11-02 Thread perilbrain
perilbrain added the comment: "To run without saving" was the first idea I got, but it was difficult to pursue in first phase. After your hints I think I have achieved what you have described. I have done a few fixes(luckily in a single file ScriptBinding.py) which are giving sa

[issue28581] Allow running code without explicitly saving the file.

2016-11-01 Thread perilbrain
perilbrain added the comment: Thanks Terry, I tried searching for a similar issue but failed. Feels like signing contributor form will take a while. Meantime please feel free to tweak/improve and implement code in your way (Mine is a bit rough solution not even abiding by naming convention

[issue28581] Allow running code without explicitly saving the file.

2016-11-01 Thread perilbrain
New submission from perilbrain: Current Flow:- - If you create a new file in idle and try to run it, the editor asks to save the file. However if user presses cancel button the code is not executed. Problem:- I have been using idle for over 5 years and this behavior is quite annoying(along