Skip to content

Conversation

@arihant2math
Copy link
Collaborator

@arihant2math arihant2math commented Mar 3, 2025

This PR tries to do the following:

  • importable ctypes Breaks pip
  • working string buffers
  • Get arguments to functions working
  • Get array arguments working (This (essentially) segfaults)

@arihant2math arihant2math changed the title _ctypes pt4 _ctypes pt. 4 Mar 3, 2025
@arihant2math arihant2math mentioned this pull request Mar 3, 2025
28 tasks
@youknowone
Copy link
Member

how about making another cut without ctypes/__init__.py?

@arihant2math
Copy link
Collaborator Author

Nope, seems like ctypes._reset_cache() has to exist.

@arihant2math arihant2math force-pushed the ctypes-pt4 branch 2 times, most recently from d9285ac to f0dee6d Compare March 24, 2025 00:04
@arihant2math
Copy link
Collaborator Author

@youknowone ready for review

@arihant2math arihant2math marked this pull request as ready for review March 24, 2025 04:51
Co-authored-by: Jeong, YunWon <[email protected]>
Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@youknowone youknowone merged commit 01d470f into RustPython:main Mar 25, 2025
11 checks passed
@arihant2math arihant2math deleted the ctypes-pt4 branch March 27, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants