[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.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com