This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gruszczy
Recipients dangyogi, flox, gruszczy
Date 2010-03-29.12:20:58
SpamBayes Score 1.7837225e-05
Marked as misclassified No
Message-id <1269865261.22.0.152270090487.issue8256@psf.upfronthosting.co.za>
In-reply-to
Content
The problem occurs in line in bltinmodule.c:

		po = PyUnicode_AsEncodedString(stringpo,
			_PyUnicode_AsString(stdout_encoding), NULL);

Where _PyUnicode_AsString returns NULL, since stdout_encoding is Py_None and that won't pass PyUnicode_Check in _PyUnicode_AsStringAndSize. To what object can _PyUnicode_AsString be turned and then passed to _PyUnicode_AsStringAndSize? Is there some default 'utf-8' encoding object?
History
Date User Action Args
2010-03-29 12:21:01gruszczysetrecipients: + gruszczy, dangyogi, flox
2010-03-29 12:21:01gruszczysetmessageid: <1269865261.22.0.152270090487.issue8256@psf.upfronthosting.co.za>
2010-03-29 12:20:59gruszczylinkissue8256 messages
2010-03-29 12:20:59gruszczycreate