Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Closed
Description
Feature or enhancement
In#119827 (comment),@rhettinger proposed to add the__get__
method to thepartial
object infunctools
. This is a breaking change, although the impact may be much lesser than of adding__get__
to builtin functions. But we should follow the common procedure for such changes: first add__get__
that emits FutureWarning with suggestion to wrap partial into staticmethod and return thepartial
object unchanged, then change the behavior few releases later.