Yuriy Syrovetskiy added the comment: You don't need `raw=True`, `.cast('b')` already must do this. But unfortunately, is is not implemented yet. ---------- nosy: +cblp _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue15944> _______________________________________