3 ms·
gc allows to get any [non-leaky] object from anywhere. You can even drop into repl over the network. Debugger can be started on exception if desired e.g., pyte
by d0mine 2y ago
gc allows to get any [non-leaky] object from anywhere. You can even drop into repl over the network.
Debugger can be started on exception if desired e.g., pytest provides `--pdb` arg. Though repl is different--you don't need to interrupt the app itself while you are inspecting it e.g., async repl can be run in the same thread alongside the rest of the app.
I can't remember a single case there Python's dynamism weren't enough for the task (most of the times it is the opposite--there could be less dynamism).