Jan-03-2022, 09:58 AM
First attempt to get filename where __enter__ occours:
grep -Rl __enter__ .pyenv/versions/3.11.0a3 | egrep ".py$" | xargs -n1 basename | egrep -v "^test|^_" | sort -uTo gather more information, you have to use some functions from inspect.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!