]> granicus.if.org Git - python/commit
Cleanup PyUnicode_Append()
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 14 Apr 2013 17:13:03 +0000 (19:13 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 14 Apr 2013 17:13:03 +0000 (19:13 +0200)
commitf033510fee836a98500fb87407409d0ad1a4d4d7
treef13094255278beffae92c9d8e23253bf89001bd9
parent4560f9c63f091617b79950b26260f7715693de5e
Cleanup PyUnicode_Append()

 * Check also that right is a Unicode object
 * call directly resize_compact() instead of unicode_resize() for a more
   explicit error handling, and to avoid testing some properties twice
   (ex: unicode_modifiable())
Objects/unicodeobject.c