New submission from sasquatchplatypus :
when trying to import a handler from logging.handlers, you have to explicitely
import logging.handlers, because trying to get it from logging directly (for
example import logging, logging.handlers.RotatingFileHandlers)
raises this error: AttributeError: module 'logging' has no attribute 'handlers'
--
messages: 384509
nosy: sasquatchplatypus
priority: normal
severity: normal
status: open
title: import logging.handlers shows weird behavior
type: behavior
versions: Python 3.9
___
Python tracker
<https://bugs.python.org/issue42842>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com