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@python
components: Documentation, Library (Lib)
messages: 167672
nosy: docs@python, 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue15588>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to