Message111553
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. |
|
Date |
User |
Action |
Args |
2010-07-25 19:12:35 | belopolsky | set | recipients:
+ belopolsky |
2010-07-25 19:12:35 | belopolsky | set | messageid: <1280085155.28.0.122928002341.issue9378@psf.upfronthosting.co.za> |
2010-07-25 19:12:33 | belopolsky | link | issue9378 messages |
2010-07-25 19:12:32 | belopolsky | create | |
|