[ZODB-Dev] ZEO 2 extension methods

Guido van Rossum guido@python.org
Wed, 30 Oct 2002 09:01:03 -0500


> Now that ZODB 3.1 is out the door (woohoo) I would like re-raise the
> question of storage extension methods in ZEO.
> 
> The patch below implements the interface that was wanted by everyone
> (except me, originally), and I would like to merge it with the
> trunk:
> 
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dirstorage/DirectoryStorage/doc/extension.diff?rev=1.
> 
> 
> The biggest docstring in the patch is:
> 
>         """getExtensionMethods - A new storage API method.
> 
>         This returns a dictionary whose keys are names of extra methods
>         provided by this storage. Storage proxies (such as ZEO) should
>         call this method to determine the extra methods that they need
>         to proxy in addition to the standard storage methods.
>         Dictionary values should be None; this will be a handy place
>         for extra marshalling information, should we need it
>         """

Unless Jeremy objects, this looks fine to me.  Please add spaces after
your commas though. :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)