3 ms·
The inspecting of stack frames is used by the logging library, and by most unit testing libraries. There are dozens of these small features which are challengin
by Jasper_ 5y ago
The inspecting of stack frames is used by the logging library, and by most unit testing libraries. There are dozens of these small features which are challenging, and if you remove all of the challenging ones, you end up with something where pretty much no existing Python can run.
People have tried, pypy started with that goal before it became clear it wasn't practical.
- akx 5y agoI think logging inspects frames while they're still on the stack, not post-fact..?