Repository navigation
Honor stored ctypes byref addresses in cast and memory access - #9184
Conversation
Assisted-by: Codex:GPT-6
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Found while importing icalendar 7.3.0 on Windows, where python-dateutil casts a byref argument during timezone lookup.
Summary
ctypes.cast()and use their stored address, including thebyref()offset, for memory access.c_void_p.from_param()support and reject argument wrappers for non-pointer types.AI assistance
Written with Codex (GPT-6), reviewed by a human before submission.
Summary by CodeRabbit
byrefaccount for the requested byte offset when accessing memory.