New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-93649: Split watcher API tests from _testcapimodule.c #99532
gh-93649: Split watcher API tests from _testcapimodule.c #99532
Conversation
erlend-aasland
commented
Nov 16, 2022
•
edited by bedevere-bot
edited by bedevere-bot
- Issue: Split up _testcapimodule.c #93649
That's a good idea. |
First, I hesitated to suggest "dict" instead of "watchers", but it seems like there are many tests on dict watchers, so it's worth it to have separated files.
Can you rename watchers.c/py to dict_watchers.c/py?
I'm fine to leave the 4 other "dict" functions in _testcapi for now:
{"test_dict_iteration", test_dict_iteration, METH_NOARGS},
{"dict_getitem_knownhash", dict_getitem_knownhash, METH_VARARGS},
{"dict_get_version", dict_get_version, METH_VARARGS},
{"clear_managed_dict", clear_managed_dict, METH_O, NULL},
But there are also type watchers, and soon also function watchers. I figured all of these watcher APIs could live in the same place. Perhaps it will be too scattered with a new pair of files for each of these. |
Oh. I didn't notice that watchers are on different things. I was only aware of dict watchers. |
In this case, "watchers" is a perfect name. |
|
|
I've opened #99544 about this crash. |
|
|