You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep looks like our ffi definition is wrong; the C declaration you quote has been the same since Python 3.6 (and maybe earlier, didn't check).
Given our declaration is wrong I class this as a bug fix that's fine to be merged whenever. It seems unlikely anyone is using this correctly at the moment.
indygreg
added a commit
to indygreg/pyo3
that referenced
this issue
Aug 8, 2021
Currently
Py_DecodeLocale()
is defined as the following:But in CPython
Include/fileutils.h
, it is defined as the following:I believe the Rust signature should be:
Given this is an API change, I'm unsure how you want to handle this. Hence why I filed an issue instead of going straight to a PR.
The text was updated successfully, but these errors were encountered: