check if class really implements api?

Karsten W. DonQuixoteVonLaMancha at gmx.net
Tue Jan 3 15:56:58 EST 2006


Hello,
with the zope.interface module I can query if my class claims to
implement my API. This
is what the method implementedBy is for.

However, I find myself constantly changing the API and I am looking for
a more reliable way
to check my implementation classes. Is there a way to check if at least
all function
names of the API are defined by the class and if their parameter lists
fit the API? A way
to test this would save me a lot of time..

Kind regards,
Karsten.




More information about the Python-list mailing list