Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add _io._TextIOWrapper.errors #50466

Closed
pjenvey opened this issue Jun 6, 2009 · 2 comments
Closed

Add _io._TextIOWrapper.errors #50466

pjenvey opened this issue Jun 6, 2009 · 2 comments
Labels
topic-IO type-bug An unexpected behavior, bug, or error

Comments

@pjenvey
Copy link
Member

pjenvey commented Jun 6, 2009

BPO 6217
Nosy @pitrou, @pjenvey, @benjaminp
Files
  • textiowrapper-errors.diff
  • 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 2009-06-06.18:02:32.085>
    created_at = <Date 2009-06-06.01:57:18.870>
    labels = ['type-bug', 'expert-IO']
    title = 'Add _io._TextIOWrapper.errors'
    updated_at = <Date 2009-06-06.18:02:32.083>
    user = 'https://github.com/pjenvey'

    bugs.python.org fields:

    activity = <Date 2009-06-06.18:02:32.083>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-06-06.18:02:32.085>
    closer = 'benjamin.peterson'
    components = ['IO']
    creation = <Date 2009-06-06.01:57:18.870>
    creator = 'pjenvey'
    dependencies = []
    files = ['14201']
    hgrepos = []
    issue_num = 6217
    keywords = ['patch']
    message_count = 2.0
    messages = ['88986', '89011']
    nosy_count = 3.0
    nosy_names = ['pitrou', 'pjenvey', 'benjamin.peterson']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue6217'
    versions = ['Python 3.1', 'Python 2.7', 'Python 3.2']

    @pjenvey
    Copy link
    Member Author

    pjenvey commented Jun 6, 2009

    _pyio.TextIOWrapper provides the encoding and associated errors values,
    but _io._TextIOWrapper only provides encoding. Patch adds errors and has
    it show up in repr in both places, against py3k

    @pjenvey pjenvey added topic-IO type-bug An unexpected behavior, bug, or error labels Jun 6, 2009
    @benjaminp
    Copy link
    Contributor

    Thanks for the report! Fixed in r73259.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    topic-IO type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants