diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-22 00:22:34 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-22 00:22:34 (GMT) |
commit | d3df8ab3779f682fc2319077c2c422acc8430c02 (patch) | |
tree | de733dd203fa83ad576e2284d3aaddf91c862d9c /Python/codecs.c | |
parent | c814a38f3f00933f78115f71db284d620f014b53 (diff) | |
download | cpython-d3df8ab3779f682fc2319077c2c422acc8430c02.zip cpython-d3df8ab3779f682fc2319077c2c422acc8430c02.tar.gz cpython-d3df8ab3779f682fc2319077c2c422acc8430c02.tar.bz2 |
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
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions