<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_import, branch master</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-45020: Freeze os, site, and codecs. (gh-28398)</title>
<updated>2021-09-17T22:31:31+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2021-09-17T22:31:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=090591636c4f03ce06a039079bd7716a5b23631e'/>
<id>090591636c4f03ce06a039079bd7716a5b23631e</id>
<content type='text'>
https://bugs.python.org/issue45020</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue45020</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45020: Freeze some of the modules imported during startup. (gh-28335)</title>
<updated>2021-09-15T16:19:30+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2021-09-15T16:19:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cbeb81971057d6c382f45ecce92df2b204d4106a'/>
<id>cbeb81971057d6c382f45ecce92df2b204d4106a</id>
<content type='text'>
Doing this provides significant performance gains for runtime startup (~15% with all the imported modules frozen). We don't yet freeze all the imported modules because there are a few hiccups in the build systems we need to sort out first. (See bpo-45186 and bpo-45188.)

Note that in PR GH-28320 we added a command-line flag (-X frozen_modules=[on|off]) that allows users to opt out of (or into) using frozen modules. The default is still "off" but we will change it to "on" as soon as we can do it in a way that does not cause contributors pain.

https://bugs.python.org/issue45020</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doing this provides significant performance gains for runtime startup (~15% with all the imported modules frozen). We don't yet freeze all the imported modules because there are a few hiccups in the build systems we need to sort out first. (See bpo-45186 and bpo-45188.)

Note that in PR GH-28320 we added a command-line flag (-X frozen_modules=[on|off]) that allows users to opt out of (or into) using frozen modules. The default is still "off" but we will change it to "on" as soon as we can do it in a way that does not cause contributors pain.

https://bugs.python.org/issue45020</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44717: improve AttributeError on circular imports of submodules (GH-27338)</title>
<updated>2021-07-24T22:44:46+00:00</updated>
<author>
<name>Filipe Laíns</name>
<email>lains@riseup.net</email>
</author>
<published>2021-07-24T22:44:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0a8ae8a50a0fea3d39ec49b220a5c7a5b70e36f8'/>
<id>0a8ae8a50a0fea3d39ec49b220a5c7a5b70e36f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-44717: improve AttributeError on circular imports of submodules (GH-27299)" (GH-27331)</title>
<updated>2021-07-24T13:33:03+00:00</updated>
<author>
<name>Pablo Galindo Salgado</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-07-24T13:33:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3eae8f20d7b6f88d3618b0afc94893165a914022'/>
<id>3eae8f20d7b6f88d3618b0afc94893165a914022</id>
<content type='text'>
This reverts commit 8072a1181dd64135f700b44372fbf7bf91e68072.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 8072a1181dd64135f700b44372fbf7bf91e68072.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44717: improve AttributeError on circular imports of submodules (GH-27299)</title>
<updated>2021-07-24T09:50:17+00:00</updated>
<author>
<name>Filipe Laíns</name>
<email>lains@riseup.net</email>
</author>
<published>2021-07-24T09:50:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8072a1181dd64135f700b44372fbf7bf91e68072'/>
<id>8072a1181dd64135f700b44372fbf7bf91e68072</id>
<content type='text'>
Signed-off-by: Filipe Laíns &lt;lains@riseup.net&gt;

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Filipe Laíns &lt;lains@riseup.net&gt;

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28395: Remove unnecessary semicolons in tests (GH-26868)</title>
<updated>2021-06-23T09:01:06+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na@python.org</email>
</author>
<published>2021-06-23T09:01:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5a3108044d2e5b694da2d1f4176c9bbaef15c142'/>
<id>5a3108044d2e5b694da2d1f4176c9bbaef15c142</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121)</title>
<updated>2021-04-07T00:02:07+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2021-04-07T00:02:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=04732ca993fa077a8b9640cc77fb2f152339585a'/>
<id>04732ca993fa077a8b9640cc77fb2f152339585a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181)</title>
<updated>2021-04-05T04:11:23+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2021-04-05T04:11:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c8e5eb904e12010d2302364e1037c24a30f5e241'/>
<id>c8e5eb904e12010d2302364e1037c24a30f5e241</id>
<content type='text'>
* Fix test_shutil
* Fix test_imp
* Fix test_import
* Fix test_importlib</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix test_shutil
* Fix test_imp
* Fix test_import
* Fix test_importlib</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Use new test.support helper submodules in tests (GH-21743)</title>
<updated>2020-08-06T11:51:29+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-08-06T11:51:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=79bb2c93f2d81702fdf1f93720369e18a76b7d1a'/>
<id>79bb2c93f2d81702fdf1f93720369e18a76b7d1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Use new test.support helper submodules in tests (GH-21412)</title>
<updated>2020-07-09T13:25:10+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-07-09T13:25:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=96a6a6d42be272a27562d98549bbffc0d1854669'/>
<id>96a6a6d42be272a27562d98549bbffc0d1854669</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
