]> granicus.if.org Git - python/commit
Issue #16129: Py_SetStandardStreamEncoding cleanups
authorNick Coghlan <ncoghlan@gmail.com>
Fri, 18 Oct 2013 13:11:47 +0000 (23:11 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Fri, 18 Oct 2013 13:11:47 +0000 (23:11 +1000)
commit1805a62f1fe551b73b80d87a429ef496c1701b07
tree3925c6426a13a6c46550befcc2c1f7ba253493f5
parentac1a2489681d16ecc92985aefbd944e3b70fd26f
Issue #16129: Py_SetStandardStreamEncoding cleanups

- 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
Doc/c-api/init.rst
Include/pythonrun.h
Python/pythonrun.c