➜

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.

作者 llllllllll
收信人 barry, eric.smith, eric.snow, llllllllll, rhettinger
日期 2015-04-27.13:13:23
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1430140403.77.0.883111113369.issue23910@psf.upfronthosting.co.za>
In-reply-to
内容
I don't think that I can cache the __call__ of the fget object because it might be an instance of a heaptype, and if someone changed the __class__ of the object in between calls to another heaptype that had a different __call__, you would still get the __call__ from the first type. I also don't know if this is supported behavior or just something that works by accident.

I read through PyObject_Call, and all the code is needed assuming we are not caching the tp_call value.
历史
日期 用户 动作 参数
2015-04-27 13:13:23llllllllll修改recipients: + llllllllll, barry, rhettinger, eric.smith, eric.snow
2015-04-27 13:13:23llllllllll修改messageid: <1430140403.77.0.883111113369.issue23910@psf.upfronthosting.co.za>
2015-04-27 13:13:23llllllllll链接issue23910 messages
2015-04-27 13:13:23llllllllll创建