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.

作者 nnorwitz
收信人
日期 2007-08-11.18:27:50
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
内容
self->args needs to be initialized to NULL because if the alloc of args failed, self->args would be uninitialized and deallocated.  (I realize the alloc of an empty tuple will realistically never fail currently.)

I'm not sure if this could cause any new problems because of the behavior change, but the code itself looked fine to me.  Hopefully someone with more knowledge of exceptions could take a look at the idea.
历史
日期 用户 动作 参数
2007-08-23 15:57:51admin链接issue1692335 messages
2007-08-23 15:57:51admin创建