-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add ipython support #4795
base: main
Are you sure you want to change the base?
Add ipython support #4795
Conversation
@@ -75,6 +75,8 @@ mod _ast { | |||
|
|||
#[pyattr(name = "PyCF_ONLY_AST")] | |||
use super::PY_COMPILE_FLAG_AST_ONLY; | |||
#[pyattr(name = "PyCF_ALLOW_TOP_LEVEL_AWAIT")] | |||
use super::PyCF_ALLOW_TOP_LEVEL_AWAIT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use super::PyCF_ALLOW_TOP_LEVEL_AWAIT; | |
use super::PY_COMPILE_FLAG_ALLOW_TOP_LEVEL_AWAIT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
RustPython's bytecode may not be compatible with CPython's |
Co-authored-by: fanninpm <fanninpm@miamioh.edu>
This is fair point, shouldn't we include only bytecode which is supported by RustPython and ignore/exclude rest ? |
This PR aim to address issue #4791
This work is still in WIP, opened PR for reference