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 blkserene
Recipients blkserene, epicfaace, ezio.melotti, methane, vstinner
Date 2019-02-25.04:36:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551069402.72.0.819604837698.issue35551@roundup.psfhosted.org>
In-reply-to
Content
I suppose that mac_centeuro can be removed since it is identical to mac_latin2, and there are already some aliases for mac_latin2. Then, mac_centeuro can be added as an alias for mac_latin2.

I'm not sure about why latin_1 and iso8859_1 are both supported (they are identical). The doc says:

 "CPython implementation detail: Some common encodings can bypass the codecs lookup machinery to improve performance. These optimization opportunities are only recognized by CPython for a limited set of (case insensitive) aliases: utf-8, utf8, latin-1, latin1, iso-8859-1, iso8859-1, mbcs (Windows only), ascii, us-ascii, utf-16, utf16, utf-32, utf32, and the same using underscores instead of dashes. Using alternative aliases for these encodings may result in slower execution."

Also not sure whether this would matter or not.
History
Date User Action Args
2019-02-25 04:36:42blkserenesetrecipients: + blkserene, vstinner, ezio.melotti, methane, epicfaace
2019-02-25 04:36:42blkserenesetmessageid: <1551069402.72.0.819604837698.issue35551@roundup.psfhosted.org>
2019-02-25 04:36:42blkserenelinkissue35551 messages
2019-02-25 04:36:42blkserenecreate