Skip to content

'python -u' yields trailing carriage return '\r' (Python2 for Windows) #66145

@msp

Description

@msp
mannequin
BPO 21946
Nosy @vstinner, @bitdancer, @zware
Files
  • input.py: sample file to reproduce error
  • binary.patch
  • 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-04-26.06:14:17.684>
    created_at = <Date 2014-07-09.12:51:58.107>
    labels = ['interpreter-core', 'type-bug', 'OS-windows']
    title = "'python -u' yields trailing carriage return '\\r'  (Python2 for Windows)"
    updated_at = <Date 2020-04-26.06:14:17.683>
    user = 'https://bugs.python.org/msp'
    

    bugs.python.org fields:

    activity = <Date 2020-04-26.06:14:17.683>
    actor = 'zach.ware'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-04-26.06:14:17.684>
    closer = 'zach.ware'
    components = ['Interpreter Core', 'Windows']
    creation = <Date 2014-07-09.12:51:58.107>
    creator = 'msp'
    dependencies = []
    files = ['35913', '36145']
    hgrepos = []
    issue_num = 21946
    keywords = ['patch']
    message_count = 7.0
    messages = ['222613', '222614', '223339', '223347', '224194', '224197', '367300']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'r.david.murray', 'zach.ware', 'msp']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue21946'
    versions = ['Python 2.7']
    

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowsinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions