Skip to content

truncate() changes current stream position #76409

@andreymal

Description

@andreymal
mannequin
BPO 32228
Nosy @pitrou, @nitishch, @andreymal
PRs
  • bpo-32228: Reset raw_pos after unwinding the raw stream #4858
  • [3.6] bpo-32228: Reset raw_pos after unwinding the raw stream (GH-4858) #5389
  • Files
  • wtf1.py
  • 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 2018-01-28.17:44:00.391>
    created_at = <Date 2017-12-05.23:19:14.742>
    labels = ['type-bug', '3.7', 'expert-IO']
    title = 'truncate() changes current stream position'
    updated_at = <Date 2018-01-28.17:44:00.388>
    user = 'https://github.com/andreymal'

    bugs.python.org fields:

    activity = <Date 2018-01-28.17:44:00.388>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-01-28.17:44:00.391>
    closer = 'pitrou'
    components = ['IO']
    creation = <Date 2017-12-05.23:19:14.742>
    creator = 'andreymal'
    dependencies = []
    files = ['47321']
    hgrepos = []
    issue_num = 32228
    keywords = ['patch']
    message_count = 4.0
    messages = ['307698', '310962', '310973', '310974']
    nosy_count = 3.0
    nosy_names = ['pitrou', 'nitishch', 'andreymal']
    pr_nums = ['4858', '5389']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32228'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions