Move the registration of CPython builtin modules to BuiltinRegistry (#67085)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67085
leverages BuiltinRegistry to register the CPython standard C modules. The standard C modules moved are in the FOR_EACH macro
Test Plan:
buck test mode/opt //caffe2/torch/csrc/deploy/interpreter:test_builtin_registry
buck test mode/opt //caffe2/torch/csrc/deploy:test_deploy
Reviewed By: shunting314
Differential Revision: D31848547
fbshipit-source-id: 7eb49d222eaaccb2b8ca5c984b05bf54cc233f25