[Python-ideas] Restricting access to sensitive APIs with a permission model like Deno