svn path=/main/branches/2.1.2/; revision=5911
import portage
import portage_util, portage_const
+import portage_dep
+portage_dep._dep_check_strict = True
# do this _after_ 'import portage' to prevent unnecessary tracing
if debug and "python-trace" in portage.features:
bad = create_color_func("BAD")
import portage_dep
+portage_dep._dep_check_strict = True
import portage_util
import portage_locks
import portage_exception
# This is just for use by emerge so that it can enable a backward compatibility
# mode in order to gracefully deal with installed packages that have invalid
-# atoms or dep syntax.
-_dep_check_strict = True
+# atoms or dep syntax. For backward compatibility with api consumers, strict
+# behavior will be explicitly enabled as necessary.
+_dep_check_strict = False
def use_reduce(deparray, uselist=[], masklist=[], matchall=0, excludeall=[]):
"""