Skip to content

TypeError when inheriting from both OSError and AttributeError #89627

@marmarek

Description

@marmarek
mannequin
BPO 45464
Nosy @terryjreedy, @tiran, @ambv, @marmarek, @pablogsal, @miss-islington
PRs
  • bpo-45464: Add a warning about subclassing built-in exceptions #28995
  • bpo-45464: [doc] Explain that subclassing multiple exceptions is fragile #29094
  • [3.10] bpo-45464: [doc] Explain that subclassing multiple exceptions is fragile (GH-29094) #29104
  • [3.9] bpo-45464: [doc] Explain that subclassing multiple exceptions is fragile (GH-29094) #29105
  • 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 2021-10-20.18:51:34.406>
    created_at = <Date 2021-10-13.20:05:16.904>
    labels = ['interpreter-core', '3.11', 'type-bug', '3.10', 'docs']
    title = 'TypeError when inheriting from both OSError and AttributeError'
    updated_at = <Date 2021-10-20.18:51:34.405>
    user = 'https://github.com/marmarek'

    bugs.python.org fields:

    activity = <Date 2021-10-20.18:51:34.405>
    actor = 'lukasz.langa'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2021-10-20.18:51:34.406>
    closer = 'lukasz.langa'
    components = ['Documentation', 'Interpreter Core']
    creation = <Date 2021-10-13.20:05:16.904>
    creator = 'marmarek'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45464
    keywords = ['patch', '3.10regression']
    message_count = 11.0
    messages = ['403870', '403906', '403914', '403918', '404075', '404107', '404469', '404498', '404518', '404519', '404520']
    nosy_count = 7.0
    nosy_names = ['terry.reedy', 'christian.heimes', 'docs@python', 'lukasz.langa', 'marmarek', 'pablogsal', 'miss-islington']
    pr_nums = ['28995', '29094', '29104', '29105']
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45464'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixesdocsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions