Reflection tools for inspecting Python objects and code