Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9e62d35e
Commit
9e62d35e
authored
May 22, 2013
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17844: Add links to encoders and decoders for bytes-to-bytes codecs.
parent
95ae9920
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
28 deletions
+29
-28
Doc/library/codecs.rst
Doc/library/codecs.rst
+27
-27
Misc/NEWS
Misc/NEWS
+2
-1
No files found.
Doc/library/codecs.rst
View file @
9e62d35e
...
...
@@ -1188,33 +1188,33 @@ particular, the following variants typically exist:
The following codecs provide bytes-to-bytes mappings.
.. tabularcolumns:: |l|L|
+--------------------+---------------------------+
|
Codec | Purpose |
+====================+===========================+
|
base64_codec | Convert operand to MIME |
|
| base64 (the result always |
|
| includes a trailing |
|
| ``'\n'``) |
+--------------------+---------------------------+
|
bz2_codec | Compress the operand |
|
| using bz2 |
+--------------------+---------------------------+
|
hex_codec | Convert operand to |
|
| hexadecimal |
|
| representation, with two |
|
| digits per byte |
+--------------------+---------------------------+
|
quopri_codec | Convert operand to MIME |
|
| quoted printable |
+--------------------+---------------------------+
|
uu_codec | Convert the operand using |
|
| uuencode |
+--------------------+---------------------------+
|
zlib_codec | Compress the operand |
|
| using gzip |
+--------------------+---------------------------+
.. tabularcolumns:: |l|L|
L|
+--------------------+---------------------------+
------------------------------+
|
Codec | Purpose |
Encoder/decoder |
+====================+===========================+
==============================+
|
base64_codec | Convert operand to MIME |
:meth:`base64.b64encode`, |
|
| base64 (the result always |
:meth:`base64.b64decode` |
|
| includes a trailing |
|
|
| ``'\n'``) |
|
+--------------------+---------------------------+
------------------------------+
|
bz2_codec | Compress the operand |
:meth:`bz2.compress`, |
|
| using bz2 |
:meth:`bz2.decompress` |
+--------------------+---------------------------+
------------------------------+
|
hex_codec | Convert operand to |
:meth:`base64.b16encode`, |
|
| hexadecimal |
:meth:`base64.b16decode` |
|
| representation, with two |
|
|
| digits per byte |
|
+--------------------+---------------------------+
------------------------------+
|
quopri_codec | Convert operand to MIME |
:meth:`quopri.encodestring`, |
|
| quoted printable |
:meth:`quopri.decodestring` |
+--------------------+---------------------------+
------------------------------+
|
uu_codec | Convert the operand using |
:meth:`uu.encode`, |
|
| uuencode |
:meth:`uu.decode` |
+--------------------+---------------------------+
------------------------------+
|
zlib_codec | Compress the operand |
:meth:`zlib.compress`, |
|
| using gzip |
:meth:`zlib.decompress` |
+--------------------+---------------------------+
------------------------------+
The following codecs provide string-to-string mappings.
...
...
Misc/NEWS
View file @
9e62d35e
...
...
@@ -42,7 +42,6 @@ IDLE
- Issue #14146: Highlight source line while debugging on Windows.
Tests
-----
...
...
@@ -51,6 +50,8 @@ Tests
Documentation
-------------
-
Issue
#
17844
:
Add
links
to
encoders
and
decoders
for
bytes
-
to
-
bytes
codecs
.
-
Issue
#
14097
:
improve
the
"introduction"
page
of
the
tutorial
.
-
Issue
#
17977
:
The
documentation
for
the
cadefault
argument
's default value
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment