homepage

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 asvetlov
Recipients Robin.Schreiber, asvetlov, loewis
Date 2012年10月11日.14:04:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349964251.95.0.905499302911.issue15650@psf.upfronthosting.co.za>
In-reply-to
Content
Robin, after thinking I would to agree with your decision to hold reference to type into type instance.
Please, can you describe your check like:
if((void *)type->tp_dealloc == (void *)dbm_dealloc) {
 Py_DECREF(type);
}
Why you decref only if type->tp_dealloc points to module's dealloc? What are you protected from? What other values also possible?
History
Date User Action Args
2012年10月11日 14:04:12asvetlovsetrecipients: + asvetlov, loewis, Robin.Schreiber
2012年10月11日 14:04:11asvetlovsetmessageid: <1349964251.95.0.905499302911.issue15650@psf.upfronthosting.co.za>
2012年10月11日 14:04:11asvetlovlinkissue15650 messages
2012年10月11日 14:04:11asvetlovcreate

AltStyle によって変換されたページ (->オリジナル) /