pyo3/pytests/src
David Hewitt 8a12970c96
update `extract_argument` to use Bound APIs (#3708)
* update `extract_argument` to use `Bound` APIs

* tidy up borrow in macros expression

* update `trybuild` output

* more concise form for `DowncastError::new`

Co-authored-by: Lily Foote <code@lilyf.org>

* use `Borrowed` instead of newtype

* use `Borrowed::from_ptr` methods in extract_argument

* update UI tests

* avoid double-negative `#[cfg]` clauses

Co-authored-by: Lily Foote <code@lilyf.org>

* review: LilyFoote, Icxolu feedback

---------

Co-authored-by: Lily Foote <code@lilyf.org>
2024-02-28 19:36:20 +00:00
..
awaitable.rs Revert "Merge pull request #3578 from davidhewitt/typed-helpers" 2024-02-03 20:56:23 +00:00
buf_and_str.rs convert `PyBuffer` to `Bound` API (#3836) 2024-02-14 22:10:59 +00:00
comparisons.rs fix `either` feature conditional compilation, again (#3834) 2024-02-22 08:05:37 +00:00
datetime.rs add `_bound` constructors for datetime types (#3778) 2024-02-12 20:49:58 +00:00
dict_iter.rs ci: updates for rust 1.71 2023-07-14 12:10:37 +01:00
enums.rs feat: support pyclass on complex enums 2024-01-18 22:04:42 +09:00
lib.rs add `PyModule::new_bound` and `PyModule::import_bound` (#3775) 2024-02-22 09:35:47 +00:00
misc.rs demonstrate switching to `Bound` API resolves `gevent` crash 2023-12-23 22:10:01 +00:00
objstore.rs Add more lints 2022-03-23 08:07:28 +01:00
othermod.rs Gut specialization and implement auto trait 2022-02-22 22:43:23 +01:00
path.rs pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
pyclasses.rs support `Bound` for `classmethod` and `pass_module` (#3831) 2024-02-16 00:36:11 +00:00
pyfunctions.rs update `extract_argument` to use Bound APIs (#3708) 2024-02-28 19:36:20 +00:00
sequence.rs Also relax the PySequence check when extracting fixed-sized arrays. 2022-10-13 09:43:45 +02:00
subclassing.rs clippy: enable some more lints 2022-03-03 07:23:28 +00:00