Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileFinder.find_spec() incompatible with finder specification #71463

Closed
paulmar mannequin opened this issue Jun 9, 2016 · 1 comment
Closed

FileFinder.find_spec() incompatible with finder specification #71463

paulmar mannequin opened this issue Jun 9, 2016 · 1 comment

Comments

@paulmar
Copy link
Mannequin

paulmar mannequin commented Jun 9, 2016

BPO 27276
Nosy @paulmar

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2016-06-09.05:00:24.953>
created_at = <Date 2016-06-09.04:58:21.380>
labels = ['invalid']
title = 'FileFinder.find_spec() incompatible with finder specification'
updated_at = <Date 2016-06-09.05:00:24.952>
user = 'https://github.com/paulmar'

bugs.python.org fields:

activity = <Date 2016-06-09.05:00:24.952>
actor = 'paulmar'
assignee = 'none'
closed = True
closed_date = <Date 2016-06-09.05:00:24.953>
closer = 'paulmar'
components = []
creation = <Date 2016-06-09.04:58:21.380>
creator = 'paulmar'
dependencies = []
files = []
hgrepos = []
issue_num = 27276
keywords = []
message_count = 1.0
messages = ['267961']
nosy_count = 1.0
nosy_names = ['paulmar']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue27276'
versions = ['Python 3.5']

@paulmar
Copy link
Mannequin Author

paulmar mannequin commented Jun 9, 2016

importlib.machinery.FileFinder.find_spec is incompatible with importlib.abc.MetaPathFinder.find_spec (different number of arguments).

The following leads to a runtime error:

loader = (importlib.machinery.SourceFileLoader, importlib.machinery.SOURCE_SUFFIXES)
sys.meta_path.append(importlib.machinery.FileFinder('/', loader))

@paulmar paulmar mannequin closed this as completed Jun 9, 2016
@paulmar paulmar mannequin added the invalid label Jun 9, 2016
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants