This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Saimadhav.Heblikar, rhettinger, terry.reedy
Date 2016-02-12.22:28:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455316131.69.0.684264170003.issue21140@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-02-12 22:28:51terry.reedysetrecipients: + terry.reedy, rhettinger, Saimadhav.Heblikar
2016-02-12 22:28:51terry.reedysetmessageid: <1455316131.69.0.684264170003.issue21140@psf.upfronthosting.co.za>
2016-02-12 22:28:51terry.reedylinkissue21140 messages
2016-02-12 22:28:51terry.reedycreate