New submission from Romuald Brunet <romuald.bru...@gmail.com>:
Context: I'm using a custom Handler that relies on a third-party library that may not be present try: from acme.logging import CustomHandler as BaseHandler except ImportError: import logging.NullHandler as BaseHandler class MoreCustomHandler(BaseHandler): def handle(self): self.stuff() The logging configuration has some arguments for the CustomHandler. The problem is that the NullHandler does not accept them. I expected it to be a "dummy" handler that might accept any argument ---------- components: Library (Lib) messages: 322861 nosy: Romuald priority: normal severity: normal status: open title: NullHandler init refusing arguments type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34307> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com