<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/runpy.py, branch v3.7.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/runpy.py?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/runpy.py?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2016-08-21T05:07:35Z</updated>
<entry>
<title>Issue #27487: Merge runpy warning from 3.5</title>
<updated>2016-08-21T05:07:35Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-08-21T05:07:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f9ed528fafafda147f20f345195ced23b141ace9'/>
<id>urn:sha1:f9ed528fafafda147f20f345195ced23b141ace9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #27487: Warn if submodule already imported before runpy execution</title>
<updated>2016-08-21T04:07:58Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-08-21T04:07:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9c8aa9bffe755fe6126dc72dfd037c6b20e65906'/>
<id>urn:sha1:9c8aa9bffe755fe6126dc72dfd037c6b20e65906</id>
<content type='text'>
Also try to clarify the find_spec() error message.
</content>
</entry>
<entry>
<title>Issue #26896: Disambiguate uses of "importer" with "finder".</title>
<updated>2016-07-08T18:00:00Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-07-08T18:00:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fdcdd9ed80d2b4bf7e7dac04ed2d22e9cb747ff6'/>
<id>urn:sha1:fdcdd9ed80d2b4bf7e7dac04ed2d22e9cb747ff6</id>
<content type='text'>
Thanks to Oren Milman for the patch.
</content>
</entry>
<entry>
<title>Issue #19771: Omit irrelevant message if package could not be initialized</title>
<updated>2015-12-12T06:58:55Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-12-12T06:58:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dda584340e88004b534de6c24a39633bdfdf0104'/>
<id>urn:sha1:dda584340e88004b534de6c24a39633bdfdf0104</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #14285: Do not catch exceptions initializing any ancestor package</title>
<updated>2015-12-10T06:47:06Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-12-10T06:47:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7dda421bfff887da9a84e99c37ef1b0ef9f3cde9'/>
<id>urn:sha1:7dda421bfff887da9a84e99c37ef1b0ef9f3cde9</id>
<content type='text'>
The previous fix only handled the case of the parent package of __main__
failing to initialize.

Also make the "Error while finding spec" formatting slightly more appealing,
and document and test that the module name must be absolute.
</content>
</entry>
<entry>
<title>Issue #14285: Do not catch __init__.py exceptions in runpy</title>
<updated>2015-12-03T01:23:10Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-12-03T01:23:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=657257edb61c7d69a9e73352fdad8f243e1494ab'/>
<id>urn:sha1:657257edb61c7d69a9e73352fdad8f243e1494ab</id>
<content type='text'>
Initialize package before calling find_spec() for __main__, so that we do not
incorrectly handle exceptions from __init__.py. When runpy is used from the
Python CLI, use an internal exception rather than ImportError, to avoid
catching unexpected exceptions.

Also remove exception message rewriting in _run_module_as_main(), because it
seems to be redundant with the _get_main_module_details() function.
</content>
</entry>
<entry>
<title>Issue #23911: Move path-based bootstrap code to a separate frozen module.</title>
<updated>2015-05-03T01:15:18Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2015-05-03T01:15:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32439d6eb63f1ea31aed1e45459f0f50f965ef51'/>
<id>urn:sha1:32439d6eb63f1ea31aed1e45459f0f50f965ef51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #20383: Introduce importlib.util.module_from_spec().</title>
<updated>2014-05-30T18:55:29Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2014-05-30T18:55:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2a17bde930af72995a217f6625d763e828bf5ce1'/>
<id>urn:sha1:2a17bde930af72995a217f6625d763e828bf5ce1</id>
<content type='text'>
Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
</content>
</entry>
<entry>
<title>Issue #20976: pyflakes: Remove unused imports</title>
<updated>2014-03-20T08:16:38Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-03-20T08:16:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7fa767e517882f4d3503d168d3a4d4caad317752'/>
<id>urn:sha1:7fa767e517882f4d3503d168d3a4d4caad317752</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue 19944: Fix importlib.find_spec() so it imports parents as needed.</title>
<updated>2014-01-25T22:32:46Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2014-01-25T22:32:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6029e086911be873b2ebacb933e3df08c23084e4'/>
<id>urn:sha1:6029e086911be873b2ebacb933e3df08c23084e4</id>
<content type='text'>
The function is also moved to importlib.util.
</content>
</entry>
</feed>
