def set_context(self, context):
self._set_context(context, emit=False)<EOL>self._modified = (not context.load_path)<EOL>self.dataChanged.emit(self.CONTEXT_CHANGED |<EOL>self.REQUEST_CHANGED |<EOL>self.PACKAGES_PATH_CHANGED |<EOL>self.LOCKS_CHANGED |<EOL>self.LOADPATH_CHANGED |<EOL>self.PACKAGE_FILTER_CHANGED |<EOL>self.CACHING_CHANGED)<EOL>
Replace the current context with another.