]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix fixup() for unchanged unicode subtype
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 11 Dec 2011 21:22:39 +0000 (22:22 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 11 Dec 2011 21:22:39 +0000 (22:22 +0100)
commiteaab604829b5b436623b802b1da933b4c49b630e
treeb6d95dc22ce1cbb7d0567b77c38bb54912e6b50b
parente6b2d4407a120e62cf3f658d46dc5f8f6785977d
Fix fixup() for unchanged unicode subtype

If maxchar_new == 0 and self is a unicode subtype, return u instead of duplicating u.
Objects/unicodeobject.c