Logo
Explore Help
Sign In
greg/cpython
1
0
Fork 0
You've already forked cpython
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
cceac5dd06fdbaba3f45b8be159dfa79b74ff237
cpython/Modules/_testcapi/parts.h

4 lines
84 B
C
Raw Normal View History

gh-93649: Split vectorcall testing from _testcapimodule.c (GH-94549) The `_testcapimodule.c` file is getting too large to work with effectively. This PR lays out a general structure of how tests can be split up, with more splitting to come later if the structure is OK. Vectorcall tests aren't the biggest issue -- it's just an area I want to work on next, so I'm starting here. An issue specific to vectorcall tests is that it wasn't clear that e.g. `MethodDescriptor2` is related to testing vectorcall: the `/* Test PEP 590 */` section had an ambiguous end. Separate file should make things like this much clearer. OTOH, for some pieces it might not be clear where they should be -- I left `meth_fastcall` with tests of the other calling conventions. IMO, even with the ambiguity it's still worth it to split the huge file up. I'm not sure about the buildsystem changes, hopefully CI will tell me what's wrong. @vstinner, @markshannon: Do you think this is a good idea? Automerge-Triggered-By: GH:encukou
2022-07-08 17:56:26 +02:00
#include "Python.h"
PyAPI_FUNC(int) _PyTestCapi_Init_Vectorcall(PyObject *module);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 3107ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API