This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients akihiro, vinay.sajip
Date 2021-05-19.10:04:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621418699.16.0.597253175198.issue44120@roundup.psfhosted.org>
In-reply-to
Content
The problem is caused by the "import logging" in bar/__init__.py, which causes bar.logging to not be found because it clashes with the stdlib logging package. If you change the statement to

from . import logging

then the error does not occur. So I don't think it is a bug, because it is caused by using a module name which is part of the stdlib in an ambiguous way.
History
Date User Action Args
2021-05-19 10:04:59vinay.sajipsetrecipients: + vinay.sajip, akihiro
2021-05-19 10:04:59vinay.sajipsetmessageid: <1621418699.16.0.597253175198.issue44120@roundup.psfhosted.org>
2021-05-19 10:04:59vinay.sajiplinkissue44120 messages
2021-05-19 10:04:59vinay.sajipcreate