Skip to content

Regression in Python 3: Subclassing PrettyPrinter.format doesn't work anymore #73036

Closed
@mice

Description

@mice
mannequin
BPO 28850
Nosy @doerwalter, @rhettinger, @taleinat, @serhiy-storchaka, @zhangyangyu, @iritkatriel
PRs
  • bpo-28850: Fix PrettyPrinter.format overrides being ignored for contents of small containers #22120
  • 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 = <Date 2020-11-23.13:34:04.787>
    created_at = <Date 2016-12-01.11:45:23.870>
    labels = ['type-bug', 'library', '3.10']
    title = "Regression in Python 3: Subclassing PrettyPrinter.format doesn't work anymore"
    updated_at = <Date 2020-11-23.13:34:04.786>
    user = 'https://bugs.python.org/mice'

    bugs.python.org fields:

    activity = <Date 2020-11-23.13:34:04.786>
    actor = 'taleinat'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-11-23.13:34:04.787>
    closer = 'taleinat'
    components = ['Library (Lib)']
    creation = <Date 2016-12-01.11:45:23.870>
    creator = 'mic_e'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28850
    keywords = ['patch']
    message_count = 4.0
    messages = ['282159', '376465', '381667', '381668']
    nosy_count = 9.0
    nosy_names = ['doerwalter', 'anthonybaxter', 'rhettinger', 'taleinat', 'markhirota', 'serhiy.storchaka', 'mic_e', 'xiang.zhang', 'iritkatriel']
    pr_nums = ['22120']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28850'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions