[issue44120] logging.config.fileConfig/dictConfig can not import class

2021-05-24 Thread Hiroaki Mizuguchi
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

[issue44120] logging.config.fileConfig/dictConfig can not import class

2021-05-23 Thread Hiroaki Mizuguchi
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

[issue44120] logging.config.fileConfig/dictConfig can not import class

2021-05-20 Thread Hiroaki Mizuguchi
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

[issue44120] logging.config.fileConfig/dictConfig can not import class

2021-05-19 Thread Hiroaki Mizuguchi
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

[issue44120] logging.config.fileConfig/dictConfig can not import class

2021-05-13 Thread Hiroaki Mizuguchi
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