[Stackless] Question about Channel Queue attribute
andrewfr_ice at yahoo.com
Sun Dec 6 20:47:25 CET 2009
I am using python 2.5.2 on Ubuntu 9.04...
I noticed that channel.queue returns the head of the queue rather than
the queue. I also looked at channel_get_queue() in channelObject.c. I
have to admit, my C is a bit rusty but it looks like it returns the
first object in the queue.
In contrast, when I use Stackless.py, I get back a dequeue (this is the way it is implemented) which is what I would expect.
What is the correct behaviour?
More information about the Stackless