New submission from Roald de Vries <pyt...@roalddevries.nl>:

Exception raised::

  Traceback (most recent call last):
    File "bug.py", line 5, in <module>
      class derived(type, Sized):
    File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/abc.py",
 line 85, in __new__
      for name in getattr(base, "__abstractmethods__", set()):
  TypeError: Error when calling the metaclass bases
      'getset_descriptor' object is not iterable

----------
files: bug.py
messages: 113094
nosy: roalddevries
priority: normal
severity: normal
status: open
title: metaclass can't derive from ABC
type: compile error
versions: Python 2.6
Added file: http://bugs.python.org/file18414/bug.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9533>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to