<?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: Psyco and Django</title>
	<atom:link href="http://www.artfulcode.net/articles/psyco-and-django/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artfulcode.net/articles/psyco-and-django/</link>
	<description>Resources and tips for dynamic, interactive languages.</description>
	<lastBuildDate>Mon, 23 Jan 2012 14:26: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: site de rencontre non payant</title>
		<link>http://www.artfulcode.net/articles/psyco-and-django/comment-page-1/#comment-3189</link>
		<dc:creator>site de rencontre non payant</dc:creator>
		<pubDate>Wed, 29 Dec 2010 12:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/psyco-and-django/#comment-3189</guid>
		<description>class PsycoMiddleware(object):


    def process_request(self, request):
        try:
            import psyco
            psyco.profile()
        except ImportError:
            pass
        return None

 Enables the psyco extension module which can massively
    speed up the execution of any Python code.</description>
		<content:encoded><![CDATA[<p>class PsycoMiddleware(object):</p>
<p>    def process_request(self, request):<br />
        try:<br />
            import psyco<br />
            psyco.profile()<br />
        except ImportError:<br />
            pass<br />
        return None</p>
<p> Enables the psyco extension module which can massively<br />
    speed up the execution of any Python code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rencontre</title>
		<link>http://www.artfulcode.net/articles/psyco-and-django/comment-page-1/#comment-2137</link>
		<dc:creator>Rencontre</dc:creator>
		<pubDate>Mon, 08 Nov 2010 16:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/psyco-and-django/#comment-2137</guid>
		<description>Hi,
I have had a similar experience with Django+Psyco, but on a dev server too.
I managed to sort this out by using psyco.profile() instead of psyco.full()
And, there was a type error very common with psyco and django, I removed it by adding faulty functions to the blacklist with the psyco.cannotcompile(class/function/etc)

So far so good, but my pages are fast and psyco does not seem to make their generation faster.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have had a similar experience with Django+Psyco, but on a dev server too.<br />
I managed to sort this out by using psyco.profile() instead of psyco.full()<br />
And, there was a type error very common with psyco and django, I removed it by adding faulty functions to the blacklist with the psyco.cannotcompile(class/function/etc)</p>
<p>So far so good, but my pages are fast and psyco does not seem to make their generation faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ciantic</title>
		<link>http://www.artfulcode.net/articles/psyco-and-django/comment-page-1/#comment-2002</link>
		<dc:creator>Ciantic</dc:creator>
		<pubDate>Fri, 12 Feb 2010 19:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/psyco-and-django/#comment-2002</guid>
		<description>I know my following statement is somewhat naive, since that is the first thing I thought and probably you did too. But since I was wondering to try this out myself, so I decided to ask first, so I won&#039;t waste time if you know it does not work reliably:

Was the mysterious errors of &lt;code&gt;TemplateDoesNotExist&lt;/code&gt; only errors? I mean, template non-existance might be that TEMPLATE_DIRS setting is not set using absolute paths, by default the TEMPLATE_DIRS has &lt;i&gt;relative&lt;/i&gt; paths to &quot;/templates/&quot;, while this works normally, maybe psyco was changing dirs somehow and that got mixed up sometimes?</description>
		<content:encoded><![CDATA[<p>I know my following statement is somewhat naive, since that is the first thing I thought and probably you did too. But since I was wondering to try this out myself, so I decided to ask first, so I won&#8217;t waste time if you know it does not work reliably:</p>
<p>Was the mysterious errors of <code>TemplateDoesNotExist</code> only errors? I mean, template non-existance might be that TEMPLATE_DIRS setting is not set using absolute paths, by default the TEMPLATE_DIRS has <i>relative</i> paths to &#8220;/templates/&#8221;, while this works normally, maybe psyco was changing dirs somehow and that got mixed up sometimes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.artfulcode.net/articles/psyco-and-django/comment-page-1/#comment-1352</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Thu, 11 Jun 2009 11:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/psyco-and-django/#comment-1352</guid>
		<description>Not that I am aware of.</description>
		<content:encoded><![CDATA[<p>Not that I am aware of.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slacy</title>
		<link>http://www.artfulcode.net/articles/psyco-and-django/comment-page-1/#comment-1295</link>
		<dc:creator>slacy</dc:creator>
		<pubDate>Mon, 08 Jun 2009 17:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/articles/psyco-and-django/#comment-1295</guid>
		<description>It&#039;s been over a year since your original post -- has the state of psyco+django changed at all?  It seems like over the last year, both projects have matured greatly, and was wondering if some of these mysterious issues have been solved...</description>
		<content:encoded><![CDATA[<p>It&#8217;s been over a year since your original post &#8212; has the state of psyco+django changed at all?  It seems like over the last year, both projects have matured greatly, and was wondering if some of these mysterious issues have been solved&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

