[Zope3-dev] Re: IFileSystem questions. XXX comments to clean up.

Steve Alexander steve at canonical.com
Thu Sep 30 13:09:46 EDT 2004


Steve Alexander wrote:
> I have just checked in some XXX comments into IFileSystem from
> 
>   zope/server/interfaces/ftp.py
> 
> 
> These comments are for parts of the interface that I feel are 
> underspecified.  I do not know what the correct specification for these 
> things is.

One more:

I've re-written the docstring to writefile(), trying to make it clearer,

I've added this comment to the confusing case at the end of the docstring.


     If `start` is specified and the file doesn't exist or is shorter
     than `start`, the data in the file before `start` file will be
     undefined.

     XXX: What about raising an exception if you try to write a new file
          starting not at 0, or try to write a file starting after its
          end point?

-- 
Steve Alexander


More information about the Zope3-dev mailing list