New submission from Xiang Zhang: In resize_copy we don't need to PyUnicode_READY(unicode) since when it's not PyUnicode_WCHAR_KIND it should be ready.
In unicode_char, PyUnicode_1BYTE_KIND is handled by get_latin1_char. ---------- components: Interpreter Core files: unicode_char_and_resize_copy.patch keywords: patch messages: 278379 nosy: haypo, serhiy.storchaka, xiang.zhang priority: normal severity: normal stage: patch review status: open title: Remove uncessary checks in unicode_char and resize_copy type: enhancement versions: Python 3.7 Added file: http://bugs.python.org/file45039/unicode_char_and_resize_copy.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28400> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com