Skip to content

Mailbox module should use binary I/O, not text I/O #53370

@holdenweb

Description

@holdenweb
BPO 9124
Nosy @birkenfeld, @rhettinger, @pitrou, @vstinner, @giampaolo, @regebro, @bitdancer
Files
  • test_thunderbird_mailbox.py
  • test.mailbox: Test data for Thunderbird mailbox reader
  • test2.5.out: 2.5 profiler output showing non-setup time is concentrated on mailbox itervalues
  • test3.1.out: 3.1 profiler output showing that 1.3M+ calls to cp1252.decode use almost half the CPU
  • mailbox.patch
  • BytesGenerator_handle_text.patch
  • mailbox2.patch
  • mailbox3.2.patch
  • mailbox4.patch
  • mailbox5.patch
  • mailbox6.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 = 'https://github.com/bitdancer'
    closed_at = <Date 2011-01-30.06:23:56.626>
    created_at = <Date 2010-06-30.12:28:21.574>
    labels = ['type-bug', 'library', 'release-blocker']
    title = 'Mailbox module should use binary I/O, not text I/O'
    updated_at = <Date 2011-01-30.06:23:56.625>
    user = 'https://bugs.python.org/holdenweb'

    bugs.python.org fields:

    activity = <Date 2011-01-30.06:23:56.625>
    actor = 'r.david.murray'
    assignee = 'r.david.murray'
    closed = True
    closed_date = <Date 2011-01-30.06:23:56.626>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2010-06-30.12:28:21.574>
    creator = 'holdenweb'
    dependencies = []
    files = ['17809', '17810', '17811', '17812', '20522', '20530', '20532', '20585', '20606', '20608', '20614']
    hgrepos = []
    issue_num = 9124
    keywords = ['patch']
    message_count = 46.0
    messages = ['108978', '108979', '126078', '126079', '126082', '126085', '126139', '126144', '126153', '126994', '127002', '127005', '127036', '127078', '127079', '127087', '127089', '127097', '127101', '127104', '127119', '127135', '127148', '127168', '127245', '127303', '127305', '127309', '127310', '127313', '127324', '127327', '127338', '127343', '127346', '127349', '127354', '127392', '127395', '127406', '127418', '127446', '127459', '127472', '127491', '127518']
    nosy_count = 9.0
    nosy_names = ['georg.brandl', 'rhettinger', 'holdenweb', 'pitrou', 'vstinner', 'giampaolo.rodola', 'lregebro', 'r.david.murray', 'sdaoden']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9124'
    versions = ['Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    release-blockerstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions