Message75241
| Author | christian.heimes |
|---|---|
| Recipients | barry, christian.heimes, grahamd, loewis |
| Date | 2008-10-26.18:56:52 |
| SpamBayes Score | 1.6652561e-07 |
| Marked as misclassified | No |
| Message-id | <1225047413.3.0.809577519352.issue4200@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I'm trying to come up with a patch. It's a little bit trickier than I thought. The atexit module registers "atexit_callfuncs()" with _Py_PyAtExit(). The "atexit_callfuncs()" function is called by Python/pythonrun.c when the interpreter exits. The function is cleared as "static void atexit_callfuncs(void)" so it doesn't get the module through self. However PyModule_GetDef requires self. In order to use PEP 3121 we have to add a mechanism to pass the module instance to atexit_callfuncs(). |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-10-26 18:56:53 | christian.heimes | set | recipients: + christian.heimes, loewis, barry, grahamd |
| 2008-10-26 18:56:53 | christian.heimes | set | messageid: <1225047413.3.0.809577519352.issue4200@psf.upfronthosting.co.za> |
| 2008-10-26 18:56:52 | christian.heimes | link | issue4200 messages |
| 2008-10-26 18:56:52 | christian.heimes | create | |