mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
200271c61d
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.