Antoine Pitrou added the comment: It doesn't work in 2.7 because bytearray only supports the new buffer API (which is more secure), not the old one. I don't think it's worth trying to fix at this point, so I'm tempted to close as won't fix.
---------- nosy: +georg.brandl _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18209> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com