diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-06-12 16:40:17 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-06-12 16:40:17 (GMT) |
commit | 42748a8d6dc121d5311668a0fe005c277b7d0220 (patch) | |
tree | 7c463d2780b8e6683e21848efac677f19daa30cb /Doc | |
parent | 6e8fcae38f119b95be0c707b7a44db209c485c84 (diff) | |
download | cpython-42748a8d6dc121d5311668a0fe005c277b7d0220.zip cpython-42748a8d6dc121d5311668a0fe005c277b7d0220.tar.gz cpython-42748a8d6dc121d5311668a0fe005c277b7d0220.tar.bz2 |
Rip out all codecs that can't work in a unicode/bytes world:
base64, uu, zlib, rot_13, hex, quopri, bz2, string_escape.
However codecs.escape_encode() and codecs.escape_decode()
still exist, as they are used for pickling str8 objects
(so those two functions can go, when the str8 type is removed).
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libcodecs.tex | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/Doc/lib/libcodecs.tex b/Doc/lib/libcodecs.tex index a3399fb..ee141d9 100644 --- a/Doc/lib/libcodecs.tex +++ b/Doc/lib/libcodecs.tex @@ -1214,22 +1214,6 @@ listed as operand type in the table. \begin{tableiv}{l|l|l|l}{textrm}{Codec}{Aliases}{Operand type}{Purpose} -\lineiv{base64_codec} - {base64, base-64} - {byte string} - {Convert operand to MIME base64} - -\lineiv{bz2_codec} - {bz2} - {byte string} - {Compress the operand using bz2} - -\lineiv{hex_codec} - {hex} - {byte string} - {Convert operand to hexadecimal representation, with two - digits per byte} - \lineiv{idna} {} {Unicode string} @@ -1251,34 +1235,18 @@ listed as operand type in the table. {Unicode string} {Implements \rfc{3492}} -\lineiv{quopri_codec} - {quopri, quoted-printable, quotedprintable} - {byte string} - {Convert operand to MIME quoted printable} - \lineiv{raw_unicode_escape} {} {Unicode string} {Produce a string that is suitable as raw Unicode literal in Python source code} -\lineiv{rot_13} - {rot13} - {Unicode string} - {Returns the Caesar-cypher encryption of the operand} - -\lineiv{string_escape} - {} - {byte string} - {Produce a string that is suitable as string literal in - Python source code} - \lineiv{undefined} {} {any} {Raise an exception for all conversions. Can be used as the system encoding if no automatic coercion between byte and - Unicode strings is desired.} + Unicode strings is desired.} \lineiv{unicode_escape} {} @@ -1290,17 +1258,6 @@ listed as operand type in the table. {} {Unicode string} {Return the internal representation of the operand} - -\lineiv{uu_codec} - {uu} - {byte string} - {Convert the operand using uuencode} - -\lineiv{zlib_codec} - {zip, zlib} - {byte string} - {Compress the operand using gzip} - \end{tableiv} \versionadded[The \code{idna} and \code{punycode} encodings]{2.3} |