Xiang Zhang added the comment:

> It can be more efficient is make bytes.__repr__ accepting not only bytes, but 
> objects supporting the buffer protocol.

I like this idea. v2 implements this.

----------
Added file: http://bugs.python.org/file44119/bytearray_repr_v2.patch

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

Reply via email to