Hiroaki Mizuguchi added the comment:
I understand. I am mistaken about class loading. I will withdraw this issue.
--
___
Python tracker
<https://bugs.python.org/issue44
Hiroaki Mizuguchi added the comment:
> Then bar.logging is ambiguous.
Yes, I agree.
But this bug is happen new testcase that resolve 'foobar.baz.FooBarFormatter'
when 'foo' module has 'import baz' statement or 'baz' variable.
--
___
Pyt
Hiroaki Mizuguchi added the comment:
bar module use logging module of stdlib not bar.logging module in this test
case.
change the statement to `from . import logging` is not a solution.
--
___
Python tracker
<https://bugs.python.org/issue44
Change by Hiroaki Mizuguchi :
--
keywords: +patch
pull_requests: +24846
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26229
___
Python tracker
<https://bugs.python.org/issu
New submission from Hiroaki Mizuguchi :
This bug is loading bar.logging.FooBarFormatter is occur "ModuleNotFoundError:
No module named 'bar.logging.FooBarFormatter'; 'bar.logging' is not a package"
when bar module has 'import logging' directive.
logging.confi