svn path=/main/trunk/; revision=5907
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=[]):
"""