Skip to content

Delayed exception using non-text encodings with TextIOWrapper #64603

@ncoghlan

Description

@ncoghlan
BPO 20404
Nosy @birkenfeld, @ncoghlan, @pitrou, @vstinner, @larryhastings, @serhiy-storchaka
Files
  • issue20404_check_valid_textio_codec.diff: Check codec validity in TextIOWrapper.init
  • issue20404_check_valid_textio_codec_v2.diff: Rationalise codec lookups during TextIOWrapper creation
  • issue20404_check_valid_textio_codec_v3.diff: Updated for Serhiy's comments
  • issue20404_check_valid_textio_codec-3.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/ncoghlan'
    closed_at = <Date 2014-02-04.12:14:10.985>
    created_at = <Date 2014-01-27.05:01:16.793>
    labels = ['type-bug', 'expert-IO', 'release-blocker']
    title = 'Delayed exception using non-text encodings with TextIOWrapper'
    updated_at = <Date 2015-05-31.17:21:42.361>
    user = 'https://github.com/ncoghlan'

    bugs.python.org fields:

    activity = <Date 2015-05-31.17:21:42.361>
    actor = 'python-dev'
    assignee = 'ncoghlan'
    closed = True
    closed_date = <Date 2014-02-04.12:14:10.985>
    closer = 'python-dev'
    components = ['IO']
    creation = <Date 2014-01-27.05:01:16.793>
    creator = 'ncoghlan'
    dependencies = []
    files = ['33747', '33856', '33899', '34221']
    hgrepos = []
    issue_num = 20404
    keywords = ['patch']
    message_count = 12.0
    messages = ['209396', '209399', '209438', '209948', '209949', '209970', '210197', '210198', '210217', '212195', '212539', '244549']
    nosy_count = 7.0
    nosy_names = ['georg.brandl', 'ncoghlan', 'pitrou', 'vstinner', 'larry', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue20404'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions