[issue5787] object.__getattribute__(super, '__bases__') crashes the interpreter.

Aleksi Torhamo report at bugs.python.org
Sat Apr 18 22:50:15 CEST 2009


Aleksi Torhamo <alexerion+pythonbugs at gmail.com> added the comment:

Just verified that r71722 fixes all the builtins, however i just noticed
that some types under module types cause segfaults too.

Under python2.7 those are: CodeType BuiltinMethodType DictProxyType
GeneratorType GetSetDescriptorType EllipsisType FrameType InstanceType
MemberDescriptorType

Not sure, but i'm guessing there might be yet more types somewhere, that
need fixing (as the only places i've looked at are __builtins__ and
types - the first ones to cause problems/come to mind). Would there be
some way to find out all defined types, or to fix this for all types in
a single place?

----------
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5787>
_______________________________________


More information about the Python-bugs-list mailing list