]> granicus.if.org Git - python/commit
Optimize unicode_subtype_new(): don't encode to wchar_t and decode from wchar_t
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 1 Oct 2011 14:16:43 +0000 (16:16 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 1 Oct 2011 14:16:43 +0000 (16:16 +0200)
commit07ac3ebd7ba6b42ba1adb07ec6075eb916d167b1
tree5318d1d3c233f80d486690dc242c3c365ef3cbaa
parente90fe6a8f4a6cc6504387a77720ef7d1316f8086
Optimize unicode_subtype_new(): don't encode to wchar_t and decode from wchar_t

Rewrite unicode_subtype_new(): allocate directly the right type.
Lib/test/test_unicode.py
Objects/unicodeobject.c