[Zope-Checkins]
CVS: Releases/Zope/lib/python/Products/PythonScripts
- PythonScript.py:1.46.2.7
Evan Simpson
evan at 4-am.com
Thu Jan 15 14:44:00 EST 2004
Update of /cvs-repository/Releases/Zope/lib/python/Products/PythonScripts
In directory cvs.zope.org:/tmp/cvs-serv18725/lib/python/Products/PythonScripts
Modified Files:
Tag: Zope-2_7-branch
PythonScript.py
Log Message:
Collector #1074: Change Scripts' __name__ to None, added unit tests for the effect of __name__ on class definitions and imports.
=== Releases/Zope/lib/python/Products/PythonScripts/PythonScript.py 1.46.2.6 => 1.46.2.7 ===
--- Releases/Zope/lib/python/Products/PythonScripts/PythonScript.py:1.46.2.6 Thu Jan 8 18:33:52 2004
+++ Releases/Zope/lib/python/Products/PythonScripts/PythonScript.py Thu Jan 15 14:43:29 2004
@@ -259,7 +259,7 @@
g = get_safe_globals()
g['_getattr_'] = guarded_getattr
g['__debug__'] = __debug__
- g['__name__'] = self.id
+ g['__name__'] = None
l = {}
exec code in g, l
More information about the Zope-Checkins
mailing list