<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Richard Tew wrote:
<blockquote
cite="mid:952d92df0903140904v7242ea23i4e5b759db297dd64@mail.gmail.com"
type="cite">
<pre wrap="">On Sat, Mar 14, 2009 at 12:02 PM, Paul Sijben <a class="moz-txt-link-rfc2396E" href="mailto:sijben@eemvalley.com"><sijben@eemvalley.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">well, sometimes channel.receive gives me None while nothing was put in.
</pre>
</blockquote>
<pre wrap=""><!---->
Hi Paul,
Can you elaborate on this?
Cheers,
Richard.
</pre>
</blockquote>
sure, I found that a receive() on a channel sometimes returns None but
I did not put in None. So I worked around that by always putting in a
tuple an checking if I received a tuple. <br>
<br>
<pre class="moz-signature" cols="72">--
Paul Sijben          tel: +31334566488
Eemvalley Technology                 fax: +31334557523
the Netherlands         <a class="moz-txt-link-freetext" href="http://eemvalley.com">http://eemvalley.com</a>
</pre>
</body>
</html>