◐ Shell
clean mode source ↗

gh-121027: Make the functools.partial object a method descriptor by serhiy-storchaka · Pull Request #121089 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

Co-authored-by: d.grigonis <dgrigonis@users.noreply.github.com>

serhiy-storchaka

serhiy-storchaka

rhettinger

noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request

Jul 11, 2024
pythonGH-121089)

Co-authored-by: d.grigonis <dgrigonis@users.noreply.github.com>

estyxx pushed a commit to estyxx/cpython that referenced this pull request

Jul 17, 2024
pythonGH-121089)

Co-authored-by: d.grigonis <dgrigonis@users.noreply.github.com>

JelleZijlstra added a commit that referenced this pull request

Sep 29, 2024
PR #121089 added an eager import for types.MethodType, but
still left the existing hacks for lazily importing from types.

We could also create MethodType internally in functools.py (e.g.,
by using `type(Placeholder.__repr__)`, but it feels not worth it at
this point, so instead I unlazified all the usages of types in the
module.

This was referenced

Oct 25, 2024