[New-bugs-announce] [issue10892] segfault with "del X.__abstractmethods__"

Amaury Forgeot d'Arc report at bugs.python.org
Wed Jan 12 13:09:16 CET 2011

New submission from Amaury Forgeot d'Arc <amauryfa at gmail.com>:

A short crasher::
    class X(object): pass
    del X.__abstractmethods__

All versions since 2.6 are affected.
The fix is probably simple: the setter function type_set_abstractmethods() in typeobject.c should check for a NULL value.

keywords: easy
messages: 126086
nosy: amaury.forgeotdarc
priority: critical
severity: normal
status: open
title: segfault with "del X.__abstractmethods__"
type: crash
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list