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

2016-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: In my additional comment, I explored the idea of running without saving, not even to a temp file. -- ___ Python tracker ___ ___

[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), if

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

2016-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that this is a problem that needs a solution. Your post gives the justification very well. I already opened #19042 for this issue, so as is our usual policy, I am merging this duplicate into that one. Thank you for submitting a patch. To apply it, w

[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 wit