<?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: Automatic Python imports with autoimp, lazy ones with Importing</title>
	<atom:link href="http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/</link>
	<description>The Nuts and Bolts of Creating Great Software Products</description>
	<lastBuildDate>Sat, 23 Jan 2010 20:09:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tim Lesher</title>
		<link>http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/comment-page-1/#comment-45143</link>
		<dc:creator>Tim Lesher</dc:creator>
		<pubDate>Wed, 21 Jun 2006 19:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/#comment-45143</guid>
		<description>Wow.  My first blog post ever was a wish for just this:

http://apipes.blogspot.com/2004_08_01_apipes_archive.html</description>
		<content:encoded><![CDATA[<p>Wow.  My first blog post ever was a wish for just this:</p>
<p><a href="http://apipes.blogspot.com/2004_08_01_apipes_archive.html" rel="nofollow">http://apipes.blogspot.com/2004_08_01_apipes_archive.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/comment-page-1/#comment-40017</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Tue, 13 Jun 2006 02:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/#comment-40017</guid>
		<description>Are there any drawbacks to doing this?</description>
		<content:encoded><![CDATA[<p>Are there any drawbacks to doing this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: import this. &#187; Blog Archive &#187; Dynamic module loading</title>
		<link>http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/comment-page-1/#comment-39951</link>
		<dc:creator>import this. &#187; Blog Archive &#187; Dynamic module loading</dc:creator>
		<pubDate>Mon, 12 Jun 2006 23:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/#comment-39951</guid>
		<description></description>
		<content:encoded><![CDATA[<p>[...] Kevin Dangoor metions dynamic module loading: &#8230;Phillip Eby just released Importing which provides dynamic module loading (it also provides â€śload object Y from module X specified in python dotted notation stringâ€? utility functions, which could eliminate a utility we have in tg.util.) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Connelly Barnes</title>
		<link>http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/comment-page-1/#comment-39949</link>
		<dc:creator>Connelly Barnes</dc:creator>
		<pubDate>Mon, 12 Jun 2006 23:23:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/#comment-39949</guid>
		<description>Neither autoimp nor Importing puts the imported modules in __builtins__.  Instead, the imported, wrapped modules are typically placed in the caller&#039;s globals().

The module autoimp was originally intended to automatically import all modules at the interactive prompt, and thus save the user from typing &quot;py.std.*&quot; or &quot;import os, sys, urllib2, collections, bz2, zlib, ...&quot;  The lazyModule class in Philip Eby&#039;s Importing module loads a single module, instead of all modules.  Thus the following are roughly equivalent:

 &gt;&gt;&gt; from autoimp import a, b, c

 &gt;&gt;&gt; a = lazyModule(&#039;a&#039;)
 &gt;&gt;&gt; b = lazyModule(&#039;b&#039;)
 &gt;&gt;&gt; c = lazyModule(&#039;c&#039;)</description>
		<content:encoded><![CDATA[<p>Neither autoimp nor Importing puts the imported modules in __builtins__.  Instead, the imported, wrapped modules are typically placed in the caller&#8217;s globals().</p>
<p>The module autoimp was originally intended to automatically import all modules at the interactive prompt, and thus save the user from typing &#8220;py.std.*&#8221; or &#8220;import os, sys, urllib2, collections, bz2, zlib, &#8230;&#8221;  The lazyModule class in Philip Eby&#8217;s Importing module loads a single module, instead of all modules.  Thus the following are roughly equivalent:</p>
<p> &gt;&gt;&gt; from autoimp import a, b, c</p>
<p> &gt;&gt;&gt; a = lazyModule(&#8216;a&#8217;)<br />
 &gt;&gt;&gt; b = lazyModule(&#8216;b&#8217;)<br />
 &gt;&gt;&gt; c = lazyModule(&#8216;c&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Bicking</title>
		<link>http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/comment-page-1/#comment-39824</link>
		<dc:creator>Ian Bicking</dc:creator>
		<pubDate>Mon, 12 Jun 2006 16:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.blueskyonmars.com/2006/06/12/automatic-python-imports-with-autoimp/#comment-39824</guid>
		<description>I think the motivation is good, but py.std (http://codespeak.net/py/current/doc/misc.html#the-py-std-hook or I wrote about it here: http://blog.ianbicking.org/py-std.html) serves a similar purpose, and is more explicit.  The implementation is trivial.  Putting it in __builtins__ is a little more controversial.</description>
		<content:encoded><![CDATA[<p>I think the motivation is good, but py.std (<a href="http://codespeak.net/py/current/doc/misc.html#the-py-std-hook" rel="nofollow">http://codespeak.net/py/current/doc/misc.html#the-py-std-hook</a> or I wrote about it here: <a href="http://blog.ianbicking.org/py-std.html)" rel="nofollow">http://blog.ianbicking.org/py-std.html)</a> serves a similar purpose, and is more explicit.  The implementation is trivial.  Putting it in __builtins__ is a little more controversial.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.662 seconds -->
