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.

classification
标题: Failure to check PyUnicode_AsUTF8String() return value for NULL
类型: resource usage Stage:
Components: None Versions: Python 2.5.3
process
状态: closed Resolution: not a bug
Dependencies: 后续:
分配给: 抄送列表: CWRU_Researcher1, benjamin.peterson
优先级: normal 关键字:

Created on 2008-11-25 00:42 by CWRU_Researcher1, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg76373 - (view) Author: Brian Szuter (CWRU_Researcher1) 日期: 2008-11-25 00:42
/home/rxc92/project/Python-2.5.2/Objects/unicodeobject.c(PyUnicodeUCS2_AsEncodedString)
Line 699

Failed to check PyUnicode_AsUTF8String() for returning NULL.

Referenced:
http://www.python.org/doc/2.5.2/api/builtinCodecs.html#l2h-523
msg76390 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) 日期: 2008-11-25 02:44
This doesn't need a NULL check. The exception is propagated to the caller.
历史
日期 用户 动作 参数
2022-04-11 14:56:41admin修改github: 48663
2008-11-25 02:44:36benjamin.peterson修改状态: open -> closed
resolution: not a bug
消息: + msg76390
抄送: + benjamin.peterson
2008-11-25 00:42:38CWRU_Researcher1创建