Antoine Pitrou <pit...@free.fr> added the comment: Regardless of the various arguments, I think it is too late to break compatibility again, by disallowing bytes input, or changing the output type. What we could do is allow str arguments to a2b_ functions, with the restriction that the argument must not contain non-ASCII characters.
(Please note that the "a" is for ASCII; otherwise it would be "u" for Unicode :-)) ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9996> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com