Skip to content

Exception ABC doesn't work in Python 3 (but does in Python 2.7) #69634

@merchise

Description

@merchise
mannequin
BPO 25448
Nosy @rhettinger, @ncoghlan, @bitdancer, @eryksun, @MojoVampire
Superseder
  • bpo-12029: [doc] clarify that except does not match virtual subclasses of the specified exception type
  • Files
  • tests.py: A test command to reproduce the error.
  • 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 2015-10-21.02:32:09.832>
    created_at = <Date 2015-10-20.19:32:31.154>
    labels = ['interpreter-core', 'type-bug']
    title = "Exception ABC doesn't work in Python 3 (but does in Python 2.7)"
    updated_at = <Date 2015-10-21.02:32:09.831>
    user = 'https://bugs.python.org/merchise'

    bugs.python.org fields:

    activity = <Date 2015-10-21.02:32:09.831>
    actor = 'eryksun'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-10-21.02:32:09.832>
    closer = 'eryksun'
    components = ['Interpreter Core']
    creation = <Date 2015-10-20.19:32:31.154>
    creator = 'merchise'
    dependencies = []
    files = ['40823']
    hgrepos = []
    issue_num = 25448
    keywords = []
    message_count = 7.0
    messages = ['253246', '253253', '253258', '253268', '253269', '253271', '253273']
    nosy_count = 6.0
    nosy_names = ['rhettinger', 'ncoghlan', 'r.david.murray', 'eryksun', 'josh.r', 'merchise']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '12029'
    type = 'behavior'
    url = 'https://bugs.python.org/issue25448'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions