<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/runpy.py, branch faster-bytes-iter</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-40108: Improve the error message in runpy when importing a module that includes the extension (GH-19239)</title>
<updated>2020-03-31T11:23:55+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-03-31T11:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ef67512b40240f765026ad41d60b0c9a6dacd2b9'/>
<id>ef67512b40240f765026ad41d60b0c9a6dacd2b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39517: Allow runpy.run_path() to accept path-like objects (GH-18699)</title>
<updated>2020-03-08T20:43:17+00:00</updated>
<author>
<name>Maor Kleinberger</name>
<email>kmaork@gmail.com</email>
</author>
<published>2020-03-08T20:43:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0911ea5c172264eaefa3efe4a1788159c160920d'/>
<id>0911ea5c172264eaefa3efe4a1788159c160920d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38722: Runpy use io.open_code() (GH-17234)</title>
<updated>2019-11-18T19:11:13+00:00</updated>
<author>
<name>jsnklln</name>
<email>jsnklln@gmail.com</email>
</author>
<published>2019-11-18T19:11:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e243bae9999418859106328d9fce71815b7eb2fe'/>
<id>e243bae9999418859106328d9fce71815b7eb2fe</id>
<content type='text'>
https://bugs.python.org/issue38722



Automerge-Triggered-By: @taleinat</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue38722



Automerge-Triggered-By: @taleinat</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27487: Merge runpy warning from 3.5</title>
<updated>2016-08-21T05:07:35+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-08-21T05:07:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f9ed528fafafda147f20f345195ced23b141ace9'/>
<id>f9ed528fafafda147f20f345195ced23b141ace9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27487: Warn if submodule already imported before runpy execution</title>
<updated>2016-08-21T04:07:58+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-08-21T04:07:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9c8aa9bffe755fe6126dc72dfd037c6b20e65906'/>
<id>9c8aa9bffe755fe6126dc72dfd037c6b20e65906</id>
<content type='text'>
Also try to clarify the find_spec() error message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also try to clarify the find_spec() error message.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26896: Disambiguate uses of "importer" with "finder".</title>
<updated>2016-07-08T18:00:00+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-07-08T18:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fdcdd9ed80d2b4bf7e7dac04ed2d22e9cb747ff6'/>
<id>fdcdd9ed80d2b4bf7e7dac04ed2d22e9cb747ff6</id>
<content type='text'>
Thanks to Oren Milman for the patch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Oren Milman for the patch.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19771: Omit irrelevant message if package could not be initialized</title>
<updated>2015-12-12T06:58:55+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-12-12T06:58:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=dda584340e88004b534de6c24a39633bdfdf0104'/>
<id>dda584340e88004b534de6c24a39633bdfdf0104</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14285: Do not catch exceptions initializing any ancestor package</title>
<updated>2015-12-10T06:47:06+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-12-10T06:47:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7dda421bfff887da9a84e99c37ef1b0ef9f3cde9'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14285: Do not catch __init__.py exceptions in runpy</title>
<updated>2015-12-03T01:23:10+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-12-03T01:23:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=657257edb61c7d69a9e73352fdad8f243e1494ab'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #23911: Move path-based bootstrap code to a separate frozen module.</title>
<updated>2015-05-03T01:15:18+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2015-05-03T01:15:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=32439d6eb63f1ea31aed1e45459f0f50f965ef51'/>
<id>32439d6eb63f1ea31aed1e45459f0f50f965ef51</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
