Vinay Sajip added the comment:

Why do you think None is a valid value to send for normal operation? Since the 
queue is only meant for sending logging events (records), it seems reasonable 
to send None as a sentinel - it should never be seen during operation.

The QueueListener is *supposed* to stop if it sees a None, so don't send those 
over the queue - just send logging events - until you want to shut the listener 
down.

You can of course set the sentinel to whatever you want, in your own code, and 
then send that. The default value of None seems OK to me.

So I don't believe this is a valid issue - marking as such and as pending, and 
I will close this shortly unless you come back with some more information.

----------
assignee:  -> vinay.sajip
resolution:  -> invalid
status: open -> pending
versions:  -Python 3.1

_______________________________________
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

Reply via email to