]> granicus.if.org Git - python/commit
Issue #28510: Clean up decoding error handlers.
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 23 Oct 2016 06:44:50 +0000 (09:44 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 23 Oct 2016 06:44:50 +0000 (09:44 +0300)
commitcb33a01bbc933415efba1c5930ebd9237545f48a
treebb1366a2cee87b2737c54de7439620bde2e569b6
parent523c449ca0651ce2d06129671fe18d49946bee99
Issue #28510: Clean up decoding error handlers.

Since PyUnicodeDecodeError_GetObject() always returns bytes, following
PyBytes_AsString() can be replaced with PyBytes_AS_STRING().
Python/codecs.c