[New-bugs-announce] [issue28400] Remove uncessary checks in unicode_char and resize_copy
Xiang Zhang
report at bugs.python.org
Sun Oct 9 13:21:42 EDT 2016
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 <report at bugs.python.org>
<http://bugs.python.org/issue28400>
_______________________________________
More information about the New-bugs-announce
mailing list