<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/importlib, branch 3.6</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/importlib?h=3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/importlib?h=3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-02-26T19:23:24Z</updated>
<entry>
<title>Revert "[3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5504)" (#5911)</title>
<updated>2018-02-26T19:23:24Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2018-02-26T19:23:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=86ea85134645c75783936ca4b5c6269cb8ac4634'/>
<id>urn:sha1:86ea85134645c75783936ca4b5c6269cb8ac4634</id>
<content type='text'>
This reverts commit a71397fb6603d0fe673acd7765c74699cd28fe7b.</content>
</entry>
<entry>
<title>[3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5504)</title>
<updated>2018-02-03T04:21:14Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2018-02-03T04:21:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a71397fb6603d0fe673acd7765c74699cd28fe7b'/>
<id>urn:sha1:a71397fb6603d0fe673acd7765c74699cd28fe7b</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>
</entry>
<entry>
<title>[3.6] bpo-21720: Restore the Python 2.7 logic in handling a fromlist. (GH-4118) (#4128)</title>
<updated>2017-10-26T09:02:54Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-10-26T09:02:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b5cbbb13c6c9138d04c3ca4eb7431f8c65d8e65'/>
<id>urn:sha1:2b5cbbb13c6c9138d04c3ca4eb7431f8c65d8e65</id>
<content type='text'>
BytesWarning no longer emitted when the fromlist argument of
__import__() or the __all__ attribute of the module contain bytes
instances..
(cherry picked from commit 41c56940c6edf3ea169332a6b039b6c8796f0475)</content>
</entry>
<entry>
<title>[3.6] bpo-31642: Restore blocking "from" import by setting None in sys.modules. (GH-3834). (#3923)</title>
<updated>2017-10-08T09:51:55Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-10-08T09:51:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f059ab80a351a7dd85cc57c5ca240f817a79c5d'/>
<id>urn:sha1:6f059ab80a351a7dd85cc57c5ca240f817a79c5d</id>
<content type='text'>
(cherry picked from commit f07e2b64df6304a36fb5e29397d3c77a7ba17704)</content>
</entry>
<entry>
<title>[3.6] bpo-31070: Fix a race condition in importlib _get_module_lock(). (GH-3033). (#3038)</title>
<updated>2017-08-09T11:56:13Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-08-09T11:56:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f3b891718e104b6e7018b58bbcd86421a2837fb8'/>
<id>urn:sha1:f3b891718e104b6e7018b58bbcd86421a2837fb8</id>
<content type='text'>
(cherry picked from commit 9b0d1d647e3d2ec9d299e5c9f49b02fbbb810a5a)</content>
</entry>
<entry>
<title>bpo-30891: Fix again importlib _find_and_load() (#2665) (#2801)</title>
<updated>2017-07-21T11:28:55Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-07-21T11:28:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb323b261d0f41ad6998d3a16c41b29b3bb8e982'/>
<id>urn:sha1:bb323b261d0f41ad6998d3a16c41b29b3bb8e982</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.
(cherry picked from commit e72b1359f81d1dd42bd8a5c5cc2b3928b74f8023)</content>
</entry>
<entry>
<title>[3.6] bpo-30876: Relative import from unloaded package now reimports the package (GH-2639) (#2676)</title>
<updated>2017-07-16T04:44:25Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-07-16T04:44:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=28343e3392ca7b1ec7151f68d4d92c90efb91e50'/>
<id>urn:sha1:28343e3392ca7b1ec7151f68d4d92c90efb91e50</id>
<content type='text'>
instead of failing with SystemError.

Relative import from non-package now fails with ImportError rather than
SystemError.
(cherry picked from commit 8a9cd20edca7d01b68292036029ae3735ce65edd)</content>
</entry>
<entry>
<title>bpo-30891: Fix importlib _find_and_load() race condition (#2646) (#2651)</title>
<updated>2017-07-10T21:16:27Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-07-10T21:16:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe6e686c27ce3a3ecdf03803cff7e230dee5530d'/>
<id>urn:sha1:fe6e686c27ce3a3ecdf03803cff7e230dee5530d</id>
<content type='text'>
* Rewrite importlib _get_module_lock(): it is now responsible to hold
  the imp lock directly.
* _find_and_load() now holds the module lock to check if name is in
  sys.modules to prevent a race condition
(cherry picked from commit 4f9a446f3fb42f800e73cd9414dd1eccb3ca4fa7)</content>
</entry>
<entry>
<title>[3.6] bpo-30814: Fixed a race condition when import a submodule from a package. (GH-2580). (#2598)</title>
<updated>2017-07-06T05:38:24Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-07-06T05:38:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=03b0e8374b2ea93adf8fb6a48db2916f3b0388cc'/>
<id>urn:sha1:03b0e8374b2ea93adf8fb6a48db2916f3b0388cc</id>
<content type='text'>
(cherry picked from commit b4baacee1adc06edbe30ac7574d17a8cd168e2e0)</content>
</entry>
<entry>
<title>bpo-29862: Fix grammar in importlib.reload() exception (GH-809) (GH-811)</title>
<updated>2017-03-25T10:41:59Z</updated>
<author>
<name>Mariatta</name>
<email>Mariatta@users.noreply.github.com</email>
</author>
<published>2017-03-25T10:41:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8b82236952619c3838865ff535e5ce77b59b4a78'/>
<id>urn:sha1:8b82236952619c3838865ff535e5ce77b59b4a78</id>
<content type='text'>
(cherry picked from commit 9f0aa4843f8c26937d5817f27cac4aae9c0a034f)</content>
</entry>
</feed>
