Skip to content

issubclass(obj, abc.ABC) causes a segfault #77180

Description

@izbyshev
mannequin
BPO 32999
Nosy @jab, @methane, @serhiy-storchaka, @ilevkivskyi, @izbyshev, @miss-islington
PRs
  • bpo-32999: Fix ABC.__subclasscheck__ crash #6002
  • [3.7] bpo-32999: Fix ABC.__subclasscheck__ crash (GH-6002) #6014
  • bpo-33018: Improve issubclass() error checking and message. #5944
  • bpo-32999: Revert GH-6002 (fc7df0e6) #6189
  • [3.7] bpo-32999: Revert GH-6002 (fc7df0e6) (GH-6189) #6190
  • bpo-32999: Convert useless check to assert #6197
  • [3.7] bpo-32999: ast: Convert useless check to assert (GH-6197) #6198
  • Files
  • stack-trace.txt
  • 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 2018-03-07.08:07:11.825>
    created_at = <Date 2018-03-05.16:19:41.316>
    labels = ['extension-modules', '3.7', '3.8', 'type-crash']
    title = 'issubclass(obj, abc.ABC) causes a segfault'
    updated_at = <Date 2018-03-23.09:43:17.020>
    user = 'https://github.com/izbyshev'

    bugs.python.org fields:

    activity = <Date 2018-03-23.09:43:17.020>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-03-07.08:07:11.825>
    closer = 'izbyshev'
    components = ['Extension Modules']
    creation = <Date 2018-03-05.16:19:41.316>
    creator = 'izbyshev'
    dependencies = []
    files = ['47470']
    hgrepos = []
    issue_num = 32999
    keywords = ['patch']
    message_count = 18.0
    messages = ['313259', '313261', '313266', '313269', '313284', '313321', '313322', '313333', '313369', '313374', '313375', '313377', '313378', '313396', '314251', '314256', '314300', '314301']
    nosy_count = 6.0
    nosy_names = ['jab', 'methane', 'serhiy.storchaka', 'levkivskyi', 'izbyshev', 'miss-islington']
    pr_nums = ['6002', '6014', '5944', '6189', '6190', '6197', '6198']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue32999'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions