Serhiy Storchaka added the comment:

Thank you Ezio and Nick for your comments.

> I suggest renaming _bytes_from_decode_data to "_bytes_for_decoding" and 
> adding "_bytes_for_encoding".

I rather think a TypeError exception raised by `memoryview(s).tobytes()` is 
good enough and we don't need a special wrapper.

----------
Added file: http://bugs.python.org/file30337/base64_buffer_input_2.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

Reply via email to