diff options
author | Barry Warsaw <barry@python.org> | 2002-09-28 17:47:56 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-09-28 17:47:56 +0000 |
commit | 5932c9bedd959eb8a25b8d3ad40907142cbaa4f4 (patch) | |
tree | 052b728647b84c14b209a75b773c14f8bf0d918f /Python/sysmodule.c | |
parent | 176916a98928c1828acd997f5bc11863f0d36c71 (diff) | |
download | cpython-git-5932c9bedd959eb8a25b8d3ad40907142cbaa4f4.tar.gz |
Added a feature suggested by Martin v Loewis, where a new header
encoding flag SHORTEST means to return the shortest encoding between
base64 and qp. This is used for the header_enc for utf-8. SHORTEST
isn't legal for body_enc.
Also some code cleanup:
- use True/False everywhere
- use == instead of `is' in a few places
- added _unicode() and make consistent the "is unicode" checks
- update docstrings
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions