Author gruszczy
Recipients dangyogi, flox, gruszczy
Date 2010-03-29.12:20:58
SpamBayes Score 1.78372e-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