| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
What to do with yet unmerged PRs that add Argument Clinic stuff (like #32010)? They'll introduce more (PyCFunction)(void(*)(void)). |
Sorry, something went wrong.
|
You should ignore this draft PR for now. I'm still thinking about it :-) If there will be a conflict, I will simply regenerate this PR (rerun make clinic). |
Sorry, something went wrong.
Replace "(PyCFunction)(void(*)(void))func" cast with _PyCFunction_CAST(func).
|
I rebased my PR. |
Sorry, something went wrong.
|
Example of change: - {"test_object_converter", (PyCFunction)(void(*)(void))test_object_converter, METH_FASTCALL, test_object_converter__doc__},
+ {"test_object_converter", _PyCFunction_CAST(test_object_converter), METH_FASTCALL, test_object_converter__doc__},
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Replace "(PyCFunction)(void(*)(void))func" cast with
_PyCFunction_CAST(func).
https://bugs.python.org/issue47164