pprint: add option to truncate sequences

Open
#57,213 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

The issue names pprint but does not identify an implementation file, test, or concrete option behavior. Start by locating the pprint implementation and tests, then review the dependency on the general pprint rewrite in bpo-7434; completion requires an agreed truncation design and corresponding test coverage.

Written by the indexing model from the issue text.

Description

stdlib type-feature
BPO 13004
Nosy @rhettinger, @terryjreedy, @giampaolo, @ezio-melotti
Dependencies
  • bpo-7434: general pprint rewrite
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2011-09-18.17:41:12.984>
    labels = ['type-feature', 'library']
    title = 'pprint: add option to truncate sequences'
    updated_at = <Date 2013-07-12.06:31:16.501>
    user = 'https://github.com/terryjreedy'
    

    bugs.python.org fields:

    activity = <Date 2013-07-12.06:31:16.501>
    actor = 'rhettinger'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2011-09-18.17:41:12.984>
    creator = 'terry.reedy'
    dependencies = ['7434']
    files = []
    hgrepos = []
    issue_num = 13004
    keywords = []
    message_count = 4.0
    messages = ['144247', '144316', '144319', '144365']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'terry.reedy', 'giampaolo.rodola', 'ezio.melotti', 'santoso.wijaya', 'ssc', 'anandjeyahar']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue13004'
    versions = ['Python 3.3']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.