[Python-Dev] Autoloading? (Making Queue.Queue easier to use)
Antoine Pitrou
solipsis at pitrou.net
Wed Oct 12 18:11:40 CEST 2005
> Maybe Queue belongs in a module called synchronize to avoid any confusions.
Why not /just/ make the doc a little bit more explicit ?
Instead of saying:
It is especially useful in threads programming when information
must be exchanged safely between multiple threads.
Replace it with:
It is dedicated to threads programming for safe exchange of
information between multiple threads. On the other hand, if you
are only looking for a single-thread queue structure, use the
built-in list type, or the deque class from the collections
module.
If necessary, put it in bold ;)
More information about the Python-Dev
mailing list