This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: vectorcall: keyword names must be strings
Type: enhancement Stage: resolved
Components: Interpreter Core 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-07-10 08:06 by jdemeyer, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 14682 merged jdemeyer, 2019-07-10 10:22
Messages (2)
msg347608 - (view) Author: Jeroen Demeyer (jdemeyer) * (Python triager) Date: 2019-07-10 08:06
Keyword names in calls are expected to be strings, however it's currently not clear who should enforce/check this.

I suggest to fix this for vectorcall/METH_FASTCALL and specify that it's the caller's job to make sure that keyword names are strings (str subclasses are allowed).
msg349854 - (view) Author: miss-islington (miss-islington) Date: 2019-08-16 10:41
New changeset 0567786d26348aa7eaf0ab1b5d038fdabe409d92 by Miss Islington (bot) (Jeroen Demeyer) in branch 'master':
bpo-37540: vectorcall: keyword names must be strings (GH-14682)
https://github.com/python/cpython/commit/0567786d26348aa7eaf0ab1b5d038fdabe409d92
History
Date User Action Args
2022-04-11 14:59:17adminsetgithub: 81721
2019-08-16 12:15:11jdemeyersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-08-16 10:41:32miss-islingtonsetnosy: + miss-islington
messages: + msg349854
2019-07-10 10:22:20jdemeyersetkeywords: + patch
stage: patch review
pull_requests: + pull_request14487
2019-07-10 08:06:51jdemeyercreate