-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirstdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
Now, as partial
has __get__
and Placeholder
it is probably a good idea to simplify partialmethod
.
So the mental model of partialmethod
can simply be:
partial
, which always has the first argument set to Placeholder
.
So partialmethod
could maybe be a subclass partial
, which would potentially simplify things.
Also, maybe there is a way so that partialmethod
can be made obsolete altogether.
Will see where I can get to with this.
Any ideas welcome.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
Linked PRs
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirstdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement