Eric Snow added the comment:
Note that there isn't any intent currently to implement the FileLoader ABC [1],
which would require having FrozenImporter instances, adding the "name" and
"path" attributes to them, as well as the get_data() method. The same goes for
the SourceLoader ABC. [2]
New submission from Eric Snow :
Now that __file__ is set on frozen (stdlib) modules, we can add an
implementation for FrozenImporter.get_filename(). This would make
FrozenImporter and implementation of ExecutionLoader. [1]
There is a caveat: in spec_from_loader() [2] we infer the presence