]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
In release mode, PyUnicode_InternInPlace() does nothing if the input is NULL or
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 00:01:52 +0000 (02:01 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 00:01:52 +0000 (02:01 +0200)
commit4fae54cb0ee1f8b9959025fd3e75795e4c634a0f
tree4a8814cd491ee50ea350d756e2bce42b07e67d11
parent23e56682142e0c7bd805bbc736e6ac22acf38550
In release mode, PyUnicode_InternInPlace() does nothing if the input is NULL or
not a unicode, instead of failing with a fatal error.

Use assertions in debug mode (provide better error messages).
Objects/unicodeobject.c