[Stackless] Ca not send NONE into a channel? (was Re: timeout on channel receive)

Lloyd Weehuizen lloyd at fusion.net.nz
Mon Feb 26 12:16:26 CET 2007


Hey Paul

As far as I'm aware that is not supposed to happen. A fair amount of  
my code sends None down channels correctly.

Any way you can reproduce this?

Cheers,
Lloyd

On 26/02/2007, at 11:45 PM, Paul Sijben wrote:

> OK looked at asyncore and at my code. A relaxing weekend helped me  
> to quickly figure out what's wrong.
>
> I am several steps further ahead in the issues of scheduling and  
> locking.
>
> Running into the problem that I am trying to put None into a  
> channel, finding that the receiver never receives anything and  
> hence keeps waiting forever.
>
> Is this supposed to happen? (so should I workaround or file a bug?)
>
> Paul
>
>
> Richard Tew wrote:
>> On 2/24/07, Paul Sijben <sijben at eemvalley.com> wrote:
>>> What I can not find in the code is how the real socket is  
>>> addressed. I need to get recvfrom working which ought to be  
>>> simple once I understand how it works ;-)
>> You need to look at asyncore :-) Richard.  
>> _______________________________________________ Stackless mailing  
>> list Stackless at stackless.com http://www.stackless.com/mailman/ 
>> listinfo/stackless
>
> -- Paul Sijben tel: +31334566488 Eemvalley Technology fax:  
> +31334557523 the Netherlands http://eemvalley.com
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless


_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list