Looking at that tinyvs.py, ...,this is a magic. How can you come up with stuff like this ,
core object is not copied, not wrapped but instead its attributes, plugins dir is just forwarded/copied to a new object so domains can be hijacked in script but functionality is kept.