[Zope-Checkins] CVS: Zope3/lib/python/Zope/ContextWrapper - __init__.py:1.1.2.4

Steve Alexander steve@cat-box.net
Wed, 17 Apr 2002 18:37:02 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/ContextWrapper
In directory cvs.zope.org:/tmp/cvs-serv23232/lib/python/Zope/ContextWrapper

Modified Files:
      Tag: Zope-3x-branch
	__init__.py 
Log Message:
added explanatory comment of what is imported into __init__.py now,
and what it should look like in the future.


=== Zope3/lib/python/Zope/ContextWrapper/__init__.py 1.1.2.3 => 1.1.2.4 ===
 """
 from wrapper import *
+
+# import the current, and rather hacky, python implementation of
+# method rebinding.
+# 
+# eventually this should be replaced by some C, and ContextMethod
+# should be a decriptor class rather than a factory that hacks the
+# method's __dict__, as the current ContextMethod does.
+# 
 from SimpleMethodWrapper import SimpleMethodWrapper as Wrapper
 from SimpleMethodWrapper import ContextMethod