• Nick Coghlan's avatar
    Issue #16129: Py_SetStandardStreamEncoding cleanups · 97ed9101
    Nick Coghlan authored
    - don't call PyErr_NoMemory with interpreter is not initialised
    - note that it's OK to call _PyMem_RawStrDup here
    - don't include this in the limited API
    - capitalise "IO"
    - be explicit that a non-zero return indicates an error
    - include versionadded marker in docs
    97ed9101
init.rst 49.7 KB