]> granicus.if.org Git - python/commit
Issue #16129: Add `Py_SetStandardStreamEncoding`
authorNick Coghlan <ncoghlan@gmail.com>
Thu, 17 Oct 2013 12:35:35 +0000 (22:35 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Thu, 17 Oct 2013 12:35:35 +0000 (22:35 +1000)
commit7d270ee05d7553aea1052cf7957358888ac8ad85
tree4b3252363aac65d60104ef68dbc2d5174c0d8a91
parent26f92680da305a4f3007c47e11cced893991ec70
Issue #16129: Add `Py_SetStandardStreamEncoding`

This new pre-initialization API allows embedding
applications like Blender to force a particular
encoding and error handler for the standard IO streams.

Also refactors Modules/_testembed.c to let us start
testing multiple embedding scenarios.

(Initial patch by Bastien Montagne)
Doc/c-api/init.rst
Doc/whatsnew/3.4.rst
Include/pythonrun.h
Lib/test/test_capi.py
Misc/ACKS
Misc/NEWS
Modules/_testembed.c
Python/pythonrun.c