Message168224
| Author |
pitrou |
| Recipients |
Robin.Schreiber, gregory.p.smith, gstein, loewis, pitrou |
| Date |
2012年08月14日.18:59:26 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1344970767.55.0.312661832028.issue15653@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
+ m = PyState_FindModule(&_hashlibmodule);
+ if(!m){
+ m = PyModule_Create(&_hashlibmodule);
+ if (m == NULL)
+ return NULL;
+ } else {
+ Py_INCREF(m);
+ return m;
+ }
Why is this dance needed?
+ if((void *)type->tp_dealloc == (void *)EVP_dealloc) {
+ Py_DECREF(type);
+ }
Why? |
|