why the method get() of python Queue is hang on there?

Gabriel Genellina gagsl-py at yahoo.com.ar
Mon Aug 14 17:55:59 EDT 2006


At Monday 14/8/2006 12:35, zxo102 wrote:

>Thanks for your guys. I got it.  I thought  Queue can be used anywhere
>in the code and the second b.get() would return a "None".

You can use a list as a generic queue, with append (== push) and pop(0)



Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list