<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/imp.py, branch v3.3.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/imp.py?h=v3.3.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/imp.py?h=v3.3.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2013-05-03T14:37:08Z</updated>
<entry>
<title>Issue #15902: Fix imp.load_module() to accept None as a file when</title>
<updated>2013-05-03T14:37:08Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2013-05-03T14:37:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9d0f772c5115217d55aef76fae33f483f2a98032'/>
<id>urn:sha1:9d0f772c5115217d55aef76fae33f483f2a98032</id>
<content type='text'>
trying to load an extension module.

While at it, also add a proper unittest.skipIf() guard to another test
involving imp.load_dynamic().
</content>
</entry>
<entry>
<title>Issue #17358: imp.load_source() and load_compiled() should now return</title>
<updated>2013-04-28T15:53:26Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2013-04-28T15:53:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5a4c233a9e6450919ddea78d7df22a76b4758322'/>
<id>urn:sha1:5a4c233a9e6450919ddea78d7df22a76b4758322</id>
<content type='text'>
modules which will typically work when reloaded.

A hack is used to support these functions as their API allowed them to
pass in a file object but then operate as if import had loaded them.
Unfortunately the hack kept a reference around for the file object
passed in which would be unusable on reload since it had been closed.
The solution is to simply use the hack for the initial load but then a
proper loader on the module so that imp.reload() at least has a chance
to work.
</content>
</entry>
<entry>
<title>Issue #16880: _imp.load_dynamic() is not defined on a platform that</title>
<updated>2013-03-17T22:48:16Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2013-03-17T22:48:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3e2fe05e62e061032d81becb2f9ef1a8def54f63'/>
<id>urn:sha1:3e2fe05e62e061032d81becb2f9ef1a8def54f63</id>
<content type='text'>
does not support dynamic loading (e.g. Atari), so make sure that imp
doesn't assume it always exists.

Patch by Christian Heimes.
</content>
</entry>
<entry>
<title>Issue #15828: Restore support for C extension modules in imp.load_module()</title>
<updated>2012-08-31T14:13:45Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2012-08-31T14:13:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91b9f139bc629e1ba931c60a3301e8062f6f4e6d'/>
<id>urn:sha1:91b9f139bc629e1ba931c60a3301e8062f6f4e6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #15576: Allow extension modules to be a package's __init__</title>
<updated>2012-08-10T17:47:54Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2012-08-10T17:47:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ac9f2f3de31787a016a1220b304db388dc1705e9'/>
<id>urn:sha1:ac9f2f3de31787a016a1220b304db388dc1705e9</id>
<content type='text'>
module again. Also took the opportunity to stop accidentally exporting
_imp.extension_suffixes() as public.
</content>
</entry>
<entry>
<title>Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use</title>
<updated>2012-07-13T17:57:03Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2012-07-13T17:57:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a6473f9cfd13358b003b8353cd722ca19352817c'/>
<id>urn:sha1:a6473f9cfd13358b003b8353cd722ca19352817c</id>
<content type='text'>
Lib/imp.py for imp.source_from_cache() instead of its own C version.

Also change PyImport_ExecCodeModuleObject() to not infer the source
path from the bytecode path like
PyImport_ExecCodeModuleWithPathnames() does. This makes the function
less magical.

This also has the side-effect of removing all uses of MAXPATHLEN in
Python/import.c which can cause failures on really long filenames.
</content>
</entry>
<entry>
<title>Issue #15167 (as part of #13959): imp.get_magic() is no implemented in</title>
<updated>2012-07-09T20:09:00Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2012-07-09T20:09:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=77b2abd094998b89ff4d806b78683d4cce8d6d79'/>
<id>urn:sha1:77b2abd094998b89ff4d806b78683d4cce8d6d79</id>
<content type='text'>
Lib/imp.py.
</content>
</entry>
<entry>
<title>Issue #15056: imp.cache_from_source() and source_from_cache() raise</title>
<updated>2012-07-09T17:58:07Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2012-07-09T17:58:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19a2f5961ce235e9ca9944069b0f5f21b340de9c'/>
<id>urn:sha1:19a2f5961ce235e9ca9944069b0f5f21b340de9c</id>
<content type='text'>
NotimplementedError when sys.implementation.cache_tag is None.

Thanks to Pranav Ravichandran for taking an initial stab at the patch.
</content>
</entry>
<entry>
<title>Issue #15256: Re-use the ImportError exception message as defined by</title>
<updated>2012-07-09T17:24:34Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2012-07-09T17:24:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bf7eab077fe146dd76f5e7ddad3ff8b2d271fe6c'/>
<id>urn:sha1:bf7eab077fe146dd76f5e7ddad3ff8b2d271fe6c</id>
<content type='text'>
importlib._bootstrap in imp to fix a grammatical mistake.

Thanks to Marc Abramowitz for the patch.
</content>
</entry>
<entry>
<title>Issue #15166: Re-implement imp.get_tag() using sys.implementation.</title>
<updated>2012-07-02T19:13:11Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2012-07-02T19:13:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=98979b85e7fa164b365635b99b83d91f30773850'/>
<id>urn:sha1:98979b85e7fa164b365635b99b83d91f30773850</id>
<content type='text'>
Also eliminates some C code in Python/import.c as well.

Patch by Eric Snow with verification by comparing against another
patch from Jeff Knupp.
</content>
</entry>
</feed>
