[Zope3-checkins] CVS: Zope3/src/zope/context - __init__.py:1.27

Steve Alexander steve@cat-box.net
Thu, 19 Jun 2003 13:25:49 -0400


Update of /cvs-repository/Zope3/src/zope/context
In directory cvs.zope.org:/tmp/cvs-serv9803/src/zope/context

Modified Files:
	__init__.py 
Log Message:
Fix to collector issue http://collector.zope.org/Zope3-dev/171

Thanks for Philipp von W. for reporting the bug and providing a concise
test case.



=== Zope3/src/zope/context/__init__.py 1.26 => 1.27 ===
--- Zope3/src/zope/context/__init__.py:1.26	Sat Jun 14 08:58:16 2003
+++ Zope3/src/zope/context/__init__.py	Thu Jun 19 13:25:19 2003
@@ -126,7 +126,10 @@
 
 # Make a set of special names that we must avoid touching when making the
 # descriptors of a class context-aware.
-_special_names = ['__module__', '__dict__', '__weakref__', '__doc__']
+_special_names = [
+    '__module__', '__dict__', '__weakref__', '__doc__', '__providedBy__',
+    '__implements__'
+    ]
 _special_names = dict(zip(_special_names, _special_names))
 
 def _context_aware_advice(cls):