Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

_ctypes pt. 4 #5582

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

Merged
merged 23 commits into from
Mar 25, 2025
Merged

_ctypes pt. 4 #5582

merged 23 commits into from
Mar 25, 2025

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 <69878+youknowone@users.noreply.github.com>
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.

👍

Lib/ctypes/__init__.py Outdated Show resolved Hide resolved
Lib/ctypes/__init__.py Outdated Show resolved Hide resolved
Lib/ctypes/__init__.py Outdated Show resolved Hide resolved
Lib/ctypes/__init__.py Outdated Show resolved Hide resolved
Lib/ctypes/__init__.py Outdated Show resolved Hide resolved
Lib/ctypes/__init__.py Outdated Show resolved Hide resolved
@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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.