Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Lib/importlib/_bootstrap_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,8 +1162,8 @@ class ExtensionFileLoader(FileLoader, _LoaderBasics):

"""

def __init__(self, name, path):
self.name = name
def __init__(self, fullname, path):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea is to make name deprecated first and then switch to only allowing fullname.

self.name = fullname
self.path = path

def __eq__(self, other):
Expand Down