<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Python &#8216;all&#8217; odity</title>
	<atom:link href="http://eikke.com/python-all-odity/feed/" rel="self" type="application/rss+xml" />
	<link>http://eikke.com/python-all-odity/</link>
	<description>&#039;cause this is what I do</description>
	<lastBuildDate>Sat, 19 May 2012 23:33:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: jwm</title>
		<link>http://eikke.com/python-all-odity/comment-page-1/#comment-39218</link>
		<dc:creator>jwm</dc:creator>
		<pubDate>Tue, 19 Oct 2010 21:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://eikke.com/python-all-odity/#comment-39218</guid>
		<description>Today I was suspecting the same thing, that all() did not bail early.
Here is some code that demonstrates that it does bail on the first False

&lt;code&gt;
x = []
def testnum5(n):
    x.append(1)
    return n==5

print all( (testnum5(i) for i in [5,5,5,1,5,5]) )
print &#039;testnum5() called:&#039;,sum(x)
# should be 4 if all() bails early, which it is
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Today I was suspecting the same thing, that all() did not bail early.<br />
Here is some code that demonstrates that it does bail on the first False</p>
<p><code><br />
x = []<br />
def testnum5(n):<br />
    x.append(1)<br />
    return n==5</p>
<p>print all( (testnum5(i) for i in [5,5,5,1,5,5]) )<br />
print 'testnum5() called:',sum(x)<br />
# should be 4 if all() bails early, which it is<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicke</title>
		<link>http://eikke.com/python-all-odity/comment-page-1/#comment-6710</link>
		<dc:creator>Nicke</dc:creator>
		<pubDate>Thu, 03 Jul 2008 13:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://eikke.com/python-all-odity/#comment-6710</guid>
		<description>Ik kan goed programmeren, maar toch niet in deze taal. I like :D

Bedankt voor je berichtje</description>
		<content:encoded><![CDATA[<p>Ik kan goed programmeren, maar toch niet in deze taal. I like <img src='http://eikke.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Bedankt voor je berichtje</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manlome</title>
		<link>http://eikke.com/python-all-odity/comment-page-1/#comment-4914</link>
		<dc:creator>Manlome</dc:creator>
		<pubDate>Sat, 31 May 2008 08:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://eikke.com/python-all-odity/#comment-4914</guid>
		<description>Hmm, hier snap ik niets van, maar bedankt voor je berichtje op mn blog en succes met de cello!  (Staat ook nog op mijn lijstje)</description>
		<content:encoded><![CDATA[<p>Hmm, hier snap ik niets van, maar bedankt voor je berichtje op mn blog en succes met de cello!  (Staat ook nog op mijn lijstje)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

