Open gavento opened 11 months ago
A related enhancement:
With non-closing contexts, it could be helpful to add some automatic closing (with some non-critical error) when a context goes out of scope. This could be done in in __del__
except that Context is likely kept in the parent Context. (Could be del of a thin wrapper? Some other way?)
I want to repeatedly use a context as a parent context for others, but not close it after the first use.
I want something like this:
This would be especially handy in jupyter notebooks.
One solution would be to have something like: