5 ms·
Python has a lot of crazy metaprogramming capabilities. Ability to inspect stacks, override import, and more... The ones they removed are not commonly used at
by crazypython 5y ago
Python has a lot of crazy metaprogramming capabilities. Ability to inspect stacks, override import, and more...
The ones they removed are not commonly used at all.
- nitrogen 5y agoIs inspecting stacks used for logging backtraces during instrumentation?
- 6gvONxR4sf7o 5y agoI’ve gotten some great use out of it, personally.
- dehrmann 5y agoI used to work on a project the used gevent. I'd almost describe it as monkey-patched async io. It's scary-clever. Maybe there could be a subset of Python that removes the hyper dynamic parts so it can be compiled to something faster. Maybe I'm just describing Go.
- kingmaker 5y ago> Maybe there could be a subset of Python that removes the hyper dynamic parts so it can be compiled to something faster. What you’re describing is essentially Static Python (mentioned in the readme)