[New-bugs-announce] [issue9378] Make python -m pickle do something useful

Alexander Belopolsky report at bugs.python.org
Sun Jul 25 21:12:35 CEST 2010


New submission from Alexander Belopolsky <belopolsky at users.sourceforge.net>:

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.

----------
assignee: belopolsky
components: Library (Lib)
files: pickle-m.diff
keywords: easy, patch
messages: 111553
nosy: belopolsky
priority: normal
severity: normal
stage: patch review
status: open
title: Make python -m pickle do something useful
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file18197/pickle-m.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9378>
_______________________________________


More information about the New-bugs-announce mailing list