[issue19424] _warnings: patch to avoid conversions from/to UTF-8

Serhiy Storchaka report at bugs.python.org
Tue Oct 29 19:53:23 CET 2013


Serhiy Storchaka added the comment:

I don't see a benefit from this patch. _PyUnicode_AsString() is very fast in most cases (because source lines are mostly ASCII only). On other hand, the patch replaces one-time _PyUnicode_AsString() by multiple less effective (even for ASCII strings) operations.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19424>
_______________________________________


More information about the Python-bugs-list mailing list