Message172644
| 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:12 | asvetlov | set | recipients:
+ asvetlov, loewis, Robin.Schreiber |
| 2012年10月11日 14:04:11 | asvetlov | set | messageid: <1349964251.95.0.905499302911.issue15650@psf.upfronthosting.co.za> |
| 2012年10月11日 14:04:11 | asvetlov | link | issue15650 messages |
| 2012年10月11日 14:04:11 | asvetlov | create |
|