Serhiy Storchaka added the comment: Here is a patch which allows bytes-like arguments in the base64 module. I just removed type checking if underlying function raises an exception with an appropriate message. I'm not sure about b32encode(), perhaps we can left an exception from memoryview().
---------- Added file: http://bugs.python.org/file30044/base64_buffer_input.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17839> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com