PyUtilib / pyutilib

A collection of general Python utilities, including logging and file IO, subprocess management, plugin systems, and workflow management.
BSD 3-Clause "New" or "Revised" License
34 stars 21 forks source link

`implements` does not enforce Plugin parent class #38

Open nerdoc opened 6 years ago

nerdoc commented 6 years ago

I just saw that I can use implements() on any class, even if this class doe snot inherit Plugin. The mechanism then noes not work - is it possible to add a check to that? (I think not, as it is only the declaration - no code is runing when declaring a class)