I'd like to deprecate and remove __nonzero__ on Deferreds.  Occasionally I see 
code where someone (maybe even me) does "if d:" where they should have been 
doing "@d.addCallback def cb(result): if result: ...".

Anybody else have this issue?  Objections?

-glyph


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to