[issue42842] module 'logging' has not attribute 'handlers'

2021-01-06 Thread Vinay Sajip
Vinay Sajip added the comment: This is not a bug - this is how it is supposed to work. The handlers module isn't automatically loaded; you have to import it. The basic handlers (NullHandler, StreamHandler, FileHandler) are in the logging module - additional handlers are in logging.handlers.

[issue42842] module 'logging' has not attribute 'handlers'

2021-01-06 Thread hai shi
Change by hai shi : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue42842] module 'logging' has not attribute 'handlers'

2021-01-06 Thread sasquatchplatypus
Change by sasquatchplatypus : -- title: import logging.handlers shows weird behavior -> module 'logging' has not attribute 'handlers' ___ Python tracker ___ __