-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
pyximport alike tool for easier edit/compile/test cycle #657
Comments
I'm not certain how I might be able to help but I'd be excited to try to. Python and Rust are a perfect combination for me and this would help oxidize far larger parts of my Python programs! |
Some design notes:
|
I have a preliminary prototype in #729 |
@messense I think it's worth adding a recomendation to run cargo watch -s maturin develop without that it's not clear (to me?) how to keep the |
Does the import-hook automatically rebuild if you launch a new Python interpreter? Need to be careful about replacing the |
it does not get re-built when re-running from what I saw in the implementation - as long as the import (of but - if a new method is added - let's call it if an explicit import exists ex. Possible workaround is to iterate on for module_name in reverse(fullname.split(".")):
# continue if not a cargo module
break; we can continue the discussion here on in a new issue - don't wanna spam if it's doesn't seem relevant |
Originally posted in: https://www.reddit.com/r/rust/comments/qjxwni/comment/hitpi1z/?utm_source=share&utm_medium=web2x&context=3
The text was updated successfully, but these errors were encountered: