On Jan 10, 2005, at 16:38, Phillip J. Eby wrote:

At 07:42 PM 1/10/05 +0100, Alex Martelli wrote:

On 2005 Jan 10, at 18:43, Phillip J. Eby wrote:
   ...
I am not saying we shouldn't have a tp_conform; just suggesting that it may be appropriate for functions and modules (as well as classic classes) to have their tp_conform delegate back to self.__dict__['__conform__'] instead of a null implementation.

I have not considered conformance of such objects as functions or modules; if that is important,

It's used in at least Zope and PEAK; I don't know if it's in use in Twisted.

SVN trunk of Twisted (what will be 2.0) uses zope.interface. It still has the older stuff implemented as a wrapper on top of zope.interface, but I think the guideline is to just use zope.interface directly for new code dependent on Twisted 2.0.


-bob

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to