This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pickletools.OpcodeInfo.code is a string
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.3, Python 3.4
process
Status: open Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: BTaskaya, alexandre.vassalotti, nanjekyejoannah, pitrou, serhiy.storchaka
Priority: normal Keywords:

Created on 2013-12-02 22:43 by pitrou, last changed 2022-04-11 14:57 by admin.

Messages (4)
msg205061 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-12-02 22:43
It should probably be a bytes object instead:

>>> op
<pickletools.OpcodeInfo object at 0x7f1e119db448>
>>> op.code
'\x95'
>>> op.name
'FRAME'
>>> pickle.FRAME
b'\x95'
msg231362 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014-11-19 08:59
But isn't it is backward incompatible change?
msg350370 - (view) Author: Batuhan Taskaya (BTaskaya) * (Python committer) Date: 2019-08-24 11:44
What should we do then, close?
msg404881 - (view) Author: Joannah Nanjekye (nanjekyejoannah) * (Python committer) Date: 2021-10-23 15:18
I changed to won't fix due to the note on incompatibility, until we resolve on a way forward.
History
Date User Action Args
2022-04-11 14:57:54adminsetgithub: 64066
2021-10-23 15:18:53nanjekyejoannahsetresolution: wont fix

messages: + msg404881
nosy: + nanjekyejoannah
2019-08-24 11:44:27BTaskayasetnosy: + BTaskaya
messages: + msg350370
2014-11-19 08:59:40serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg231362
2013-12-02 22:43:57pitroucreate