commit | 7d270ee05d7553aea1052cf7957358888ac8ad85 | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Thu Oct 17 22:35:35 2013 +1000 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Thu Oct 17 22:35:35 2013 +1000 |
tree | 4b3252363aac65d60104ef68dbc2d5174c0d8a91 | |
parent | 26f92680da305a4f3007c47e11cced893991ec70 [diff] |
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)