Levi Cameron added the comment:

A less exotic use case than oberstet's: Converting code from python 2 -> 3 and 
trying to maintain python 2 behaviour of returning all strings as bytes rather 
than unicode strings.

obsertet's solution works but is very much tied to the current implementation.

----------
nosy: +Levi Cameron

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

Reply via email to