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 belopolsky
Recipients belopolsky
Date 2010-07-25.19:12:32
SpamBayes Score 1.1226806e-05
Marked as misclassified No
Message-id <1280085155.28.0.122928002341.issue9378@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch makes python -m pickle <pickle file> unpickle the first object from the pickle file and display it using pprint.  Future enhancements may include printing the summary (object number, object type) of the multiobject pickles, option to control display: pprint/repr or type only, lines/columns limits, and selective display from multi-object pickles.

I considered adding this functionality to pickletools (see issue 9094), but rejected because pickletools is more oriented towards pickle protocol developers and this functionality may be useful for casual pickle users.
History
Date User Action Args
2010-07-25 19:12:35belopolskysetrecipients: + belopolsky
2010-07-25 19:12:35belopolskysetmessageid: <1280085155.28.0.122928002341.issue9378@psf.upfronthosting.co.za>
2010-07-25 19:12:33belopolskylinkissue9378 messages
2010-07-25 19:12:32belopolskycreate