New submission from Hiroaki Mizuguchi <hiroak...@iij.ad.jp>:

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.config._resolve and logging.config.BaseConfiguration.resolve has the 
bug.

See also my testcase repository: 
https://github.com/akihiro/python-logging-config-testcase

----------
components: Library (Lib)
messages: 393557
nosy: akihiro
priority: normal
severity: normal
status: open
title: logging.config.fileConfig/dictConfig can not import class
type: crash
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44120>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to