importlib_metadata
importlib_metadata copied to clipboard
Tighten the EntryPoint interface
I've also observed that the issue affects
.moduleand.attrand.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 madefinal.
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.