Steven D'Aprano <steve+pyt...@pearwood.info> added the comment: I don't understand why you think they are the wrong values. What values were you expecting?
You have a byte array, you set the value to the byte b's', which is 115, and you get 115. You have a (byte) character array, you set the value to the byte b's', and you get b's'. What were you expecting? ---------- components: +asyncio -Library (Lib) nosy: +steven.daprano -eryksun type: behavior -> _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32003> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com