2 ms·
It doesn't know what you're trying to do, it can just make a best-effort guess, which may be wrong. Maybe you are deep inside a session, trying to inspect a var
by 3np 5y ago
It doesn't know what you're trying to do, it can just make a best-effort guess, which may be wrong. Maybe you are deep inside a session, trying to inspect a variable or function called `exit` that just doesn't happen to be in scope like you expect? Exiting the process at that point could be terrible and the impact of the lost state exceed the lifetime-accumulated lost seconds that would have been saved by being "helpful".
If you really want this, consider using ipython with %autocall as your Python REPL.
https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-autocall https://ipython.readthedocs.io/en/stable/interactive/magics....