commit | db88ae5d666723d90c9b681fe874aa0a8fb4b04a | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu Dec 01 02:15:00 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu Dec 01 02:15:00 2011 +0100 |
tree | 283491fcdf6dbd81c89b20cfae938bd55c002b32 | |
parent | 59bb0e077fa8f6942bdb0ca44ac462a58379d375 [diff] |
PyObject_Repr() ensures that the result is a ready Unicode string And PyObject_Str() and PyObject_Repr() don't make strings ready in debug mode to ensure that the caller makes the string ready before using it.