py: Implement globals() and locals() builtins.