This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author maggyero
Recipients barry, brett.cannon, docs@python, eric.snow, maggyero, mdk, ncoghlan
Date 2018-11-26.23:19:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543274371.24.0.788709270274.issue35321@psf.upfronthosting.co.za>
In-reply-to
Content
How to reproduce:
In Python:
> import _frozen_importlib
> print(_frozen_importlib.__spec__.origin)

Observed result:
The __spec__.origin attribute of the _frozen_importlib module is None.

Expected result:
The __spec__.origin attribute of the _frozen_importlib module should be 'frozen', like it is already the case for the _frozen_importlib_external module and documented for all frozen modules in PEP 451: https://www.python.org/dev/peps/pep-0451/#origin
History
Date User Action Args
2018-11-26 23:19:31maggyerosetrecipients: + maggyero, barry, brett.cannon, ncoghlan, docs@python, eric.snow, mdk
2018-11-26 23:19:31maggyerosetmessageid: <1543274371.24.0.788709270274.issue35321@psf.upfronthosting.co.za>
2018-11-26 23:19:31maggyerolinkissue35321 messages
2018-11-26 23:19:31maggyerocreate