[issue34269] logging in 3.7 behaves different due to caching

Karthikeyan Singaravelan report at bugs.python.org
Tue Jul 31 12:14:47 EDT 2018


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

Okay, I did some code search on GitHub for `logging.Logger.manager.loggerDict.clear()` (https://github.com/search?q=logging.Logger.manager.loggerDict.clear%28%29&type=Code) and there was some code in the test_logging where it was used in tearDown and setUp so I thought it's a public function. My bad on not reading the docs. I agree that it's not a bug if it's an undocumented internal implementation related change that one should not rely upon. 

Thanks

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34269>
_______________________________________


More information about the Python-bugs-list mailing list