interpretthis 0.3.0

Sandboxed Python AST interpreter for untrusted and LLM-generated code
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# Pins: class bases from attribute expressions (module.Class).
class Base:
    def tag(self):
        return "base"

class Holder:
    Parent = Base

class Child(Holder.Parent):
    pass

print(Child().tag())