
report at bugs
Aug 8, 2012, 12:30 AM
Post #1 of 3
(100 views)
Permalink
|
|
[issue15588] quopri: encodestring and decodestring handle bytes, not strings
|
|
New submission from patrick vrijlandt: quopri.py's functions encodestring and decodestring are documented to handle strings; and this is clearly suggested by their name. However, these functions accept and return bytes, not strings. This should be reflected in the documentation. Even better: deprecate these functions and introduce new ones with behaviour as suggested by their names: encode_string, encode_bytes etc. ---------- assignee: docs [at] pytho components: Documentation, Library (Lib) messages: 167672 nosy: docs [at] pytho, patrick.vrijlandt priority: normal severity: normal status: open title: quopri: encodestring and decodestring handle bytes, not strings type: behavior versions: Python 3.2 _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue15588> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|