[docs] [issue12767] document threading.Condition.notify
report at bugs.python.org
Thu Aug 18 11:26:03 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> I asked the user who reported this documentation omission what he's
> using the 'n' argument for. His reply:
> "Yes I am using the n parameter, it is mainly to implement a
> subclass of Queue that supports "bulk" get and put operations. This
> enhances the performance of repeated get/put calls when the Queue is
> created using multiprocessing.Manager."
I think it's fine to document it. It's been there for a long time.
Besides, if we know how to notify one thread, we are certainly able to
notify n of them :)
Python tracker <report at bugs.python.org>
More information about the docs