Commit e08cbf1
committed
Fix build on PyPy
It appears that `Py_FileSystemDefaultEncodeErrors` is not part of the
limited API, and PyPy does not have it.
Since pybind11 does not have a wrapper for `PyUnicode_EncodeFSDefault`
(the main reason I had switched to a `encode` call earlier), we need to
call it ourselves manually.1 parent 43929f3 commit e08cbf1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
| 312 | + | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
0 commit comments