[issue21140] Idle: saving Shell or an OutputWindow should default to .txt
Terry J. Reedy
report at bugs.python.org
Fri Feb 12 17:28:51 EST 2016
Terry J. Reedy added the comment:
In #11830 I suggested that Shell should be added to this issue. #26327 does the same, as the prompt and output are not code.
At least in 3.x, these mixed code and text files should be encoded utf-8 (which is the same as ascii for all ascii files), as code files are (at least by default). The encoding search and determination in IDBinding.py is a bit baroque. The local encoding should not ever be used for 3.x code.
If we do something with #11838 (save runnable code from Shell), the default should then revert to .py. I don't want a patch here to make this excessively difficult.
----------
title: Idle: saving an OutputWindow should default to .txt -> Idle: saving Shell or an OutputWindow should default to .txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21140>
_______________________________________
More information about the Python-bugs-list
mailing list