<?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: Closures in Python</title>
	<atom:link href="http://sweecoo.com/146/feed" rel="self" type="application/rss+xml" />
	<link>http://sweecoo.com/146</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Wed, 08 Sep 2010 17:11:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Adam Snider</title>
		<link>http://sweecoo.com/146/comment-page-1#comment-226</link>
		<dc:creator>Adam Snider</dc:creator>
		<pubDate>Fri, 11 Apr 2008 06:09:35 +0000</pubDate>
		<guid isPermaLink="false">http://sweecoo.com/146#comment-226</guid>
		<description>You are the brick! Reading stuff like this written in the way like this is a great pleasure for me.</description>
		<content:encoded><![CDATA[<p>You are the brick! Reading stuff like this written in the way like this is a great pleasure for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayce</title>
		<link>http://sweecoo.com/146/comment-page-1#comment-175</link>
		<dc:creator>Jayce</dc:creator>
		<pubDate>Sat, 09 Feb 2008 05:05:32 +0000</pubDate>
		<guid isPermaLink="false">http://sweecoo.com/146#comment-175</guid>
		<description>Used to the scoping rules of C, C++, and Java, I used to think that constructs like for/while/try-catch-finally blocks had their own scope and soon found they didn't. It was only after reading how all Python scopes are associated with Python objects that the light-bulb went on! :-)

Modules, functions, classes, objects, packages, etc. are all objects, and each object has its scope (a dictionary).  

This is kind of a neat idea. However, it could trip up those who are used to the block=scope rule from C/C++/Java/Perl.</description>
		<content:encoded><![CDATA[<p>Used to the scoping rules of C, C++, and Java, I used to think that constructs like for/while/try-catch-finally blocks had their own scope and soon found they didn&#8217;t. It was only after reading how all Python scopes are associated with Python objects that the light-bulb went on! :-)</p>
<p>Modules, functions, classes, objects, packages, etc. are all objects, and each object has its scope (a dictionary).  </p>
<p>This is kind of a neat idea. However, it could trip up those who are used to the block=scope rule from C/C++/Java/Perl.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Osterhouse</title>
		<link>http://sweecoo.com/146/comment-page-1#comment-174</link>
		<dc:creator>Jeremy Osterhouse</dc:creator>
		<pubDate>Fri, 08 Feb 2008 23:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://sweecoo.com/146#comment-174</guid>
		<description>The correct method implements a &lt;a href="http://en.wikipedia.org/wiki/Closure_%28computer_science%29" rel="nofollow"&gt;closure&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>The correct method implements a <a href="http://en.wikipedia.org/wiki/Closure_%28computer_science%29" rel="nofollow">closure</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
