Use concrete classes inherited from OSError instead of errno check

BPO 16705
Nosy @asvetlov
Dependencies
  • bpo-16706: Get rid of os.error. Use OSError instead
  • bpo-16715: Get rid of IOError. Use OSError instead
  • bpo-16716: Deprecate OSError aliases in the doc
  • bpo-16717: Get rid of socket.error. Use OSError instead
  • bpo-17650: There is no exception correspond to errno EROFS
  • bpo-17651: Errno checking replaced by concrete classes inherited from OSError
  • 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/asvetlov'
    closed_at = <Date 2018-01-29.13:48:32.453>
    created_at = <Date 2012-12-17.20:31:39.786>
    labels = ['type-bug', 'library']
    title = 'Use concrete classes inherited from OSError instead of errno check'
    updated_at = <Date 2018-01-29.13:48:32.452>
    user = 'https://github.com/asvetlov'

    bugs.python.org fields:

    activity = <Date 2018-01-29.13:48:32.452>
    actor = 'asvetlov'
    assignee = 'asvetlov'
    closed = True
    closed_date = <Date 2018-01-29.13:48:32.453>
    closer = 'asvetlov'
    components = ['Library (Lib)']
    creation = <Date 2012-12-17.20:31:39.786>
    creator = 'asvetlov'
    dependencies = ['16706', '16715', '16716', '16717', '17650', '17651']
    files = []
    hgrepos = []
    issue_num = 16705
    keywords = []
    message_count = 3.0
    messages = ['177668', '177669', '177670']
    nosy_count = 2.0
    nosy_names = ['asvetlov', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16705'
    versions = ['Python 3.4']