Le dimanche 20 septembre 2009 à 20:48 +0200, Armin Ronacher a écrit : > > What is quote_from_bytes used for when quote just calls into it? Why > did this ever become a public interface? Also once unquote and > unquote_plus are fixed, unquote_to_bytes is similarly useless, > especially because both of them perform some weird utf-8 conversion if > non-bytes are passed to them.
You should try a search in the python-dev archives. It was introduced recently, and after quite a bit of discussion I think. > I would just fix those and deprecate the explicit unquote_to_bytes and > quote_from_bytes for future versions of Python 3. > > Any comments on that? Regardless of whether the semantics would be better or not, we can't change APIs every 2 years, it will make our users furous. Regards Antoine. _______________________________________________ stdlib-sig mailing list stdlib-sig@python.org http://mail.python.org/mailman/listinfo/stdlib-sig