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 — EntryPoint.extras returns match objects and not the extras · Issue #369 · python/importlib_metadata

EntryPoint.extras returns match objects and not the extras #369

New issue
Copy link
New issue
Copy link
Closed
Closed
EntryPoint.extras returns match objects and not the extras#369
Copy link

Description

@jaraco
jaraco
opened on Feb 26, 2022
Issue body actions
>>> from importlib_metadata import EntryPoint
>>> ep = EntryPoint(name='foo', group='bar', value='package.module:attr [extra1, extra2]')
>>> ep.extras
[<re.Match object; span=(1, 7), match='extra1'>,
 <re.Match object; span=(9, 15), match='extra2'>]

extras should be a list of strings.

Activity

  1. jaraco
    added a commit that references this issue on Feb 26, 2022

    Add test capturing missed expectation on extras. Ref #369.

    b4661fd
  2. jaraco
    closed this as completedin 14cce75on Feb 26, 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

      You are visitor 01402775 — 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.