Févry Thibault added the comment:

One more update. When it fails, it sometimes fails with :

======================================================================
ERROR: testEiffelMetaClass1 (__main__.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./Tools/demo/eiffel.py", line 102, in testEiffelMetaClass1
    self._test(EiffelMetaClass1)
  File "./Tools/demo/eiffel.py", line 112, in _test
    class Test(Eiffel):
  File "./Tools/demo/eiffel.py", line 17, in __new__
    meta, name, bases, dict)
TypeError: type __qualname__ must be a str, not function

======================================================================
ERROR: testEiffelMetaClass2 (__main__.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./Tools/demo/eiffel.py", line 105, in testEiffelMetaClass2
    self._test(EiffelMetaClass2)
  File "./Tools/demo/eiffel.py", line 112, in _test
    class Test(Eiffel):
  File "./Tools/demo/eiffel.py", line 17, in __new__
    meta, name, bases, dict)
TypeError: type __qualname__ must be a str, not EiffelDescriptor

----------------------------------------------------------------------
Ran 2 tests in 0.004s

As I have no experience with metaclasses and all that stuff, I won't be able to 
fix it/find what's wrong.

----------

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

Reply via email to