Message172644
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? |
|
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 | |
|