A new CPython string API w. Petr Viktorin
Channel: David Hewitt
Date: 01/03/2024

Join myself and Petr Viktorin as we collaborate on a new CPython C API for reading string data without exposing implementation details about the underlying encoding.

This week is a follow up to our stream from a couple of weeks ago where we proposed a small PR for CPython: https://www.youtube.com/live/qON6cMQlRjk?si=CxgE7-XiL_L4YCin

The PR we opened is at https://github.com/python/cpython/pull/115211. For good reasons Petr and fellow CPython Core developers would prefer to explore an alternative API to what we proposed. It's that alternative that we'll cover this stream.

If you're enjoying this content and want more of it, or in general want to support development of PyO3, please consider supporting me at https://github.com/sponsors/davidhewitt

If you have feedback or ideas of what you'd like to see for future streams, you can contact me via email (see my channel info), Mastodon, or Twitter. Or put ideas down in the comments below!