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.

Title: Add options width and compact to pickle cli
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.5
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: alexandre.vassalotti, barcc, berker.peksag, pitrou, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2014-06-01 14:10 by barcc, last changed 2022-04-11 14:58 by admin. This issue is now closed.

File name Uploaded Description Edit
pickle_cli-options_width_and_compact.patch barcc, 2014-06-01 14:10 review
Messages (2)
msg219501 - (view) Author: B. Clausius (barcc) * Date: 2014-06-01 14:10
The attached patch add this options to "python3 -m pickle" cli:
  -w WIDTH, --width WIDTH
                        maximum number of characters per line
  -c, --compact         display as many items as will fit on each output line
The options are forwarded as kwargs to pprint.pprint
msg278117 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2016-10-05 10:35
Thanks for the patch, but the pickle CLI is not part of the public API and I don't think these new options are going to be useful for general use.

Closing this as 'rejected'. Please re-open if Serhiy (or others) would find this a reasonable improvement.
Date User Action Args
2022-04-11 14:58:04adminsetgithub: 65825
2016-10-05 10:35:39berker.peksagsetstatus: open -> closed

nosy: + serhiy.storchaka, berker.peksag
messages: + msg278117

resolution: rejected
stage: resolved
2014-06-01 14:23:34serhiy.storchakasetnosy: + pitrou, alexandre.vassalotti
2014-06-01 14:10:35barcccreate