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 xiang.zhang
Recipients ezio.melotti, josh.r, pitrou, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-11-14.10:38:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479119900.28.0.177501219244.issue21449@psf.upfronthosting.co.za>
In-reply-to
Content
_PyUnicode_FromId could fail due to memoryerror or bad encoded data. They should be treated differently like PyUnicode_READY.

Could we treat it like PyDict_GetItem? If memoryerror happens it's highly possible other parts will fail too.
History
Date User Action Args
2016-11-14 10:38:20xiang.zhangsetrecipients: + xiang.zhang, pitrou, vstinner, ezio.melotti, serhiy.storchaka, josh.r
2016-11-14 10:38:20xiang.zhangsetmessageid: <1479119900.28.0.177501219244.issue21449@psf.upfronthosting.co.za>
2016-11-14 10:38:20xiang.zhanglinkissue21449 messages
2016-11-14 10:38:20xiang.zhangcreate