[Zope3-dev] Important Heads Up: I'm making IResult private

Jeff Shell eucci.group at gmail.com
Mon Dec 26 13:12:14 EST 2005


On 12/23/05, Jim Fulton <jim at zope.com> wrote:
>
> I've been working on trying to clean up the IResult/response.write mess.
> I want to retract IResult from the public API.
>
> Here's what I propose to do:
>
> - Move IResult from zope.publisher.interfaces.http to
>    zope.publisher.http, thus making it a private interface.
>
> - I'm arranging that a published method can simply return a file,
>    rather than a string. This will be how you can efficiently
>    return large results.

By file, do you mean a Python ``file`` object? Will StringIO suffice?
Or will a very simple interface like IReadFile
(zope.app.filerepresentation) be enough?


More information about the Zope3-dev mailing list