[Zope3-Users] Dynamic Typing: Are checks on interface compliance possible?

Michael Howitz mh at gocept.com
Thu May 18 02:29:41 EDT 2006


Reinhold Strobl wrote:
> Hi,
> 
> what I am looking for is something like PyChecker for Zope interfaces. I mean
> PyChecker aims to address the benefit of static typed languages and their
> compile-time checkings. 
> 
> In Zope, there is no forced interface compliance. But is there a possibility or
> program, which can check this?

Hi,

you should have a look at zope.interface.verify. With verifyClass and 
verifyObject you can check the interface compliance for classes and objects.

HTH,
  mac


More information about the Zope3-users mailing list