summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-10-09 11:10:05 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-10-09 11:10:05 (GMT)
commit6bd525b656f75c9752d39d9c4be1e1b29fa67cdb (patch)
tree645853491c0ae3addc1f578dfe0b5345b3cd7b0f /configure
parentce179bf6baed91ba84cc3ff647e96287c3b8e2f2 (diff)
downloadcpython-6bd525b656f75c9752d39d9c4be1e1b29fa67cdb.zip
cpython-6bd525b656f75c9752d39d9c4be1e1b29fa67cdb.tar.gz
cpython-6bd525b656f75c9752d39d9c4be1e1b29fa67cdb.tar.bz2
Optimize error handlers of ASCII and Latin1 encoders when the replacement
string is pure ASCII: use _PyBytesWriter_WriteBytes(), don't check individual character. Cleanup unicode_encode_ucs1(): * Rename repunicode to rep * Clear rep object on error * Factorize code between bytes and unicode path
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions