quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Benson <gben...@redhat.com>
Subject Re: None to indicate EOS [was Re: [mod_python] Filter chaining bug]
Date Thu, 26 Sep 2002 16:40:18 GMT
Sorry, I didn't mean that at all, but I expressed myself really badly.

What I really should have said was that you can omit the 'if line is
None:' because you always need to close the filter and send the EOS.

Is there any reason why the EOS isn't sent by the filterobject's

On Wed, Sep 25, 2002 at 01:41:15PM -0400, Gregory (Grisha) Trubetskoy wrote:

> Do you mean why I chose to do it this way? I don't know, I'm guessing EOS
> is a special value and so is None, and so it was the easiest thing to
> indicate an EOS with None...
> But if anyone has a suggestion for a more intuitive way of dealing with
> EOS, now is the time to suggest it!  :-)
> On Wed, 25 Sep 2002, Gary Benson wrote:
> > Why the "if line is None"?

View raw message