[Zope3-checkins] SVN: Zope3/trunk/ Moved an XXX to the to do list and removed the XXX about docstring

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Jul 8 16:21:53 EDT 2004


Log message for revision 26232:
Moved an XXX to the to do list and removed the XXX about docstring 
formatting. The Introspector is far behind here. The API doc tool does 
this nicely and will be developed further.



-=-
Modified: Zope3/trunk/doc/TODOLATER.txt
===================================================================
--- Zope3/trunk/doc/TODOLATER.txt	2004-07-08 20:07:54 UTC (rev 26231)
+++ Zope3/trunk/doc/TODOLATER.txt	2004-07-08 20:21:53 UTC (rev 26232)
@@ -2,6 +2,9 @@
 Things to do After the next release (in no particular order) 
 ============================================================
 
+- When converting a possible site to a site, prompt the user for services that
+  should be added right away. See zope/app/site/browser/__init__.py
+
 - http://dev.zope.org/Zope3/TALESPathExpressionAdapters
 
 - I think the session api needs a little more work.  Among other

Modified: Zope3/trunk/src/zope/app/site/browser/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/site/browser/__init__.py	2004-07-08 20:07:54 UTC (rev 26231)
+++ Zope3/trunk/src/zope/app/site/browser/__init__.py	2004-07-08 20:21:53 UTC (rev 26232)
@@ -435,8 +435,6 @@
     def addSiteManager(self):
         """Convert a possible site to a site
 
-        XXX we should also initialize some user-selected services.
-
         >>> from zope.app.traversing.interfaces import IContainmentRoot
         >>> from zope.interface import implements
 
@@ -590,8 +588,6 @@
         self.iface = getProxiedObject(iface)
         
         self.name = self.iface.__name__
-        # XXX the doc string needs some formatting for presentation
-        # XXX self.doc = self.iface.__doc__
         self.doc = getattr(self.iface, '__doc__', '')
         self.methods = []
         self.schema = []



More information about the Zope3-Checkins mailing list