Uh oh!
There was an error while loading. Please reload this page.
gh-111968: Refactor _PyXXX_Fini to integrate with _PyObject_ClearFreeLists - #114899
Conversation
Addressed by @ericsnowcurrently 's and @colesbury 's review from #111968 (comment) |
colesbury
left a comment
There was a problem hiding this comment.
This looks good to me, although I'd probably name PySlice_ClearCache like the other freelist clearing functions for consistency.
Uh oh!
There was an error while loading. Please reload this page.
ericsnowcurrently
left a comment
There was a problem hiding this comment.
Thanks for doing this. It mostly looks okay to me. There are just a few small things I'd like you to consider.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
When you're done making the requested changes, leave the comment: And if you don't make the requested changes, you will be put in the comfy chair! |
| struct _Py_object_stack_state object_stacks; | ||
| } _PyFreeListState; | ||
| extern void _PyObject_ClearFreeLists(_PyFreeListState *state, int is_finalization); |
There was a problem hiding this comment.
Since this API is not a domain-specific API, I located all ClearFreeList API into here :)
corona10
commented
Feb 3, 2024
I have made the requested changes; please review again |
corona10
commented
Feb 3, 2024
As I commented before, we need some header cleanup, but I will do it as a separate PR since it affected a lot of codes, including |
corona10
commented
Feb 8, 2024
@ericsnowcurrently gentle ping |
--disable-gilbuilds #111968