Skip to content

performance problem in socket._fileobject.read #46884

@CurtHagenlocher

Description

@CurtHagenlocher
BPO 2632
Nosy @warsaw, @akuchling, @doko42, @gpshead, @pitrou, @benjaminp
Files
  • socket.py.diff: Revised fix
  • socket-strio-gps01.patch.txt: patch to avoid long lifetime of large strings by using StringIO [against trunk r62440]
  • 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 = 'https://github.com/gpshead'
    closed_at = <Date 2008-07-06.04:04:51.189>
    created_at = <Date 2008-04-14.18:30:16.246>
    labels = ['release-blocker', 'library', 'performance']
    title = 'performance problem in socket._fileobject.read'
    updated_at = <Date 2008-07-06.04:04:51.167>
    user = 'https://bugs.python.org/CurtHagenlocher'

    bugs.python.org fields:

    activity = <Date 2008-07-06.04:04:51.167>
    actor = 'gregory.p.smith'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2008-07-06.04:04:51.189>
    closer = 'gregory.p.smith'
    components = ['Library (Lib)']
    creation = <Date 2008-04-14.18:30:16.246>
    creator = 'CurtHagenlocher'
    dependencies = []
    files = ['10032', '10071']
    hgrepos = []
    issue_num = 2632
    keywords = ['patch']
    message_count = 26.0
    messages = ['65472', '65473', '65485', '65486', '65487', '65489', '65499', '65500', '65528', '65561', '65607', '65664', '65669', '65756', '66098', '66267', '66269', '66278', '66294', '66306', '66400', '66984', '67945', '68191', '68192', '69315']
    nosy_count = 10.0
    nosy_names = ['barry', 'akuchling', 'doko', 'gregory.p.smith', 'pitrou', 'draghuram', 'forest', 'schmir', 'benjamin.peterson', 'CurtHagenlocher']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue2632'
    versions = ['Python 2.5']

    Metadata

    Metadata

    Assignees

    Labels

    performancePerformance or resource usagerelease-blockerstdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions