New submission from Antoine Pitrou: It should probably be a bytes object instead:
>>> op <pickletools.OpcodeInfo object at 0x7f1e119db448> >>> op.code '\x95' >>> op.name 'FRAME' >>> pickle.FRAME b'\x95' ---------- components: Library (Lib) messages: 205061 nosy: alexandre.vassalotti, pitrou priority: normal severity: normal status: open title: pickletools.OpcodeInfo.code is a string type: behavior versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19867> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com