<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Python Mistake</title>
	<link>http://leahculver.com/2007/11/06/python-mistake/</link>
	<description>leahculver.com</description>
	<pubDate>Wed, 03 Dec 2008 23:10:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Nick Lewis</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-865</link>
		<dc:creator>Nick Lewis</dc:creator>
		<pubDate>Mon, 12 Nov 2007 06:03:59 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-865</guid>
		<description>About a month ago, I was writing (in Python) an interpreter for a reduced version of PostScript for a class, and made a similar mistake. I was checking whether I had some code to execute, and if so, would interpret it. But my check was just using "if token_code", rather than "if token_code != None", so if the bit of code was just a literal 0, it would evaluate as false, and would skip it. I just started a new job working in Perl for the first time, and one of the hardest things is keeping straight what is implicitly true and false. So convenient to not have to be explicit, but only when it ends up *correct*.</description>
		<content:encoded><![CDATA[<p>About a month ago, I was writing (in Python) an interpreter for a reduced version of PostScript for a class, and made a similar mistake. I was checking whether I had some code to execute, and if so, would interpret it. But my check was just using &#8220;if token_code&#8221;, rather than &#8220;if token_code != None&#8221;, so if the bit of code was just a literal 0, it would evaluate as false, and would skip it. I just started a new job working in Perl for the first time, and one of the hardest things is keeping straight what is implicitly true and false. So convenient to not have to be explicit, but only when it ends up *correct*.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Rosner</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-864</link>
		<dc:creator>Brian Rosner</dc:creator>
		<pubDate>Sat, 10 Nov 2007 00:52:44 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-864</guid>
		<description>Yeah, I got bitten by this during development.  Good thing I had a  large dataset that pointed it out to me.  Dang, lazy querysets, they make us all lazy ;)</description>
		<content:encoded><![CDATA[<p>Yeah, I got bitten by this during development.  Good thing I had a  large dataset that pointed it out to me.  Dang, lazy querysets, they make us all lazy <img src='http://leahculver.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stubblechin</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-862</link>
		<dc:creator>stubblechin</dc:creator>
		<pubDate>Thu, 08 Nov 2007 01:44:15 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-862</guid>
		<description>Good move, Leah.</description>
		<content:encoded><![CDATA[<p>Good move, Leah.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-861</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Wed, 07 Nov 2007 22:58:49 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-861</guid>
		<description>It was the right move. It is better to be above it all :)</description>
		<content:encoded><![CDATA[<p>It was the right move. It is better to be above it all <img src='http://leahculver.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leah Culver</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-860</link>
		<dc:creator>Leah Culver</dc:creator>
		<pubDate>Wed, 07 Nov 2007 16:34:39 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-860</guid>
		<description>@ Interesante - agreed and deleted. Sorry for editing a posted entry.</description>
		<content:encoded><![CDATA[<p>@ Interesante - agreed and deleted. Sorry for editing a posted entry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikeal</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-859</link>
		<dc:creator>mikeal</dc:creator>
		<pubDate>Wed, 07 Nov 2007 04:56:22 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-859</guid>
		<description>hrm, my post got mangled after the "greater than" operator I had in the post. I smell a bug :)</description>
		<content:encoded><![CDATA[<p>hrm, my post got mangled after the &#8220;greater than&#8221; operator I had in the post. I smell a bug <img src='http://leahculver.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Crow</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-858</link>
		<dc:creator>Philip Crow</dc:creator>
		<pubDate>Wed, 07 Nov 2007 02:50:14 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-858</guid>
		<description>Well, I have no idea what that even means, so that makes me dumber than you??</description>
		<content:encoded><![CDATA[<p>Well, I have no idea what that even means, so that makes me dumber than you??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiago Rodrigues</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-857</link>
		<dc:creator>Tiago Rodrigues</dc:creator>
		<pubDate>Wed, 07 Nov 2007 01:43:57 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-857</guid>
		<description>Well thanks for the tip :)

Although i already tried starting to work with Python a while ago, time hadn't allowed me to really practice it (i usually work with PHP). Now with the prospect of a new project (and some freedom of choice) i decided to give Python (and Django) a try, and i just started reading a nice book on it today, so this kind of tip is always useful.</description>
		<content:encoded><![CDATA[<p>Well thanks for the tip <img src='http://leahculver.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Although i already tried starting to work with Python a while ago, time hadn&#8217;t allowed me to really practice it (i usually work with PHP). Now with the prospect of a new project (and some freedom of choice) i decided to give Python (and Django) a try, and i just started reading a nice book on it today, so this kind of tip is always useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danno</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-856</link>
		<dc:creator>Danno</dc:creator>
		<pubDate>Wed, 07 Nov 2007 01:11:37 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-856</guid>
		<description>wow.  someone really posted that.
sheesh.

wants me to send them a letter bomb?

Rocksteady,
Danno~</description>
		<content:encoded><![CDATA[<p>wow.  someone really posted that.<br />
sheesh.</p>
<p>wants me to send them a letter bomb?</p>
<p>Rocksteady,<br />
Danno~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Interesante</title>
		<link>http://leahculver.com/2007/11/06/python-mistake/#comment-855</link>
		<dc:creator>Interesante</dc:creator>
		<pubDate>Wed, 07 Nov 2007 01:03:49 +0000</pubDate>
		<guid>http://leahculver.com/2007/11/06/python-mistake/#comment-855</guid>
		<description>The other mistake is reading, taking personally, and then directing attention to that LiveJournal comment, because now that person thinks they got to you and they got some attention for it.

My fault for clicking the link, of course.</description>
		<content:encoded><![CDATA[<p>The other mistake is reading, taking personally, and then directing attention to that LiveJournal comment, because now that person thinks they got to you and they got some attention for it.</p>
<p>My fault for clicking the link, of course.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
