New submission from Nina Zakharenko <nzakhare...@gmail.com>:

Update the BuiltinImporter in importllib to set the origin from the shared 
`loader._ORIGIN` attribute instead of using the hard-coded value of 'built-in' 
in order to match the functionality of FrozenImporter.

The FrozenImporter was updated to use this attribute in PR GH-11732 
(https://github.com/python/cpython/pull/11732)

----------
assignee: nnja
components: Interpreter Core
messages: 334989
nosy: barry, nnja
priority: low
severity: normal
status: open
title: Update the BuiltinImporter in importlib to use loader._ORIGIN instead of 
a hardcoded value
type: enhancement
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35923>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to