Commit Graph

4 Commits

Author SHA1 Message Date
mejrs fc6121eafe Deprecate acquire_gil 2022-08-15 03:34:47 +02:00
mejrs 6f1cf1b662 Add more lints 2022-03-23 08:07:28 +01:00
messense b5b9a480cd Add `wrap_pyfunction` macro to prelude 2021-06-24 22:34:55 +08:00
Mario 608aea726c
Allow other Result types in `#[pyfunction]` (#1118)
* Added a couple basic tests

* Implemented suggested change

* Fixed type inference

* cargo fmt

* Finished tests and removed warnings

* Include in CHANGELOG.md

* Moved test into separate file

* &'static str and function rename

* Mention in the book
2020-08-29 08:25:20 +01:00