mattip: hi. "I recently implemented compact strings for PyPy, following the CPython implementation" interesting. did you do that for make more C extensions compatible? or because it is more efficient for your usecase?
mattip: Inada-san wants to use UTF-8 in CPython, so the opposite
vstinner: I think it's for the C api, yes
so to fully implement the CPython C API, one must simply copy the exact implementation of all Python objects. oh wait.
there are certainly some parts of the API that prescribe the implementation, yes