Serhiy Storchaka added the comment:

Class decorator approach looks less obvious to me. Looking at current standard 
mixing approach I understand what it do and why. But encountering the 
unittest.base_class decorator, I need to look in the documentation and/or 
sources to understand how it works.

IMHO this decorator adds a burden for readers (which needs to learn yet one 
thing) and adds only small benefit for whose writers which use IDE (not me).

----------

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

Reply via email to