Replies: 1 comment 6 replies
-
Not really an answer as to why the trait impl does not exist, but I think you want (I think in this particular case, |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've just updated some old code to 0.21, and I had the following code:
PyList::new
is deprecated, so I've changed toand I got the following error
expected
Py, but found
PyObject`.Why is there no
impl IntoPy<Py<PyList>> for Bound<'_, PyList>
, while animpl IntoPy<Py<PyList>> for &PyList
exists?Beta Was this translation helpful? Give feedback.
All reactions