[Zope-Checkins] CVS: Releases/Zope/lib/python - Globals.py:1.49
Evan Simpson
evan@zope.com
Tue, 13 Nov 2001 14:32:20 -0500
Update of /cvs-repository/Releases/Zope/lib/python
In directory cvs.zope.org:/tmp/cvs-serv23899
Modified Files:
Globals.py
Log Message:
Refactor REPLACEABLE constants into Globals, to allow them to be used
without circular import problems. Factor out manage_importObject's guts.
=== Releases/Zope/lib/python/Globals.py 1.48 => 1.49 ===
__version__='$Revision$'[11:-2]
+# Global constants: __replaceable__ flags:
+NOT_REPLACEABLE = 0
+REPLACEABLE = 1
+UNIQUE = 2
+
import Acquisition, ComputedAttribute, App.PersistentExtra, os
import TreeDisplay, string