Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Tighten the EntryPoint interface

Open
#517 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start at the EntryPoint definition and inspect its current construction and mutation behavior. Use the proposed final properties, keyword-only construction, and positional-argument deprecation as acceptance criteria; done requires the interface behavior and deprecation policy to be settled and verified.

Written by the indexing model from the issue text.

Description

I've also observed that the issue affects .module and .attr and .load. I'm trying to decide what's the best behavior here. I think it should fail early, at construction time, but right now, the interface is open to mutation of the entry point properties. Probably those should be made final.

Originally posted by @jaraco in #488

Additionally, EntryPoint could probably subclass SimpleNamespace except that EntryPoint currently allows for positional arguments. Let's deprecate that behavior and require keyword arguments.

Dominant language
Python
Stars
142
Forks
97
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python/importlib_metadata

All issues in python/importlib_metadata

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.