diff Python/bltinmodule.c @ 86399:9cd88b39ef62

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)
author Nick Coghlan <ncoghlan@gmail.com>
date Thu, 17 Oct 2013 22:35:35 +1000
parents 0872257752c2
children 3055e61f1e66
line wrap: on
line diff