<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/import.c, branch v3.6.7</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>[3.6] bpo-33330: Improve error handling in PyImport_Cleanup(). (GH-6564). (GH-6604)</title>
<updated>2018-04-26T00:27:51+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-04-26T00:27:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b16681fb1e63f45361d1d68333d6dbdd4bf5435d'/>
<id>b16681fb1e63f45361d1d68333d6dbdd4bf5435d</id>
<content type='text'>
(cherry picked from commit e9d9494d6b2a5e0c2d48d22c7f0d5e95504b4f7e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit e9d9494d6b2a5e0c2d48d22c7f0d5e95504b4f7e)
</pre>
</div>
</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:25+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-07-16T04:44:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=28343e3392ca7b1ec7151f68d4d92c90efb91e50'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of failing with SystemError.

Relative import from non-package now fails with ImportError rather than
SystemError.
(cherry picked from commit 8a9cd20edca7d01b68292036029ae3735ce65edd)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30891: Fix importlib _find_and_load() race condition (#2646) (#2651)</title>
<updated>2017-07-10T21:16:27+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-07-10T21:16:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fe6e686c27ce3a3ecdf03803cff7e230dee5530d'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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)</pre>
</div>
</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:24+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-07-06T05:38:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=03b0e8374b2ea93adf8fb6a48db2916f3b0388cc'/>
<id>03b0e8374b2ea93adf8fb6a48db2916f3b0388cc</id>
<content type='text'>
(cherry picked from commit b4baacee1adc06edbe30ac7574d17a8cd168e2e0)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit b4baacee1adc06edbe30ac7574d17a8cd168e2e0)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.6] bpo-30626: Fix error handling in PyImport_Import(). (GH-2103) (#2221)</title>
<updated>2017-06-15T18:15:11+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-06-15T18:15:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fab05de21480fc54a5101cf813195cb32724b5ad'/>
<id>fab05de21480fc54a5101cf813195cb32724b5ad</id>
<content type='text'>
In rare circumstances PyImport_Import() could return NULL without raising
an error.
(cherry picked from commit 145541c)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In rare circumstances PyImport_Import() could return NULL without raising
an error.
(cherry picked from commit 145541c)</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.</title>
<updated>2016-11-16T08:19:20+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-11-16T08:19:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3b73ea127892d0e1f9d8f12f88e4f9c0ba0b89b1'/>
<id>3b73ea127892d0e1f9d8f12f88e4f9c0ba0b89b1</id>
<content type='text'>
The latter function is more readable, faster and doesn't raise exceptions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The latter function is more readable, faster and doesn't raise exceptions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.</title>
<updated>2016-11-16T08:17:58+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-11-16T08:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f4934ea77da38516731a75fbf9458b248d26dd81'/>
<id>f4934ea77da38516731a75fbf9458b248d26dd81</id>
<content type='text'>
The latter function is more readable, faster and doesn't raise exceptions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The latter function is more readable, faster and doesn't raise exceptions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix potential NULL pointer dereference in _imp_create_builtin</title>
<updated>2016-09-08T22:25:03+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2016-09-08T22:25:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a78b627e2b8ee464ecba3788725872d63f8a6b34'/>
<id>a78b627e2b8ee464ecba3788725872d63f8a6b34</id>
<content type='text'>
PyModule_GetDef() can return NULL. Let's check the return value properly
like in the other five cases.

CID 1299590
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyModule_GetDef() can return NULL. Let's check the return value properly
like in the other five cases.

CID 1299590
</pre>
</div>
</content>
</entry>
<entry>
<title>[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".</title>
<updated>2016-09-07T07:52:20+00:00</updated>
<author>
<name>Senthil Kumaran</name>
<email>senthil@uthcode.com</email>
</author>
<published>2016-09-07T07:52:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=32d374215a514915eca892e5c58a61e9494f37af'/>
<id>32d374215a514915eca892e5c58a61e9494f37af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27909: Fix INCREF for possible NULL value</title>
<updated>2016-08-31T15:44:11+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2016-08-31T15:44:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f0afe77c52971e17e559ae4e7889bf353fccffb5'/>
<id>f0afe77c52971e17e559ae4e7889bf353fccffb5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
