py.user added the comment:

R. David Murray wrote:
"Is there a reason you are choosing not to use the new API?"

My program is for Python 3.x. I need to decode wild headers to pretty unicode 
strings. Now, I do it by decode_header() and try...except for AttributeError, 
since a unicode string has no .decode() method.

I don't know what is "new API", but I guess it's not compatible with Python 3.0.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22833>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to