<?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: TurboGears &#8211; First Impression</title>
	<atom:link href="http://pieces.openpolitics.com/2005/10/turbogears-first-impression/feed/" rel="self" type="application/rss+xml" />
	<link>http://pieces.openpolitics.com/2005/10/turbogears-first-impression/</link>
	<description>Puzzlings on software development and other topics of interest</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:00:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Brendan Nooe</title>
		<link>http://pieces.openpolitics.com/2005/10/turbogears-first-impression/comment-page-1/#comment-52073</link>
		<dc:creator>Brendan Nooe</dc:creator>
		<pubDate>Mon, 25 Apr 2011 17:24:49 +0000</pubDate>
		<guid isPermaLink="false">http://pieces.openpolitics.com/2005/10/turbogears-first-impression/#comment-52073</guid>
		<description>Hi, Neat post. There is a problem with your web site in internet explorer, may test this¡K IE nonetheless is the marketplace leader and a huge section of people will omit your fantastic writing due to this problem.</description>
		<content:encoded><![CDATA[<p>Hi, Neat post. There is a problem with your web site in internet explorer, may test this¡K IE nonetheless is the marketplace leader and a huge section of people will omit your fantastic writing due to this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Hupp</title>
		<link>http://pieces.openpolitics.com/2005/10/turbogears-first-impression/comment-page-1/#comment-75</link>
		<dc:creator>Adam Hupp</dc:creator>
		<pubDate>Tue, 25 Oct 2005 14:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://pieces.openpolitics.com/2005/10/turbogears-first-impression/#comment-75</guid>
		<description>I would consider StopItereration normal flow control, not an error condition.  In the normal case an iteration will always throw StopIteration.  That goes beyond what I think of as an error.  Another example is the common idiom for testing capabilities:



try:

    True, False

except NameError:

    True, False = 1, 0</description>
		<content:encoded><![CDATA[<p>I would consider StopItereration normal flow control, not an error condition.  In the normal case an iteration will always throw StopIteration.  That goes beyond what I think of as an error.  Another example is the common idiom for testing capabilities:</p>
<p>try:</p>
<p>    True, False</p>
<p>except NameError:</p>
<p>    True, False = 1, 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://pieces.openpolitics.com/2005/10/turbogears-first-impression/comment-page-1/#comment-74</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 21 Oct 2005 01:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://pieces.openpolitics.com/2005/10/turbogears-first-impression/#comment-74</guid>
		<description>&gt; For example, iterators raise StopIteration to signal the end of the iteration--it&#039;s not an error case.



Actually, it is an error case--there is nothing more over which to iterate. The iter.next() method can no longer return a meaningful result and therefore must raise an exception when called.</description>
		<content:encoded><![CDATA[<p>> For example, iterators raise StopIteration to signal the end of the iteration&#8211;it&#8217;s not an error case.</p>
<p>Actually, it is an error case&#8211;there is nothing more over which to iterate. The iter.next() method can no longer return a meaningful result and therefore must raise an exception when called.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Lesher</title>
		<link>http://pieces.openpolitics.com/2005/10/turbogears-first-impression/comment-page-1/#comment-73</link>
		<dc:creator>Tim Lesher</dc:creator>
		<pubDate>Thu, 20 Oct 2005 15:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://pieces.openpolitics.com/2005/10/turbogears-first-impression/#comment-73</guid>
		<description>&quot;Exceptions are for exceptional situations and should not be used for application control flow&quot;



I agree with you... if you&#039;re talking about C++.



Python exceptions are not C++ exceptions, and can&#039;t be read the same way. For example, iterators raise StopIteration to signal the end of the iteration--it&#039;s not an error case.



When in Rome...</description>
		<content:encoded><![CDATA[<p>&#8220;Exceptions are for exceptional situations and should not be used for application control flow&#8221;</p>
<p>I agree with you&#8230; if you&#8217;re talking about C++.</p>
<p>Python exceptions are not C++ exceptions, and can&#8217;t be read the same way. For example, iterators raise StopIteration to signal the end of the iteration&#8211;it&#8217;s not an error case.</p>
<p>When in Rome&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

