This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Andras.Szalai
Recipients Andras.Szalai
Date 2012-12-12.18:28:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355336889.66.0.674591387362.issue16671@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-12-12 18:28:09Andras.Szalaisetrecipients: + Andras.Szalai
2012-12-12 18:28:09Andras.Szalaisetmessageid: <1355336889.66.0.674591387362.issue16671@psf.upfronthosting.co.za>
2012-12-12 18:28:09Andras.Szalailinkissue16671 messages
2012-12-12 18:28:09Andras.Szalaicreate