commit | 4fae54cb0ee1f8b9959025fd3e75795e4c634a0f | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 03 02:01:52 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 03 02:01:52 2011 +0200 |
tree | 4a8814cd491ee50ea350d756e2bce42b07e67d11 | |
parent | 23e56682142e0c7bd805bbc736e6ac22acf38550 [diff] |
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).