Ori Avtalion <o...@avtalion.name> added the comment:

Ignoring the custom utf-8/latin-8 conversion functions, the actual checking if 
a codec exists is done in Python/codecs.c's PyCodec_Decode.

Is that where I should move the aforementioned optimization to?
Is it safe to assume that the decoded object is always a string/bytestring?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7961>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to