<?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: Multi-threading in Python</title>
	<atom:link href="http://www.artfulcode.net/articles/multi-threading-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artfulcode.net/articles/multi-threading-python/</link>
	<description>Resources and tips for dynamic, interactive languages.</description>
	<lastBuildDate>Tue, 09 Mar 2010 19:00:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brandon</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-2019</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Tue, 09 Mar 2010 19:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-2019</guid>
		<description>You know this is simply doing co-operative multitasking, not actual concurrency because of the GIL. To get the files all downloading at the same time, you need the multiprocessing module (or similar). See the &lt;a href=&quot;http://pycon.blip.tv/file/3254256&quot; rel=&quot;nofollow&quot;&gt;video of David Beazley&#039;s talk at PyCon 2010&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>You know this is simply doing co-operative multitasking, not actual concurrency because of the GIL. To get the files all downloading at the same time, you need the multiprocessing module (or similar). See the <a href="http://pycon.blip.tv/file/3254256" rel="nofollow">video of David Beazley&#8217;s talk at PyCon 2010</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arun</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-1998</link>
		<dc:creator>arun</dc:creator>
		<pubDate>Wed, 10 Feb 2010 19:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-1998</guid>
		<description>awesome ... probably the most detailed one so far</description>
		<content:encoded><![CDATA[<p>awesome &#8230; probably the most detailed one so far</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salman</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-1989</link>
		<dc:creator>Salman</dc:creator>
		<pubDate>Thu, 21 Jan 2010 15:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-1989</guid>
		<description>i guess u forgot &quot;)&quot; after 
&#039;cons_thread = threading.Thread(target=consumer, args=(q, len(files))&#039;
:P</description>
		<content:encoded><![CDATA[<p>i guess u forgot &#8220;)&#8221; after<br />
&#8216;cons_thread = threading.Thread(target=consumer, args=(q, len(files))&#8217;<br />
:P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bora</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-1988</link>
		<dc:creator>bora</dc:creator>
		<pubDate>Wed, 20 Jan 2010 19:50:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-1988</guid>
		<description>Great tutorial. Thanks</description>
		<content:encoded><![CDATA[<p>Great tutorial. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cooper Lees</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-1981</link>
		<dc:creator>Cooper Lees</dc:creator>
		<pubDate>Thu, 07 Jan 2010 05:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-1981</guid>
		<description>Hey mate ! Thanks for the tutorial. Allowed me to get my head around threads again ! Hadn&#039;t done it for years! Dam python makes it easier these days ... /me remembers doing it in C++ ...</description>
		<content:encoded><![CDATA[<p>Hey mate ! Thanks for the tutorial. Allowed me to get my head around threads again ! Hadn&#8217;t done it for years! Dam python makes it easier these days &#8230; /me remembers doing it in C++ &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kristall</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-1693</link>
		<dc:creator>kristall</dc:creator>
		<pubDate>Thu, 16 Jul 2009 02:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-1693</guid>
		<description>Aloha,

also imho &quot;get_files(files)&quot; should &quot;return finished&quot;. And even its inside a def imho one should not use &quot;file&quot; as a variable since there is a builtin with that name.

Also &#039;&lt;&#039; does not show what it should.

kristall</description>
		<content:encoded><![CDATA[<p>Aloha,</p>
<p>also imho &#8220;get_files(files)&#8221; should &#8220;return finished&#8221;. And even its inside a def imho one should not use &#8220;file&#8221; as a variable since there is a builtin with that name.</p>
<p>Also &#8216;&amp;lt;&#8217; does not show what it should.</p>
<p>kristall</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kristall</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-1692</link>
		<dc:creator>kristall</dc:creator>
		<pubDate>Thu, 16 Jul 2009 01:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-1692</guid>
		<description>Aloha,

in the run() parts it should be &quot;self.url&quot; instead of just &quot;url&quot;, or?

Else a very nice example, thanks for it.

greetinx
    kristall</description>
		<content:encoded><![CDATA[<p>Aloha,</p>
<p>in the run() parts it should be &#8220;self.url&#8221; instead of just &#8220;url&#8221;, or?</p>
<p>Else a very nice example, thanks for it.</p>
<p>greetinx<br />
    kristall</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-1143</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 29 May 2009 11:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-1143</guid>
		<description>Denis - thanks for noticing that. I&#039;ve updated the code.</description>
		<content:encoded><![CDATA[<p>Denis &#8211; thanks for noticing that. I&#8217;ve updated the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: denis</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-1139</link>
		<dc:creator>denis</dc:creator>
		<pubDate>Sat, 23 May 2009 22:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-1139</guid>
		<description>Hi, thanks for this helpful tutorial. Please correct me if I&#039;m wrong, but I believe you forgot calling the init :

class FileGetter(threading.Thread):
    def __init__(self, url):
        self.url = url
        self.result = None
        threading.Thread.__init__(self)

Thanks again BTW.

Best Regards,

Denis</description>
		<content:encoded><![CDATA[<p>Hi, thanks for this helpful tutorial. Please correct me if I&#8217;m wrong, but I believe you forgot calling the init :</p>
<p>class FileGetter(threading.Thread):<br />
    def __init__(self, url):<br />
        self.url = url<br />
        self.result = None<br />
        threading.Thread.__init__(self)</p>
<p>Thanks again BTW.</p>
<p>Best Regards,</p>
<p>Denis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.artfulcode.net/articles/multi-threading-python/comment-page-1/#comment-592</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 18 Feb 2009 20:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/multi-threading-python/#comment-592</guid>
		<description>Thanks for pointing out the bug. I don&#039;t know how that went unnoticed for so long :).</description>
		<content:encoded><![CDATA[<p>Thanks for pointing out the bug. I don&#8217;t know how that went unnoticed for so long :).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
