New submission from Serhiy Storchaka:

In Lib/logging/__init__.py at line 1089 _loggerClass is initialized to None. 
The code in Manager.getLogger() expects that it can be None. But at line 1549 
_loggerClass is initialized to Logger. And there is no official way to set it 
to None. Looks as either initialization to None and the code in 
Manager.getLogger() are redundant or initialization to Logger is redundant.

----------
components: Library (Lib)
messages: 233313
nosy: serhiy.storchaka, vinay.sajip
priority: normal
severity: normal
status: open
title: _loggerClass is initialized twice

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

Reply via email to