<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/importlib, branch benjamin-pyapi</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-33499: Add PYTHONPYCACHEPREFIX env var for alt bytecode cache location. (GH-6834)</title>
<updated>2018-06-16T04:40:56+00:00</updated>
<author>
<name>Carl Meyer</name>
<email>carl@oddbird.net</email>
</author>
<published>2018-06-16T04:40:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b193fa996a746111252156f11fb14c12fd6267e6'/>
<id>b193fa996a746111252156f11fb14c12fd6267e6</id>
<content type='text'>
In some development setups it is inconvenient or impossible to write bytecode
caches to the code tree, but the bytecode caches are still useful. The
PYTHONPYCACHEPREFIX environment variable allows specifying an alternate
location for cached bytecode files, within which a directory tree mirroring the code
tree will be created. This cache tree is then used (for both reading and writing)
instead of the local `__pycache__` subdirectory within each source directory.

Exposed at runtime as sys.pycache_prefix (defaulting to None), and can
be set from the CLI as "-X pycache_prefix=path".

Patch by Carl Meyer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some development setups it is inconvenient or impossible to write bytecode
caches to the code tree, but the bytecode caches are still useful. The
PYTHONPYCACHEPREFIX environment variable allows specifying an alternate
location for cached bytecode files, within which a directory tree mirroring the code
tree will be created. This cache tree is then used (for both reading and writing)
instead of the local `__pycache__` subdirectory within each source directory.

Exposed at runtime as sys.pycache_prefix (defaulting to None), and can
be set from the CLI as "-X pycache_prefix=path".

Patch by Carl Meyer.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)</title>
<updated>2018-06-07T06:02:24+00:00</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2018-06-07T06:02:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14'/>
<id>fffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32911: Add the historical note about the magic number. (GH-7273)</title>
<updated>2018-05-31T06:11:55+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-05-31T06:11:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=941ec210aaef517cf818b043ec28345962f78465'/>
<id>941ec210aaef517cf818b043ec28345962f78465</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33537: Add an __all__ to importlib.resources (#6920)</title>
<updated>2018-05-17T15:41:53+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2018-05-17T15:41:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0ed66df5242138fc599b4735749e55f953d9a1e4'/>
<id>0ed66df5242138fc599b4735749e55f953d9a1e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33254: do not return an empty list when asking for the contents of a namespace package (GH-6467)</title>
<updated>2018-04-30T18:31:45+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brettcannon@users.noreply.github.com</email>
</author>
<published>2018-04-30T18:31:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3ab9365dca8438f89b2060cd3eebe00606133dc4'/>
<id>3ab9365dca8438f89b2060cd3eebe00606133dc4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33169: Remove values of `None` from sys.path_importer_cache when invalidating caches (GH-6402)</title>
<updated>2018-04-06T23:10:18+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brettcannon@users.noreply.github.com</email>
</author>
<published>2018-04-06T23:10:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9e2be60634914f23db2ae5624e4acc9335bf5fea'/>
<id>9e2be60634914f23db2ae5624e4acc9335bf5fea</id>
<content type='text'>
An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33151: Handle submodule resources (GH-6268)</title>
<updated>2018-03-27T16:59:38+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2018-03-27T16:59:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=30e507dff465a31901d87df791a2bac40dc88530'/>
<id>30e507dff465a31901d87df791a2bac40dc88530</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33041: Rework compiling an "async for" loop. (#6142)</title>
<updated>2018-03-23T12:34:35+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-03-23T12:34:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=702f8f3611bc49b73772cce2b9b041bd11ff9b35'/>
<id>702f8f3611bc49b73772cce2b9b041bd11ff9b35</id>
<content type='text'>
* Added new opcode END_ASYNC_FOR.
* Setting global StopAsyncIteration no longer breaks "async for" loops.
* Jumping into an "async for" loop is now disabled.
* Jumping out of an "async for" loop no longer corrupts the stack.
* Simplify the compiler.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Added new opcode END_ASYNC_FOR.
* Setting global StopAsyncIteration no longer breaks "async for" loops.
* Jumping into an "async for" loop is now disabled.
* Jumping out of an "async for" loop no longer corrupts the stack.
* Simplify the compiler.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32946: Speed up "from ... import ..." from non-packages. (GH-5873)</title>
<updated>2018-03-11T08:52:37+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-03-11T08:52:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4e2442505c5e9eec396dcef4d2e6bdd2b6f92fc9'/>
<id>4e2442505c5e9eec396dcef4d2e6bdd2b6f92fc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler. (GH-5006)</title>
<updated>2018-02-22T21:33:30+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-02-22T21:33:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=520b7ae27e39d1c77ea74ccd1b184d7cb43f9dcb'/>
<id>520b7ae27e39d1c77ea74ccd1b184d7cb43f9dcb</id>
<content type='text'>


Co-authored-by: Mark Shannon &lt;mark@hotpy.org&gt;
Co-authored-by: Antoine Pitrou &lt;antoine@python.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>


Co-authored-by: Mark Shannon &lt;mark@hotpy.org&gt;
Co-authored-by: Antoine Pitrou &lt;antoine@python.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
