Skip to content

When I use codecs.open(...) and f.readline() follow up by f.read() return bad result #52507

@harobed

Description

@harobed
mannequin
BPO 8260
Nosy @malemburg, @amauryfa, @ncoghlan, @vstinner, @devdanzin, @merwok, @bitdancer, @serhiy-storchaka
Files
  • codecs_read.patch
  • codecs_read-2.patch
  • codecs_read-3.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/serhiy-storchaka'
    closed_at = <Date 2014-01-26.17:34:32.355>
    created_at = <Date 2010-03-29.15:09:53.729>
    labels = ['type-bug', 'library']
    title = 'When I use codecs.open(...) and f.readline() follow up by f.read() return bad result'
    updated_at = <Date 2014-01-26.17:34:32.354>
    user = 'https://bugs.python.org/harobed'

    bugs.python.org fields:

    activity = <Date 2014-01-26.17:34:32.354>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2014-01-26.17:34:32.355>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2010-03-29.15:09:53.729>
    creator = 'harobed'
    dependencies = []
    files = ['16705', '16706', '33410']
    hgrepos = []
    issue_num = 8260
    keywords = ['patch']
    message_count = 15.0
    messages = ['101892', '101980', '101987', '101988', '101990', '122823', '138265', '138273', '139465', '177119', '177123', '207875', '209330', '209335', '209337']
    nosy_count = 10.0
    nosy_names = ['lemburg', 'amaury.forgeotdarc', 'ncoghlan', 'vstinner', 'ajaksu2', 'eric.araujo', 'r.david.murray', 'harobed', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue8260'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Labels

    stdlibPython 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