History log of /external/python/cpython3/Lib/test/test_importlib/test_abc.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
228ab1ff6b5b02d8325a678b8afc140a153d4cf5 11-May-2016 Eric Snow <ericsnowcurrently@gmail.com> Issue #21099: Switch applicable importlib tests to use PEP 451 API.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
f2c4ba120767e0e627844c2d8397462b5b2b86ca 07-Jul-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #19593: Use specific asserts in importlib tests.
344f8316fd52205b19689dbdf44cfcfb338d127e 07-Jul-2014 Serhiy Storchaka <storchaka@gmail.com> Issue #19593: Use specific asserts in importlib tests.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
3497c0bf957be33c6794a4548cfa53dbb0f9b5df 16-May-2014 Eric Snow <ericsnowcurrently@gmail.com> Issue #21503: Use test_both() consistently in test_importlib.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
8d942296bb6cc45e519447484084bee1507d664b 07-Jan-2014 Brett Cannon <brett@python.org> Issue #19719: Update various finder and loader ABCs such that their
old methods now provide implementations when PEP 451 APIs are present.

This should help with backwards-compatibility with code which has not
been updated to work with PEP 451.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
1500d49c22e1a38d186f2dddfa6ba2c5a6cd7d5e 07-Jan-2014 Eric Snow <ericsnowcurrently@gmail.com> Issue 19713: Add PEP 451-related deprecations.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
b523f8433a8982e10eb41a3e2b37ee0e6d6a6e00 22-Nov-2013 Eric Snow <ericsnowcurrently@gmail.com> Implement PEP 451 (ModuleSpec).
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
7e70fa53142564bed7415b3798c3e77f0574f816 05-Oct-2013 Eric Snow <ericsnowcurrently@gmail.com> [issue 19152] Ensure we have actually registered ExtensionFileLoader as an ExecutionLoader.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
3ad327ec3ad1887a9e5ab738ba12b5f78751a791 04-Oct-2013 Brett Cannon <brett@python.org> Issue #16803: Run test.test_importlib.test_abc under both
_frozen_importlib and source.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
ef888024d86eccb29b10d55066fa33c3aa54a586 16-Jun-2013 Brett Cannon <brett@python.org> Issue #17177: stop using imp in test_importlib
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
0dbb4c7f1338d1391e7214b564ef4638bc257347 01-Jun-2013 Brett Cannon <brett@python.org> Issues #18088, 18089: Introduce
importlib.abc.Loader.init_module_attrs() and implement
importlib.abc.InspectLoader.load_module().

The importlib.abc.Loader.init_module_attrs() method sets the various
attributes on the module being loaded. It is done unconditionally to
support reloading. Typically people used
importlib.util.module_for_loader, but since that's a decorator there
was no way to override it's actions, so init_module_attrs() came into
existence to allow for overriding. This is also why module_for_loader
is now pending deprecation (having its other use replaced by
importlib.util.module_to_load).

All of this allowed for importlib.abc.InspectLoader.load_module() to
be implemented. At this point you can now implement a loader with
nothing more than get_code() (which only requires get_source();
package support requires is_package()). Thanks to init_module_attrs()
the implementation of load_module() is basically a context manager
containing 2 methods calls, a call to exec(), and a return statement.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
3b62ca88e4217679e4291126162252e75396fb10 28-May-2013 Brett Cannon <brett@python.org> Issue #18072: Implement get_code() for importlib.abc.InspectLoader and
ExecutionLoader.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
9ffe85e1e86bc6718f105f2ab9833ef80f691367 26-May-2013 Brett Cannon <brett@python.org> Move importlib.abc.SourceLoader.source_to_code() to InspectLoader.

While the previous location was fine, it makes more sense to have the
method higher up in the inheritance chain, especially at a point where
get_source() is defined which is the earliest source_to_code() could
programmatically be used in the inheritance tree in importlib.abc.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
100883f0cbccb936b928ddaa962c967296455af3 09-Apr-2013 Brett Cannon <brett@python.org> Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/return
the default exception/value when called instead of raising/returning
NotimplementedError/NotImplemented (except where appropriate).
This should allow for the ABCs to act as the bottom/end of the MRO with expected
default results.

As part of this work, also make importlib.abc.Loader.module_repr()
optional instead of an abstractmethod.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
90a654b1dd77ff5fb91c723181b724affbc04cf7 05-Nov-2012 Andrew Svetlov <andrew.svetlov@gmail.com> Issue #15641: Clean up deprecated classes from importlib

Patch by Taras Lyapun.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
f4dc9204cc406ab41c2d643c1a64375a6a2954e5 10-Aug-2012 Brett Cannon <brett@python.org> Issue #15502: Finish bringing importlib.abc in line with the current
state of the import system. Also make importlib.invalidate_caches()
work with sys.meta_path instead of sys.path_importer_cache to
completely separate the path-based import system from the overall
import system.

Patch by Eric Snow.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
ff79486bb5e353dd32fa422ff65a595a3ff1b554 02-Aug-2012 Nick Coghlan <ncoghlan@gmail.com> Close #15519: Properly expose WindowsRegistryFinder in importlib and bring the name into line with normal import terminology. Original patch by Eric Snow
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
8a9080feffc757360d0d73e4173189586098ffb5 02-Aug-2012 Nick Coghlan <ncoghlan@gmail.com> Issue #15502: Bring the importlib ABCs into line with the current state of the import protocols given PEP 420. Original patch by Eric Snow.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py
45a5e3afe52ed89f298242143c5f7e2bb992ac63 20-Jul-2012 Brett Cannon <brett@python.org> Issue #15168: Move importlb.test to test.test_importlib.
This should make the Linux distros happy as it is now easier to leave
importlib's tests out of their base Python distribution.
/external/python/cpython3/Lib/test/test_importlib/test_abc.py