Guido van Rossum added the comment:

FWIW the pickle produced looks like this, decoded with pickletools.dis():

    0: \x80 PROTO      3
    2: c    GLOBAL     '__main__ B'
   14: q    BINPUT     0
   16: )    EMPTY_TUPLE
   17: \x81 NEWOBJ
   18: q    BINPUT     1
   20: }    EMPTY_DICT
   21: q    BINPUT     2
   23: X    BINUNICODE 'x'
   29: q    BINPUT     3
   31: X    BINUNICODE 'hello'
   41: q    BINPUT     4
   43: s    SETITEM
   44: b    BUILD
   45: .    STOP

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25472>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to