Issue #25318: Avoid sprintf() in backslashreplace()
Rewrite backslashreplace() to be closer to PyCodec_BackslashReplaceErrors(). Add also unit tests for non-BMP characters.
V
Victor Stinner committed
797485e10135ca323565b22b4fabf1e161a5ec7a
Parent: b13b97d