[Zope-Checkins] CVS: Zope/lib/python/ZConfig - datatypes.py:1.11

Fred L. Drake, Jr. fred@zope.com
Mon, 24 Mar 2003 15:42:37 -0500


Update of /cvs-repository/Zope/lib/python/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv2023

Modified Files:
	datatypes.py 
Log Message:
Remove the "constructor" and "key-value" datatypes; these are no longer used
and are of questionable value.  "constructor" is also generally unsafe;
applications that need it can provide their own version of this if necessary.


=== Zope/lib/python/ZConfig/datatypes.py 1.10 => 1.11 ===
--- Zope/lib/python/ZConfig/datatypes.py:1.10	Tue Mar 18 11:11:53 2003
+++ Zope/lib/python/ZConfig/datatypes.py	Mon Mar 24 15:42:07 2003
@@ -298,8 +298,8 @@
     "existing-path":     existing_path,
     "existing-file":     existing_file,
     "existing-dirpath":  existing_dirpath,
-    "constructor":       constructor_conversion,
-    "key-value":         space_sep_key_value_conversion,
+    #"constructor":       constructor_conversion,
+    #"key-value":         space_sep_key_value_conversion,
     "byte-size":         SuffixMultiplier({'kb': 1024,
                                            'mb': 1024*1024,
                                            'gb': 1024*1024*1024L,