classification
Title: Update pickle opcode documentation in pickletools for 3.x
Type: enhancement Stage: needs patch
Components: Documentation Versions: Python 3.7, Python 3.6, Python 3.5
process
Status: open Resolution:
Dependencies: 5180 6290 Superseder:
Assigned To: docs@python Nosy List: alexandre.vassalotti, belopolsky, docs@python, lemburg, mark.dickinson, pitrou
Priority: normal Keywords: easy

Created on 2010-07-15 18:12 by belopolsky, last changed 2017-02-19 19:14 by serhiy.storchaka.

Messages (4)
msg110384 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2010-07-15 18:12
Pickle opcode documentation in pickletools still refers to old/new style classes and changes made in 2.x series.  Opcodes such as INT, INST, and OBJ that are no longer produced by 3.x pickling code should be described as such and discussion added on how 2.x features that are removed in 3.x are emulated when 2.x pickles are loaded in 3.x.

See also issue5180.
msg110451 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2010-07-16 15:12
Just a reminder to myself based on Mark's suggestion on IRC.  In TUPLE<N> opcode documentation two-tuple and three-tuple are redundant in summary line.  Can be replaced with just tuple without loss of clarity.  See r82915.
msg110466 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2010-07-16 18:00
From IRC:

Sasha: What's the current status of pickling float inf, nan, -0.0, etc.?

Mark: In py3k and release27-maint, there shouldn't be any issues with any of those. Same with release31-maint.  In release26-maint, pickling infinities and nans on windows using protocol 0 is problematic.
msg179035 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-01-04 16:00
See also issue16550.
History
Date User Action Args
2017-02-19 19:14:07serhiy.storchakasetversions: + Python 3.6, Python 3.7, - Python 3.4
2014-07-07 17:11:06serhiy.storchakasetassignee: docs@python
nosy: + docs@python, - serhiy.storchaka
versions: + Python 3.4, Python 3.5, - Python 3.2
2014-06-29 23:18:24belopolskysetassignee: belopolsky -> (no value)
2013-01-04 16:00:48serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg179035
2010-07-17 23:02:54belopolskylinkissue5180 superseder
2010-07-16 18:03:20belopolskysetdependencies: + cPickle can misread data type
2010-07-16 18:00:36belopolskysetmessages: + msg110466
2010-07-16 15:12:13belopolskysetmessages: + msg110451
2010-07-15 18:14:04belopolskysetnosy: + lemburg, mark.dickinson, pitrou, alexandre.vassalotti
dependencies: + 3.1 cannot unpickle 2.7-created pickle
2010-07-15 18:13:00belopolskycreate