pyo3/newsfragments/3677.added.md

2 lines
182 B
Markdown
Raw Normal View History

2023-12-20 13:33:49 +00:00
Add `PyString::to_cow`. Add `Py<PyString>::to_str`, `Py<PyString>::to_cow`, and `Py<PyString>::to_string_lossy`, as ways to access Python string data safely beyond the GIL lifetime.