def iter_context_objects(self):
        use_gevent = is_gevent_enabled()
        tid = greenlet_get_ident() if use_gevent else thread_get_ident()
        objects = self._cache.get(tid)
        if objects is None:
            if len(self._cache) > _MAX_CONTEXT_OBJECT_CACHE:
                self._cache.clear()
            objects = self._global[:]
            objects.extend(getattr(self._thread_context, 'stack', ()))
            if use_gevent:
                objects.extend(getattr(self._greenlet_context, 'stack', ()))
            objects.sort(reverse=True)
            objects = [x[1] for x in objects]
            self._cache[tid] = objects
        return iter(objects)
return libC-object to be used for NIC handling in dhcpy6d and Config.py
dataset/ETHPy150Open getlogbook/logbook/logbook/_fallback.py/ContextStackManager.iter_context_objects--crossover with--dataset/ETHPy150Open HenriWahl/dhcpy6d/dhcpy6/Helpers.py/GetLibC