mirror of
https://github.com/python/cpython.git
synced 2026-01-27 21:25:12 +00:00
Setting the __class__ attribute of a lazy-loading module to ModuleType enables other threads to attempt to access attributes before the loading is complete. Now that is protected by a lock.