Skip to content

[doc] clarify that except does not match virtual subclasses of the specified exception type #56238

Description

@acooke
mannequin
BPO 12029
Nosy @gvanrossum, @warsaw, @ncoghlan, @pitrou, @benjaminp, @jwilk, @merwok, @alex, @bitdancer, @Trundle, @durban, @ericsnowcurrently, @berkerpeksag, @vadmium, @JimJJewett, @serhiy-storchaka, @charettes, @MojoVampire, @mbmccoy, @iritkatriel
PRs
  • bpo-12029: Exception handling should match subclasses #6461
  • bpo-12029: [doc] clarify that except does not match virtual subclasses of the specified exception type #32027
  • [3.10] bpo-12029: [doc] clarify that except does not match virtual subclasses of the specified exception type (GH-32027) #32034
  • [3.9] bpo-12029: [doc] clarify that except does not match virtual subclasses of the specified exception type (GH-32027) #32035
  • Dependencies
  • bpo-22540: speed up isinstance and issubclass for the usual cases
  • Files
  • issue12029.patch
  • exception_proper_subclass_matching_v2.patch
  • exception_proper_subclass_matching_v3.patch
  • pyobject_issubclass_isinstance_speedup.patch
  • exception_proper_subclass_matching_v4.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 = None
    closed_at = <Date 2022-03-21.21:28:15.751>
    created_at = <Date 2011-05-08.08:53:43.241>
    labels = ['interpreter-core', '3.9', '3.10', '3.11', 'type-feature', 'docs']
    title = '[doc] clarify that except does not match virtual subclasses of the specified exception type'
    updated_at = <Date 2022-03-21.21:28:16.619>
    user = 'https://bugs.python.org/acooke'

    bugs.python.org fields:

    activity = <Date 2022-03-21.21:28:16.619>
    actor = 'iritkatriel'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2022-03-21.21:28:15.751>
    closer = 'iritkatriel'
    components = ['Documentation', 'Interpreter Core']
    creation = <Date 2011-05-08.08:53:43.241>
    creator = 'acooke'
    dependencies = ['22540']
    files = ['25548', '36777', '36778', '36779', '36780']
    hgrepos = []
    issue_num = 12029
    keywords = ['patch']
    message_count = 51.0
    messages = ['135521', '136712', '136717', '160399', '160418', '160426', '160427', '160428', '160430', '160432', '160435', '160436', '160461', '160468', '161473', '200418', '200420', '200421', '200829', '201329', '202019', '205830', '205880', '228158', '228159', '228171', '228195', '228196', '228198', '228209', '228213', '228214', '228215', '228216', '228219', '234434', '253270', '253272', '253288', '253958', '273436', '315257', '315267', '315268', '412778', '412798', '412799', '412801', '415700', '415705', '415707']
    nosy_count = 28.0
    nosy_names = ['gvanrossum', 'barry', 'jamesh', 'ncoghlan', 'pitrou', 'fijal', 'benjamin.peterson', 'jwilk', 'eric.araujo', 'alex', 'r.david.murray', 'Trundle', 'cvrebert', 'daniel.urban', 'yorik.sar', 'docs@python', 'Yury.Selivanov', 'eric.snow', 'berker.peksag', 'martin.panter', 'Jim.Jewett', 'serhiy.storchaka', 'gcbirzan', 'charettes', 'josh.r', 'V\xc3\xa1clav Dvo\xc5\x99\xc3\xa1k', 'Michael McCoy', 'iritkatriel']
    pr_nums = ['6461', '32027', '32034', '32035']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue12029'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifedocsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions