[Tutor] What's the difference between Queue(in module Queue) and list(build_in class)?

daedae11 daedae11 at 126.com
Mon Feb 13 15:43:13 CET 2012


What's the difference between Queue(in module Queue) and list(build_in class)? 
I think that when I pass a same queue object to two different threads, the change in each thread will affect each other as same as Queue. So why don't we use list or other variable object?




daedae11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120213/7d60a733/attachment.html>


More information about the Tutor mailing list