##### SUMMARY

Implement `find_spec` and `exec_module` in the `RestrictedModuleLoader` for Python 3.10 and later. This depends on updating the collection loader first.

See also: https://github.com/ansible/ansible/issues/72952

Depends on: https://github.com/ansible/ansible/issues/74660

##### ISSUE TYPE

Feature Idea

##### COMPONENT NAME

test/lib/ansible_test/_data/sanity/import/importer.py
cmd = [
            
            
            virtualenv_python.path,
            '-m', 'mypy',
            '--show-column-numbers',
            '--show-error-codes',
            '--no-error-summary',
            
            '--allow-redefinition',
            
            '--follow-imports', 'normal',
            
            
            '--no-incremental',
            '--cache-dir', '/dev/null',
            
            
            '--platform', 'linux',
            
            
            
            
            
            
            '--python-executable', virtualenv_python.path,
            '--python-version', python.version,