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 vstinner
Recipients scop, vstinner
Date 2016-09-02.11:00:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472814033.92.0.238003843243.issue27915@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like the email module has a special usage of the "us-ascii" encoding name. It's not just an alias to "ascii". So I proposed a patch implementing the fast-path differently in the Python builtin codecs: see my issue #27938.

The xml.etree module has special cases for the "us-ascii" encoding name, but not for "ascii". See the ElementTree.write() method. I proposed to also skip the XML declaration by default when "ascii" encoding is used: issue #27940.
History
Date User Action Args
2016-09-02 11:00:33vstinnersetrecipients: + vstinner, scop
2016-09-02 11:00:33vstinnersetmessageid: <1472814033.92.0.238003843243.issue27915@psf.upfronthosting.co.za>
2016-09-02 11:00:33vstinnerlinkissue27915 messages
2016-09-02 11:00:33vstinnercreate