New submission from Andras Szalai: In the class `logging.handlers.QueueListener` the `_sentinel` is `None`.
But >>> a = None >>> b = None >>> a is b True Because of this, the QueueListener stops if it receives a `None`. Were the sentinel a proper instance, like: _sentinel = {} This would not happen. ---------- messages: 177385 nosy: Andras.Szalai priority: normal severity: normal status: open title: logging.handlers.QueueListener sentinel should not be None type: behavior versions: Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16671> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com