commit | d3df8ab3779f682fc2319077c2c422acc8430c02 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Nov 22 01:22:34 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Nov 22 01:22:34 2011 +0100 |
tree | de733dd203fa83ad576e2284d3aaddf91c862d9c | |
parent | c814a38f3f00933f78115f71db284d620f014b53 [diff] |
Replace _PyUnicode_READY_REPLACE() and _PyUnicode_ReadyReplace() with unicode_ready() * unicode_ready() has a simpler API * try to reuse unicode_empty and latin1_char singleton everywhere * Fix a reference leak in _PyUnicode_TranslateCharmap() * PyUnicode_InternInPlace() doesn't try to get a singleton anymore, to avoid having to handle a failure