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.

Author kayhayen
Recipients kayhayen, pitrou
Date 2012-01-08.18:41:41
SpamBayes Score 0.0014715457
Marked as misclassified No
Message-id <1326048101.95.0.077244290503.issue13735@psf.upfronthosting.co.za>
In-reply-to
Content
It seems that there is an extra "BINPUT 2", whatever it does. I am attaching a variant that does pickletools.dis on the 3 dumps.

Protocol 2 :
Dumping read const const stream '\x80\x02}q\x01U\x07modulesq\x02Ns.'
    0: \x80 PROTO      2
    2: }    EMPTY_DICT
    3: q    BINPUT     1
    5: U    SHORT_BINSTRING 'modules'
   14: q    BINPUT     2
   16: N    NONE
   17: s    SETITEM
   18: .    STOP
highest protocol among opcodes = 2
Dumping load const const stream '\x80\x02}q\x01U\x07modulesNs.'
    0: \x80 PROTO      2
    2: }    EMPTY_DICT
    3: q    BINPUT     1
    5: U    SHORT_BINSTRING 'modules'
   14: N    NONE
   15: s    SETITEM
   16: .    STOP
highest protocol among opcodes = 2
Dumping load const const stream '\x80\x02}q\x01U\x07modulesNs.'
    0: \x80 PROTO      2
    2: }    EMPTY_DICT
    3: q    BINPUT     1
    5: U    SHORT_BINSTRING 'modules'
   14: N    NONE
   15: s    SETITEM
   16: .    STOP
highest protocol among opcodes = 2
History
Date User Action Args
2012-01-08 18:41:42kayhayensetrecipients: + kayhayen, pitrou
2012-01-08 18:41:41kayhayensetmessageid: <1326048101.95.0.077244290503.issue13735@psf.upfronthosting.co.za>
2012-01-08 18:41:41kayhayenlinkissue13735 messages
2012-01-08 18:41:41kayhayencreate