[Python-ideas] Really support custom types for global namespace