Skip to content

pprint() gives exception when ran from pythonw #85718

@luizeldorado

Description

@luizeldorado
BPO 41546
Nosy @terryjreedy, @pfmoore, @tjguk, @ned-deily, @zware, @zooba, @vedgar, @iritkatriel, @luizeldorado
PRs
  • bpo-41546: make pprint (like print) not write to stdout when it is None #26810
  • Files
  • pprint_error_showcase.pyw: Showcase of the problem
  • 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 2021-07-19.09:20:09.349>
    created_at = <Date 2020-08-14.00:10:04.341>
    labels = ['library', 'OS-windows', '3.11']
    title = 'pprint() gives exception when ran from pythonw'
    updated_at = <Date 2021-07-19.09:20:09.349>
    user = 'https://github.com/luizeldorado'

    bugs.python.org fields:

    activity = <Date 2021-07-19.09:20:09.349>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-19.09:20:09.349>
    closer = 'iritkatriel'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2020-08-14.00:10:04.341>
    creator = 'luizeldorado'
    dependencies = []
    files = ['49388']
    hgrepos = []
    issue_num = 41546
    keywords = ['patch']
    message_count = 10.0
    messages = ['375358', '375382', '375401', '375413', '375422', '375435', '375503', '375534', '375565', '397781']
    nosy_count = 10.0
    nosy_names = ['terry.reedy', 'paul.moore', 'tim.golden', 'ned.deily', 'zach.ware', 'steve.dower', 'veky', 'iritkatriel', 'luizeldorado', 'henriquesdj0']
    pr_nums = ['26810']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue41546'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesOS-windowsstdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions