It turned out that the SDK has changed.
I had a file with a name appengine_config.pythat (specifically for the development server) included a couple of C modules.
from google.appengine.tools.devappserver2.python import sandbox
sandbox._WHITE_LIST_C_MODULES += ['_ssl', '_socket']
, (, , ):
File "[...]/devappserver2/python/runtime/sandbox.py", line 1091, in load_module
raise ImportError('No module named %s' % fullname)
ImportError: No module named _socket
runtime ? -, . .runtime :
from google.appengine.tools.devappserver2.python.runtime import sandbox
, , ! ✅ .
🎉