Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add __get__ to the partial object #121027

Closed
Closed
Labels
3.14bugs and security fixestype-featureA feature request or enhancement
@serhiy-storchaka

Description

@serhiy-storchaka

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.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixestype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp