Revert "bpo-44717: improve AttributeError on circular imports of submodules (GH-27299)" (GH-27331)

This reverts commit 8072a1181dd64135f700b44372fbf7bf91e68072.
8 files changed