]> granicus.if.org Git - python/commit
bpo-35321: Set the spec origin to frozen in frozen modules (#11732)
authorNina Zakharenko <nzakharenko@gmail.com>
Tue, 5 Feb 2019 00:56:26 +0000 (16:56 -0800)
committerBarry Warsaw <barry@python.org>
Tue, 5 Feb 2019 00:56:26 +0000 (16:56 -0800)
commit69091cb497b2f0fe7e2789b30b43cf78caf9de9b
tree60e8125f1d1a74a77ffef29d97eed71e8de13383
parent89427cd0feae25bbc8693abdccfa6a8c81a2689c
bpo-35321: Set the spec origin to frozen in frozen modules (#11732)

* bpo-35321: Set the spec origin to frozen in frozen modules

This fix correctly sets the spec origin to
"frozen" for the _frozen_importlib module. Note that the
origin was already correctly set in _frozen_importlib_external.

* ðŸ“œðŸ¤– Added by blurb_it.
Lib/importlib/_bootstrap.py
Lib/test/test_imp.py
Misc/NEWS.d/next/Library/2019-02-02-01-53-36.bpo-35321.1Y4DU4.rst [new file with mode: 0644]
Python/importlib.h