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 collinwinter
Recipients alexandre.vassalotti, amaury.forgeotdarc, collinwinter, pitrou
Date 2009-04-03.21:48:35
SpamBayes Score 4.5705478e-10
Marked as misclassified No
Message-id <>
Amaury, I can't reproduce the issue you're seeing with empty dicts.
Here's what I'm doing:

dhcp-172-19-19-199:trunk collinwinter$ ./python.exe 
Python 2.7a0 (trunk:71100M, Apr  3 2009, 14:40:49) 
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cPickle, pickletools
>>> data = cPickle.dumps({}, protocol=2)
>>> pickletools.dis(data)
    0: \x80 PROTO      2
    2: }    EMPTY_DICT
    3: .    STOP
highest protocol among opcodes = 2
>>> data

What are you doing to produce the MARK SETITEMS sequence?
Date User Action Args
2009-04-03 21:48:37collinwintersetrecipients: + collinwinter, amaury.forgeotdarc, pitrou, alexandre.vassalotti
2009-04-03 21:48:37collinwintersetmessageid: <>
2009-04-03 21:48:36collinwinterlinkissue5670 messages
2009-04-03 21:48:35collinwintercreate