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
Terry J. Reedy added the comment:
Looks promising. The second half of a patch would be to fill in the missing
lines.
Before I review, please sign a CA. The online form at
https://www.python.org/psf/contrib/contrib-form/ takes about 5 minutes.
--
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 satisfactory
Terry J. Reedy added the comment:
Duplicate #28581 has a autosave patch in the initial post, which points out
that "We are often required to copy code from various sites say some tutorial
or code samples which are good for one time usage."
It prompted me to think more about the idea to 'add a
Terry J. Reedy added the comment:
#1326830 ('python scratchpad', rejected) was about same issue, though less
specific about the implementation.
A different solution to the multiline statement problem would be to separate
Shell into the read-only history (with prompts in a sidebar, so normal 4
Changes by irdb dalba.w...@gmail.com:
--
nosy: +irdb
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19042
___
___
Python-bugs-list mailing list
New submission from Terry J. Reedy:
The General tab of the IDLE Preferences dialog has this section with two
radiobuttons:
Autosave Preferences
At Start of Run (F5) () Prompt to Save () No Prompt
The latter option actually means No prompt unless the window is a new window
('Untitled')
Bruce Sherwood added the comment:
Very nice, Terry. Good point about positive vs. negative specifications. I
think maybe your Prompt to Save versus Autosave is the best scheme, because
one is specifying whether or not to do something active (namely, put up a
save dialog).
--
nosy: