On Tue, Jul 11, 2006 at 05:14:58PM -0400, [EMAIL PROTECTED] wrote:
[...]
> 
> - "ISSLTransport(x, None) is not None" seems to have evolved into an idiom, 
> but I'm pretty sure that this is just a reflection of the bad, old 
> interfaces system.  Anybody else know if there's a reason for this rather 
> than a providedBy check?

The difference I see is that a providedBy check won't lookup an adapter, so
"ISSLTransport.providedBy(x)" doesn't mean the same thing as "ISSLTransport(x,
None) is not None".  It might be what was intended here, of course.

-Andrew.


_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to