Martin Panter added the comment:

I agree it is a bit strange. It looks like it is a victim of 
PyBytes_FromObject() doing more than it says; its documentation only mentions 
the buffer protocol, not accepting iterables.

----------
nosy: +martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26754>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to