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? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-08-14 18:59:27 | pitrou | set | recipients: + pitrou, loewis, gstein, gregory.p.smith, Robin.Schreiber |
| 2012-08-14 18:59:27 | pitrou | set | messageid: <1344970767.55.0.312661832028.issue15653@psf.upfronthosting.co.za> |
| 2012-08-14 18:59:26 | pitrou | link | issue15653 messages |
| 2012-08-14 18:59:26 | pitrou | create | |