]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
unicode_fromascii() doesn't check string content twice in debug mode
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 11 Dec 2011 20:54:30 +0000 (21:54 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 11 Dec 2011 20:54:30 +0000 (21:54 +0100)
commite6b2d4407a120e62cf3f658d46dc5f8f6785977d
treef452911f4bab668834108680577d3b792886ffa3
parenta1d12bb1197d9335fcb62aad7fb0df56098197ac
unicode_fromascii() doesn't check string content twice in debug mode

_PyUnicode_CheckConsistency() also checks string content.
Objects/unicodeobject.c