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 serhiy.storchaka
Recipients ezio.melotti, nnnnnn, serhiy.storchaka, vstinner
Date 2016-09-02.11:37:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472816262.0.0.280428190646.issue27938@psf.upfronthosting.co.za>
In-reply-to
Content
See also get_standard_encoding() in Python/codecs.c. I suppose it is faster.

UTF-32 is rarely used as external encoding, but it is still used as internal encoding in some programming languages and libraries (e.g. wchar_t* in C and std::wstring in C++ on Linux). The codec itself is very fast. I would add fast path all utf encodings (except utf-7).
History
Date User Action Args
2016-09-02 11:37:42serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, nnnnnn, ezio.melotti
2016-09-02 11:37:42serhiy.storchakasetmessageid: <1472816262.0.0.280428190646.issue27938@psf.upfronthosting.co.za>
2016-09-02 11:37:41serhiy.storchakalinkissue27938 messages
2016-09-02 11:37:41serhiy.storchakacreate