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 pitrou
Recipients kayhayen, pitrou
Date 2012-01-08.18:46:52
SpamBayes Score 1.4393833e-05
Marked as misclassified No
Message-id <1326048413.52.0.0841153417296.issue13735@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, right. BINPUT is used to memoize objects in case a restructive structure happens. You can use pickletools.optimize() to remove the useless BINPUTs out of a pickle stream.

Note that 3.x is more consistent and always emits the BINPUTs. It seems 2.x's cPickle (which is really a weird piece of code) may do some premature optimization here.
History
Date User Action Args
2012-01-08 18:46:53pitrousetrecipients: + pitrou, kayhayen
2012-01-08 18:46:53pitrousetmessageid: <1326048413.52.0.0841153417296.issue13735@psf.upfronthosting.co.za>
2012-01-08 18:46:52pitroulinkissue13735 messages
2012-01-08 18:46:52pitroucreate