[issue17839] base64 module should use memoryview

Serhiy Storchaka report at bugs.python.org
Sun Apr 28 17:06:05 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue17839>
_______________________________________


More information about the Python-bugs-list mailing list