[Twisted-web] Re: [Web-SIG] A more Twisted approach to
async apps in WSGI
Samuel Reynolds
sam at SpinwardStars.com
Tue Oct 5 09:41:44 MDT 2004
At 2004-10-05 12:52 AM -0400, you wrote:
>I assume callback('') is used to indicate end of incoming data: that
>should be specified.
Reasonable assumption. But this is Python; why not
callback(None) to indicate no more data?
Semantically, None makes more sense here than
an empty string.
Just my $.02.
- Sam
__________________________________________________________
Spinward Stars, LLC Samuel Reynolds
Software Consulting and Development 303-805-1446
http://SpinwardStars.com/ sam at SpinwardStars.com
More information about the Twisted-web
mailing list