Commit 44f68a0
Split hook lists and add insertion utility in NormalHookCaller
- Split single _hookimpls list into _normal_hookimpls and _wrapper_hookimpls
- Add _insert_hookimpl_into_list() utility to eliminate code duplication
- Use unpacking syntax [*first, *second] for cleaner list combinations
- Simplifies hook management by removing complex splitpoint calculations
- Maintains all existing ordering semantics and test compatibility
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 0c956fd commit 44f68a0
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
63 | 80 | | |
64 | 81 | | |
65 | 82 | | |
| |||
0 commit comments