classification
Title: Use vectorcall for functools.partial
Type: performance Stage: resolved
Components: Library (Lib) Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Mark.Shannon, jdemeyer, miss-islington, petr.viktorin, vstinner
Priority: normal Keywords: patch

Created on 2019-06-21 08:51 by jdemeyer, last changed 2019-07-13 15:10 by petr.viktorin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 14284 merged jdemeyer, 2019-06-21 12:47
Messages (2)
msg346193 - (view) Author: Jeroen Demeyer (jdemeyer) * (Python triager) Date: 2019-06-21 08:51
functools.partial already has some optimizations to use vectorcall (formerly known as fastcall) for its onward calls, so it makes a lot of sense to also use vectorcall when being called.
msg347831 - (view) Author: miss-islington (miss-islington) Date: 2019-07-13 14:39
New changeset ed184c06e2e610e12050c5d5c9b0c1c2ecabb930 by Miss Islington (bot) (Jeroen Demeyer) in branch 'master':
bpo-37358: Use vectorcall for functools.partial (GH-14284)
https://github.com/python/cpython/commit/ed184c06e2e610e12050c5d5c9b0c1c2ecabb930
History
Date User Action Args
2019-07-13 15:10:03petr.viktorinsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-07-13 14:39:21miss-islingtonsetnosy: + miss-islington
messages: + msg347831
2019-06-21 12:47:51jdemeyersetkeywords: + patch
stage: patch review
pull_requests: + pull_request14106
2019-06-21 08:51:53jdemeyercreate