<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/</link>
    <language>en-us</language>

    <title>cpython-lru_cache-weakref: Lib/importlib/test/source/test_source_encoding.py history</title>
    <description>Lib/importlib/test/source/test_source_encoding.py revision history</description>
    <item>
    <title>Issue #14605: Expose importlib.abc.FileLoader and</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/1da623513b26/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[Issue #14605: Expose importlib.abc.FileLoader and<br/>
importlib.machinery.(FileFinder, SourceFileLoader,<br/>
_SourcelessFileLoader, ExtensionFileLoader).<br/>
<br/>
This exposes all of importlib's mechanisms that will become public on<br/>
the sys module.]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#114;&#101;&#116;&#116;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Sun, 22 Apr 2012 19:58:33 -0400</pubDate>
</item>
<item>
    <title>Issue #2377: Make importlib the implementation of __import__().</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/2dd046be2c88/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[Issue #2377: Make importlib the implementation of __import__().<br/>
<br/>
importlib._bootstrap is now frozen into Python/importlib.h and stored<br/>
as _frozen_importlib in sys.modules. Py_Initialize() loads the frozen<br/>
code along with sys and imp and then uses _frozen_importlib._install()<br/>
to set builtins.__import__() w/ _frozen_importlib.__import__().]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#114;&#101;&#116;&#116;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Sat, 14 Apr 2012 14:10:13 -0400</pubDate>
</item>
<item>
    <title>Make importlib.abc.SourceLoader the primary mechanism for importlib.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/34d827249ce0/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[Make importlib.abc.SourceLoader the primary mechanism for importlib.<br/>
<br/>
This required moving the class from importlib/abc.py into<br/>
importlib/_bootstrap.py and jiggering some code to work better with the class.<br/>
This included changing how the file finder worked to better meet import<br/>
semantics. This also led to fixing importlib to handle the empty string from<br/>
sys.path as import currently does (and making me wish we didn't support that<br/>
instead just required people to insert '.' instead to represent cwd).<br/>
<br/>
It also required making the new set_data abstractmethod create<br/>
any needed subdirectories implicitly thanks to __pycache__ (it was either this<br/>
or grow the SourceLoader ABC to gain an 'exists' method and either a mkdir<br/>
method or have set_data with no data arg mean to create a directory).<br/>
<br/>
Lastly, as an optimization the file loaders cache the file path where the<br/>
finder found something to use for loading (this is thanks to having a<br/>
sourceless loader separate from the source loader to simplify the code and<br/>
cut out stat calls).<br/>
Unfortunately test_runpy assumed a loader would always work for a module, even<br/>
if you changed from underneath it what it was expected to work with. By simply<br/>
dropping the previous loader in test_runpy so the proper loader can be returned<br/>
by the finder fixed the failure.<br/>
<br/>
At this point importlib deviates from import on two points:<br/>
<br/>
1. The exception raised when trying to import a file is different (import does<br/>
an explicit file check to print a special message, importlib just says the path<br/>
cannot be imported as if it was just some module name).<br/>
<br/>
2. the co_filename on a code object is not being set to where bytecode was<br/>
actually loaded from instead of where the marshalled code object originally<br/>
came from (a solution for this has already been agreed upon on python-dev but has<br/>
not been implemented yet; issue8611).]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#99;&#97;&#110;&#110;&#111;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 03 Jul 2010 21:48:25 +0000</pubDate>
</item>
<item>
    <title>PEP 3147</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/7b69e630d237/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[PEP 3147]]></description>
    <author>&#66;&#97;&#114;&#114;&#121;&#32;&#87;&#97;&#114;&#115;&#97;&#119;&#32;&#60;&#98;&#97;&#114;&#114;&#121;&#64;&#112;&#121;&#116;&#104;&#111;&#110;&#46;&#111;&#114;&#103;&#62;</author>
    <pubDate>Sat, 17 Apr 2010 00:19:56 +0000</pubDate>
</item>
<item>
    <title>Move over to using assertRaises as a context manager for importlib tests.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/b65ebed06eb0/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[Move over to using assertRaises as a context manager for importlib tests.<br/>
<br/>
Obviously one shouldn't do whole sale conversions like this, but I was already<br/>
going through the test code and I was bored at the airport.]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#99;&#97;&#110;&#110;&#111;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 27 Aug 2009 23:49:21 +0000</pubDate>
</item>
<item>
    <title>Finish properly hiding importlib implementation code.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/04a5b6438526/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[Finish properly hiding importlib implementation code.]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#99;&#97;&#110;&#110;&#111;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 12 Mar 2009 22:47:53 +0000</pubDate>
</item>
<item>
    <title>Refactor source and bytecode file loaders in importlib so that there</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/ee7029710c05/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[Refactor source and bytecode file loaders in importlib so that there<br/>
are source-only and source/bytecode loaders.]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#99;&#97;&#110;&#110;&#111;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 21 Feb 2009 05:41:15 +0000</pubDate>
</item>
<item>
    <title>Rename importlib.test.support to importlib.test.util.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/d85ef26efd10/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[Rename importlib.test.support to importlib.test.util.]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#99;&#97;&#110;&#110;&#111;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 01 Feb 2009 04:00:05 +0000</pubDate>
</item>
<item>
    <title>Split out support code that is specific to source tests out of</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/4b3246c83e3f/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[Split out support code that is specific to source tests out of<br/>
importlib.test.support to importlib.test.source.util.]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#99;&#97;&#110;&#110;&#111;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 01 Feb 2009 03:08:31 +0000</pubDate>
</item>
<item>
    <title>Add initial implementation of importlib. See the NOTES files for what is</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/aac51b70c74c/Lib/importlib/test/source/test_source_encoding.py</link>
    <description><![CDATA[Add initial implementation of importlib. See the NOTES files for what is<br/>
planned for the package.<br/>
<br/>
There are no docs yet, but they are coming once the API for the first new<br/>
function, importlib.import_module() is finalized.]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#99;&#97;&#110;&#110;&#111;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 18 Jan 2009 00:24:28 +0000</pubDate>
</item>

  </channel>
</rss>
