[New-bugs-announce] [issue45658] Implement FrozenImporter.get_source()

Eric Snow report at bugs.python.org
Thu Oct 28 14:36:49 EDT 2021


New submission from Eric Snow <ericsnowcurrently at gmail.com>:

FrozenImporter (in Lib/importlib/_bootstrap.py) has a get_source() method but it always returns None.  Now that __file__ is set on frozen (stdlib) modules, we can implement FrozenImporter.get_source() appropriately.

----------
components: Library (Lib)
messages: 405219
nosy: FFY00, eric.snow
priority: normal
severity: normal
stage: needs patch
status: open
title: Implement FrozenImporter.get_source()
type: behavior
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45658>
_______________________________________


More information about the New-bugs-announce mailing list