Martin v. Löwis <mar...@v.loewis.de> added the comment:

-1 on this patch; I think any change must get consensus on python-dev first, 
and there is no point in resolving this in the bug tracker. If no agreement can 
be found (which is actually likely), a PEP needs to be written.

My personal favorite would be to a) leave the binascii module alone, and b) add 
more functions to the base64 module, taking and returning Unicode strings as 
encoded objects.

However, I really fail to see what's so bad about

  binascii.b2a_hex(B).decode('ascii')

Under the rule "not every two line function belongs into the standard library", 
I would then be -0 on adding it to base64.

----------

_______________________________________
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

Reply via email to