Deprecate globals using module-level __getattr__.
#20733
+86
−49
Merged