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.

作者 vstinner
收信人 Arfrever, vstinner
日期 2009-08-14.22:39:31
SpamBayes Score 1.0368544e-08
Marked as misclassified
Message-id <1250289573.42.0.683709136047.issue6697@psf.upfronthosting.co.za>
In-reply-to
内容
The error occurs in Py_Main(), on _PyUnicode_AsString(commandObj). The
problem is that _PyUnicode_AsString() is not checked for error. Here is
a patch fixing two errors:
 - display on error message instead of a crash on
_PyUnicode_AsString(commandObj) failure
 - don't call Py_DECREF(commandObj) if commandObj is NULL
(PyUnicode_FromWideChar error, a different error)

My patch also includes a test. The test should be moved somewhere else,
but I don't know where.
历史
日期 用户 动作 参数
2009-08-14 22:39:33vstinner修改recipients: + vstinner, Arfrever
2009-08-14 22:39:33vstinner修改messageid: <1250289573.42.0.683709136047.issue6697@psf.upfronthosting.co.za>
2009-08-14 22:39:32vstinner链接issue6697 messages
2009-08-14 22:39:31vstinner创建