Verify PyProtocols interfaces?

T

Terry Hancock

Hi all,
PyProtocols is a very nice interface/component/adapter library,
but it appears to lack one thing I'm quite hooked on, which is
the ability to verify that objects implement a given interface.

I'd like something like the 'verify' functionality that Zope3
interfaces provide.

Is there something 3rd party that would do the trick?

I suppose it wouldn't be that hard to write something that will
walk the Interface and check signatures and attributes against
the object, but I was sort of hoping I wouldn't have to write this
part.

Unfortunately, this is kind of hard to google for, because all
the relevant words are too common.

Cheers,
Terry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top