'stack_context inconsistency (may be caused by yield '
'within a "with StackContext" block)')
+ # Break up a reference to itself to allow for faster GC on CPython.
+ self.new_contexts = None
+
class ExceptionStackContext(object):
"""Specialization of StackContext for exception handling.
'stack_context inconsistency (may be caused by yield '
'within a "with StackContext" block)')
+ # Break up a reference to itself to allow for faster GC on CPython.
+ self.new_contexts = None
+
class NullContext(object):
"""Resets the `StackContext`.