]> granicus.if.org Git - python/commit
Add a BufferedIncrementalEncoder class that can be used for implementing
authorWalter Dörwald <walter@livinglogic.de>
Fri, 14 Apr 2006 18:25:39 +0000 (18:25 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Fri, 14 Apr 2006 18:25:39 +0000 (18:25 +0000)
commit78a0be6ab373680335e12cb76b3d811afbae32d0
tree2d6e525b7c7abd9ba026eea52a07348f3daa8fa5
parenta40cf31de67c51bae91a897bd007fa36d6d5daf9
Add a BufferedIncrementalEncoder class that can be used for implementing
an incremental encoder that must retain part of the data between calls
to the encode() method.

Fix the incremental encoder and decoder for the IDNA encoding.

This closes SF patch #1453235.
Lib/codecs.py
Lib/encodings/idna.py
Lib/test/test_codecs.py