<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_import, branch v3.7.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_import?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_import?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-05-15T21:24:26Z</updated>
<entry>
<title>bpo-33465: Use an unlikely to be built-in C extension in a test (GH-6797) (#6869)</title>
<updated>2018-05-15T21:24:26Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-15T21:24:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2cdb70ac5df30db021417ab71a327d9b4322de13'/>
<id>urn:sha1:2cdb70ac5df30db021417ab71a327d9b4322de13</id>
<content type='text'>
(cherry picked from commit 8709b236fc997077d24b4802320db287640f82e2)

Co-authored-by: Barry Warsaw &lt;barry@python.org&gt;</content>
</entry>
<entry>
<title>bpo-33053: -m now adds *starting* directory to sys.path (GH-6231) (#6236)</title>
<updated>2018-03-25T13:43:50Z</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2018-03-25T13:43:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ee3784594b33c72c3fdca6a71892d22f14045ab6'/>
<id>urn:sha1:ee3784594b33c72c3fdca6a71892d22f14045ab6</id>
<content type='text'>
Historically, -m added the empty string as sys.path
zero, meaning it resolved imports against the current
working directory, the same way -c and the interactive
prompt do.

This changes the sys.path initialisation to add the
*starting* working directory as sys.path[0] instead,
such that changes to the working directory while the
program is running will have no effect on imports
when using the -m switch.

(cherry picked from commit d5d9e02dd3c6df06a8dd9ce75ee9b52976420a8b)</content>
</entry>
<entry>
<title>closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)</title>
<updated>2017-12-09T18:26:52Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-12-09T18:26:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=42aa93b8ff2f7879282b06efc73a31ec7785e602'/>
<id>urn:sha1:42aa93b8ff2f7879282b06efc73a31ec7785e602</id>
<content type='text'>
Python now supports checking bytecode cache up-to-dateness with a hash of the
source contents rather than volatile source metadata. See the PEP for details.

While a fairly straightforward idea, quite a lot of code had to be modified due
to the pervasiveness of pyc implementation details in the codebase. Changes in
this commit include:

- The core changes to importlib to understand how to read, validate, and
  regenerate hash-based pycs.

- Support for generating hash-based pycs in py_compile and compileall.

- Modifications to our siphash implementation to support passing a custom
  key. We then expose it to importlib through _imp.

- Updates to all places in the interpreter, standard library, and tests that
  manually generate or parse pyc files to grok the new format.

- Support in the interpreter command line code for long options like
  --check-hash-based-pycs.

- Tests and documentation for all of the above.
</content>
</entry>
<entry>
<title>bpo-31492: Fix assertion failures in case of a module with a bad __name__ attribute. (#3620)</title>
<updated>2017-09-19T11:23:01Z</updated>
<author>
<name>Oren Milman</name>
<email>orenmn@gmail.com</email>
</author>
<published>2017-09-19T11:23:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6db7033192cd537ca987a65971acb01206c3ba82'/>
<id>urn:sha1:6db7033192cd537ca987a65971acb01206c3ba82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-31286, bpo-30024: Fixed stack usage in absolute imports with (#3217)</title>
<updated>2017-08-29T12:47:44Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-08-29T12:47:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=265fcc5fc25d65afb33fda480c603f1e974e374e'/>
<id>urn:sha1:265fcc5fc25d65afb33fda480c603f1e974e374e</id>
<content type='text'>
binding a submodule to a name.</content>
</entry>
<entry>
<title>bpo-30876: Relative import from unloaded package now reimports the package (#2639)</title>
<updated>2017-07-12T03:50:03Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-07-12T03:50:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8a9cd20edca7d01b68292036029ae3735ce65edd'/>
<id>urn:sha1:8a9cd20edca7d01b68292036029ae3735ce65edd</id>
<content type='text'>
instead of failing with SystemError.

Relative import from non-package now fails with ImportError rather than
SystemError.
</content>
</entry>
<entry>
<title>bpo-30814: Fixed a race condition when import a submodule from a package. (#2580)</title>
<updated>2017-07-06T05:09:03Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-07-06T05:09:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b4baacee1adc06edbe30ac7574d17a8cd168e2e0'/>
<id>urn:sha1:b4baacee1adc06edbe30ac7574d17a8cd168e2e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix skipping test_UNC_path on AppVeyor due to a different error being raised (#1920)</title>
<updated>2017-06-02T16:28:16Z</updated>
<author>
<name>Segev Finer</name>
<email>segev208@gmail.com</email>
</author>
<published>2017-06-02T16:28:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7a99625e0d95cd88ed8842d8677b5beea1fde5ae'/>
<id>urn:sha1:7a99625e0d95cd88ed8842d8677b5beea1fde5ae</id>
<content type='text'>
We get `ERROR_BAD_NETPATH` (53) on AppVeyor which is translated to
ENOENT (2).</content>
</entry>
<entry>
<title>bpo-30024: Circular imports involving absolute imports with binding (#1264)</title>
<updated>2017-05-09T19:31:05Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-05-09T19:31:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f93234bb8a87855f295d441524e519481ce6ab13'/>
<id>urn:sha1:f93234bb8a87855f295d441524e519481ce6ab13</id>
<content type='text'>
a submodule to a name are now supported.</content>
</entry>
<entry>
<title>bpo-29693: Fix for DeprecationWarning in test_import (#421)</title>
<updated>2017-03-03T08:12:03Z</updated>
<author>
<name>Anish Shah</name>
<email>shah.anish07@gmail.com</email>
</author>
<published>2017-03-03T08:12:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=15aa4c88f6052af6279e6be3fcd2f968f1c53eae'/>
<id>urn:sha1:15aa4c88f6052af6279e6be3fcd2f968f1c53eae</id>
<content type='text'>
Patch by Anish Shah.</content>
</entry>
</feed>
