On Feb 7, 2008, at 3:34 PM, Greg Ewing wrote:
> Or maybe this is a task for pylint?


Maybe a lint tool could help, but it's not unusual for this to be  
relevant only for specific instances, not necessarily all instances.   
Certainly with zope.interface, you can create objects that provide a  
particular interface (and are recognized as providing it) without it  
being tied to their class.

This is an important strength of the zope.interface module.  Since  
it's entirely dependent on the dynamic behavior of the application, a  
lint tool will probably have a hard time with that.


   -Fred

-- 
Fred Drake   <fdrake at acm.org>




_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to