GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Implement __subclasshook__() for Finders and Loaders in importlib.abc · Issue #63062 · python/cpython

Implement __subclasshook__() for Finders and Loaders in importlib.abc #63062

New issue
Copy link
New issue
Copy link
Open
Open
Implement __subclasshook__() for Finders and Loaders in importlib.abc#63062
Copy link
Labels
easystdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-importlibtype-featureA feature request or enhancementA feature request or enhancement

Description

@ericsnowcurrently
ericsnowcurrently
opened on Aug 28, 2013
Issue body actions
BPO 18862
Nosy @ncoghlan, @ericsnowcurrently
Files
  • issue18862-importlib-abc-subclasshooks.diff
  • 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 = None
    created_at = <Date 2013-08-28.03:10:36.721>
    labels = ['easy', 'type-feature', 'library']
    title = 'Implement __subclasshook__() for Finders and Loaders in importlib.abc'
    updated_at = <Date 2020-03-06.20:29:42.464>
    user = 'https://github.com/ericsnowcurrently'

    bugs.python.org fields:

    activity = <Date 2020-03-06.20:29:42.464>
    actor = 'brett.cannon'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-08-28.03:10:36.721>
    creator = 'eric.snow'
    dependencies = []
    files = ['31960']
    hgrepos = []
    issue_num = 18862
    keywords = ['patch', 'easy']
    message_count = 2.0
    messages = ['196346', '198982']
    nosy_count = 2.0
    nosy_names = ['ncoghlan', 'eric.snow']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue18862'
    versions = ['Python 3.4']

    Linked PRs

    • GH-63062: Implement __subclasshook__() for Finders and Loaders in abc lib #102763

    Activity

    1. ericsnowcurrently commented on Aug 28, 2013

      @ericsnowcurrently
      ericsnowcurrently
      on Aug 28, 2013
      MemberAuthor
      More actions

      It would be helpful to have __subclasshook__() implemented on the finders and loaders in importlib.abc, following the approach taken by ABCs in collections.abc. This came up relative to PEP-431, but would be generally useful (if only to a limited audience <wink>).

    2. ericsnowcurrently
      added
      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
      easy
      type-featureA feature request or enhancementA feature request or enhancement
      on Aug 28, 2013
    3. ericsnowcurrently commented on Oct 5, 2013

      @ericsnowcurrently
      ericsnowcurrently
      on Oct 5, 2013
      MemberAuthor
      More actions

      Here's a patch.

    4. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    5. serhiy-storchaka
      added
      topic-importlib
      on May 21, 2022
    6. furkanonder commented on Mar 17, 2023

      @furkanonder
      furkanonder
      on Mar 17, 2023
      Contributor
      More actions

      @ericsnowcurrently I opened a PR by reading your patch. Since the patch is a bit old, I couldn't add the __subclasshook__ for some classs because I got the deprecation warnings.

    7. ericsnowcurrently commented on Mar 17, 2023

      @ericsnowcurrently
      ericsnowcurrently
      on Mar 17, 2023
      MemberAuthor
      More actions

      Thanks for doing that! I'll take a look when I get a chance.

      Reacted by Furkan Onder
    8. brettcannon commented on Mar 22, 2023

      @brettcannon
      brettcannon
      on Mar 22, 2023
      Member
      More actions

      Is this worth doing today, or would it be better to do #82963 ?

    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

      easystdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-importlibtype-featureA feature request or enhancementA feature request or enhancement

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.