-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
This has already been pointed out to me, but I could not see possible use cases at a time and they came with a slight delay.
There is a possibility for functionality that makes use of keyword Placeholders to be needed in the future.
Realistic use case is the ability to use map with keyword arguments. See: #119793 (comment)
import functools
functools.partial(lambda a: None, a=functools.Placeholder)
# TypeError("keyword Placeholders are not allowed")Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
Linked PRs
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement