Skip to content
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

Deprecate LM_ suffix in Python bindings #223

Open
rdbo opened this issue May 27, 2024 · 2 comments
Open

Deprecate LM_ suffix in Python bindings #223

rdbo opened this issue May 27, 2024 · 2 comments

Comments

@rdbo
Copy link
Owner

rdbo commented May 27, 2024

libmem.LM_EnumProcess feels verbose for Python.
Instead, something like this: libmem.enum_processes would be more welcome

@rdbo
Copy link
Owner Author

rdbo commented May 31, 2024

If this will be done, it should happen post 5.0
It should come with a redesign of the Python bindings, with a clear line separating the C layer from the Python layer, just like Rust.
In Rust, there is libmem-sys, which is a barebones libmem wrapper, and libmem, which is a rusty libmem port.
In Python, the C is slightly overlapping with the Python layer, so it should be rethought.
Also, perhaps the Python layer should be implemented in pure Python only, it would make it easier to embed it with something like rustpython as far as I understand.

@rdbo
Copy link
Owner Author

rdbo commented Jun 12, 2024

Partially done

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

No branches or pull requests

1 participant