Skip to content

FileFinder.find_spec() incompatible with finder specification #71463

Description

@paulmar
mannequin
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']

Activity

  1. paulmar commented on Jun 9, 2016

    paulmarmannequin
    MannequinAuthor

    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))
  2. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions