3 ms·
Do you implement inspect.stack, metaclasses, __mro_classes__, etc.?
by crazypython 6y ago
Do you implement inspect.stack, metaclasses, __mro_classes__, etc.?
- pfalcon 6y agoNo, I implement a generic object-oriented language with elements of functional paradigm, amenable for small-size VM and JIT implementation, a Python dialect. Extensibility is also important goal, but of course, extensibility and JITtability conflict, so you get ('ll get) one or another. That said, I have C3 MRO (i.e. full multiple inheritance support) in the devel branch. Metaclasses, I leave to upstream (they've got to do something useful too), at least until I need them (none so far: "generic language", remember? How will I port those metaclasses to C++? Python is certainly not the only language I use). inspect.stack - no go, CPython implementation detail.