]> granicus.if.org Git - python/commit
_PyUnicode_Ready() cannot be used on ready strings anymore
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 29 Sep 2011 17:43:17 +0000 (19:43 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 29 Sep 2011 17:43:17 +0000 (19:43 +0200)
commitd8f6510accf000365b8953facc8fbdc5f72d7016
treeb1dd0c8d213ae818f92dd883a1b67182a092c6e2
parentbc8b81bc4e28f954aa7139bec946808267790080
_PyUnicode_Ready() cannot be used on ready strings anymore

 * Change its prototype: PyObject* instead of PyUnicodeoObject*.
 * Remove an old assertion, the result of PyUnicode_READY (_PyUnicode_Ready)
   must be checked instead
Include/unicodeobject.h
Objects/unicodeobject.c