cpython/Lib/importlib
Barry Warsaw a23d30f64b
bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5503)
* Make sure ``__spec__.loader`` matches ``__loader__`` for namespace packages.
* Make sure ``__spec__.origin` matches ``__file__`` for namespace packages.

https://bugs.python.org/issue32303
https://bugs.python.org/issue32305
(cherry picked from commit bbbcf8693b)

Co-authored-by: Barry Warsaw <barry@python.org>
2018-02-02 19:49:25 -05:00
..
__init__.py bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found (GH-972) 2017-05-24 15:19:50 -07:00
_bootstrap.py bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5503) 2018-02-02 19:49:25 -05:00
_bootstrap_external.py bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5503) 2018-02-02 19:49:25 -05:00
abc.py Implement the get_resource_reader() API for file system imports (#5168) 2018-01-15 15:07:11 -08:00
machinery.py Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
resources.py bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5503) 2018-02-02 19:49:25 -05:00
util.py closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575) 2017-12-09 10:26:52 -08:00