Andrew, don't you mean that the call to ch.receive() "returns immediately"? No offense, but when you say "nothing happens", it seems to indicate that the main tasklet is blocked on the channel. Yesterday Richard posted about this also (I'm surprised you didn't post this as a reply), saying that it "exited immediately", which made me think the interpreter exited. I was even about to reply to that email saying, "well, it doesn't exit on my machine with the latest release-maint", before realizing that it should probably raise an error ;-) (Sounds like our man had a rough day though.)<br>
<br>Also, I think you should mention the Stackless version(s) you are using on the Debian and Mac boxes. Probably not the same version, right? If you haven't already, I think you should read Richards post about this.<br>
<br>(On Ubuntu Hardy, using the latest release-maint build, using the same code, the call to ch.receive() also returns immediately with no error.)<br><br>Respect<br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 7:57 AM, Andrew Francis <<a href="mailto:andrewfr_ice@yahoo.com">andrewfr_ice@yahoo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Folks:<br>
<br>
I am using stackless 3.1b3 060516 (release25-maint,<br>
Apr 2 2008) on win32. I used the Stackless installer.<br>
<br>
I do the following:<br>
<br>
import stackless<br>
ch = stackless.channel()<br>
ch.receive()<br>
<br>
and nothing happens.<br>
<br>
I was expecting<br>
<br>
RuntimeError: Deadlock: the last runnable tasklet<br>
cannot be blocked.<br>
<br>
I repeated the test on an ASUS running Debian 4.1.1-21<br>
and a Mac and I get the Deadlock error.<br>
<br>
The only thing I notice is that my machine<br>
occasionally complains about not finding<br>
pywin32type.dll. I have not been able to find this<br>
dll.<br>
<br>
Hopefully this is a problem with my machine and not<br>
stackless.<br>
<br>
Cheers,<br>
Andrew<br>
<br>
<br>
____________________________________________________________________________________<br>
Be a better friend, newshound, and<br>
know-it-all with Yahoo! Mobile. Try it now. <a href="http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ" target="_blank">http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ</a><br>
<br>
_______________________________________________<br>
Stackless mailing list<br>
<a href="mailto:Stackless@stackless.com">Stackless@stackless.com</a><br>
<a href="http://www.stackless.com/mailman/listinfo/stackless" target="_blank">http://www.stackless.com/mailman/listinfo/stackless</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Phoenix Sol<br>541-646-8612<br>130 'A' Street,<br>Suite 6<br>Ashland, Oregon<br>97520