We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pass_module
pyfunction
At the moment pass_module can interact in confusing ways with pyfunction arguments - it can go in any position, which is a bit confusing:
#[pyfunction(a, b, args = "*", pass_module, d = "5")] fn test_function(m: &PyModule, a: i32, b: i32, args: &PyTuple, d: i32) { println!("{}, {}, {:?}, {}", a, b, args, d) }
... I'm working on a PR which will change the situation such that pass_module must go first, if present.
The text was updated successfully, but these errors were encountered:
#[pyo3(name = "...")]
Successfully merging a pull request may close this issue.
At the moment
pass_module
can interact in confusing ways withpyfunction
arguments - it can go in any position, which is a bit confusing:... I'm working on a PR which will change the situation such that
pass_module
must go first, if present.The text was updated successfully, but these errors were encountered: