<?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: Closure gotcha (with Python)</title>
	<atom:link href="http://alicebob.cryptoland.net/closure-gotcha-with-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://alicebob.cryptoland.net/closure-gotcha-with-python/</link>
	<description></description>
	<lastBuildDate>Fri, 06 Jan 2012 10:22:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: O.C.</title>
		<link>http://alicebob.cryptoland.net/closure-gotcha-with-python/#comment-312</link>
		<dc:creator>O.C.</dc:creator>
		<pubDate>Sat, 23 Jul 2011 12:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://alicebob.cryptoland.net/?p=15#comment-312</guid>
		<description>Hi,

thanks for this good explanation. I spent a few hours trying to find my bug and I finally used a debugger... then it was easy to see that the value was not the expected one. I wish I had used the debugger earlier!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>thanks for this good explanation. I spent a few hours trying to find my bug and I finally used a debugger&#8230; then it was easy to see that the value was not the expected one. I wish I had used the debugger earlier!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Marandon</title>
		<link>http://alicebob.cryptoland.net/closure-gotcha-with-python/#comment-311</link>
		<dc:creator>Alex Marandon</dc:creator>
		<pubDate>Thu, 23 Jun 2011 13:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://alicebob.cryptoland.net/?p=15#comment-311</guid>
		<description>I bumped into this gotcha today and your post gives me a clear, well written explanation. 

The &quot;closure factory&quot; solution is quite straightforward. But I wouldn&#039;t have thought of the keyword arguments workaround, which is concise but a bit cryptic. The kind of thing I&#039;d leave a comment for in my code.

It&#039;s kind of funny how one common gotcha (how default values are being evaluated) can be used as a workaround for another gotcha.</description>
		<content:encoded><![CDATA[<p>I bumped into this gotcha today and your post gives me a clear, well written explanation. </p>
<p>The &#8220;closure factory&#8221; solution is quite straightforward. But I wouldn&#8217;t have thought of the keyword arguments workaround, which is concise but a bit cryptic. The kind of thing I&#8217;d leave a comment for in my code.</p>
<p>It&#8217;s kind of funny how one common gotcha (how default values are being evaluated) can be used as a workaround for another gotcha.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

