<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/importlib.h, branch v3.7.13</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-32911: Revert bpo-29463. (GH-7121)</title>
<updated>2018-05-29T07:49:10+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-05-29T07:49:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2641ee5040abb090e66e4ff80c33b76729b36e75'/>
<id>2641ee5040abb090e66e4ff80c33b76729b36e75</id>
<content type='text'>
Remove the docstring attribute of AST types and restore docstring
expression as a first stmt in their body.

Co-authored-by: INADA Naoki &lt;methane@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the docstring attribute of AST types and restore docstring
expression as a first stmt in their body.

Co-authored-by: INADA Naoki &lt;methane@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5503)</title>
<updated>2018-02-03T00:49:25+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2018-02-03T00:49:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a23d30f64bd9c5655cfae7f359d4279c47f6cab3'/>
<id>a23d30f64bd9c5655cfae7f359d4279c47f6cab3</id>
<content type='text'>
* Make sure ``__spec__.loader`` matches ``__loader__`` for namespace packages.
* Make sure ``__spec__.origin` matches ``__file__`` for namespace packages.

https://bugs.python.org/issue32303
https://bugs.python.org/issue32305
(cherry picked from commit bbbcf8693b876daae4469765aa62f8924f39a7d2)

Co-authored-by: Barry Warsaw &lt;barry@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make sure ``__spec__.loader`` matches ``__loader__`` for namespace packages.
* Make sure ``__spec__.origin` matches ``__file__`` for namespace packages.

https://bugs.python.org/issue32303
https://bugs.python.org/issue32305
(cherry picked from commit bbbcf8693b876daae4469765aa62f8924f39a7d2)

Co-authored-by: Barry Warsaw &lt;barry@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-24340: Fix estimation of the code stack size. (#5076)</title>
<updated>2018-01-09T19:54:52+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-01-09T19:54:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d4864c61e3e27e337762dc45e504977299bd5b46'/>
<id>d4864c61e3e27e337762dc45e504977299bd5b46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29469: Optimize literal lists and sets iterating on the AST level. (#4866)</title>
<updated>2017-12-14T18:24:31+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-12-14T18:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=15a8728415e765f57e37f431f09e5c5821a04063'/>
<id>15a8728415e765f57e37f431f09e5c5821a04063</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29469: Move constant folding to AST optimizer (GH-2858)</title>
<updated>2017-12-14T07:47:20+00:00</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2017-12-14T07:47:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7ea143ae795a9fd57eaccf490d316bdc13ee9065'/>
<id>7ea143ae795a9fd57eaccf490d316bdc13ee9065</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-21720: Restore the Python 2.7 logic in handling a fromlist. (#4118)</title>
<updated>2017-10-26T07:41:59+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-10-26T07:41:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=41c56940c6edf3ea169332a6b039b6c8796f0475'/>
<id>41c56940c6edf3ea169332a6b039b6c8796f0475</id>
<content type='text'>
BytesWarning no longer emitted when the fromlist argument of
__import__() or the __all__ attribute of the module contain bytes
instances.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BytesWarning no longer emitted when the fromlist argument of
__import__() or the __all__ attribute of the module contain bytes
instances.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31642: Restore blocking "from" import by setting None in sys.modules. (#3834)</title>
<updated>2017-10-08T07:44:10+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-10-08T07:44:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f07e2b64df6304a36fb5e29397d3c77a7ba17704'/>
<id>f07e2b64df6304a36fb5e29397d3c77a7ba17704</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial cleanups following bpo-31370 (#3649)</title>
<updated>2017-09-18T21:50:44+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-09-18T21:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=88c60c9668f0aa732693517a60b851cc1dfce0cb'/>
<id>88c60c9668f0aa732693517a60b851cc1dfce0cb</id>
<content type='text'>
* Trivial cleanups following bpo-31370

* Also cleanup the "importlib._bootstrap_external" module
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Trivial cleanups following bpo-31370

* Also cleanup the "importlib._bootstrap_external" module
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31070: Fix a race condition in importlib _get_module_lock(). (#3033)</title>
<updated>2017-08-09T11:29:12+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-08-09T11:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9b0d1d647e3d2ec9d299e5c9f49b02fbbb810a5a'/>
<id>9b0d1d647e3d2ec9d299e5c9f49b02fbbb810a5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30891: Fix again importlib _find_and_load() (#2665)</title>
<updated>2017-07-21T11:00:46+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-07-21T11:00:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e72b1359f81d1dd42bd8a5c5cc2b3928b74f8023'/>
<id>e72b1359f81d1dd42bd8a5c5cc2b3928b74f8023</id>
<content type='text'>
Use sys.modules.get() in the "with _ModuleLockManager(name):" block
to protect the dictionary key with the module lock and use an atomic
get to prevent race condition.

Remove also _bootstrap._POPULATE since it was unused
(_bootstrap_external now has its own _POPULATE object), add a new
_SENTINEL object instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use sys.modules.get() in the "with _ModuleLockManager(name):" block
to protect the dictionary key with the module lock and use an atomic
get to prevent race condition.

Remove also _bootstrap._POPULATE since it was unused
(_bootstrap_external now has its own _POPULATE object), add a new
_SENTINEL object instead.</pre>
</div>
</content>
</entry>
</feed>
