def strip_python_stderr(stderr):
stderr = re.sub(br"<STR_LIT>", b"<STR_LIT>", stderr).strip()<EOL>return stderr<EOL>
Strip the stderr of a Python process from potential debug output
    emitted by the interpreter.

    This will typically be run on the result of the communicate() method
    of a subprocess.Popen object.