Message308236
| Author |
nascheme |
| Recipients |
arigo, martin.panter, nascheme, neologix, nikratio, pitrou, serhiy.storchaka, tim.peters, vstinner, xgdomingo |
| Date |
2017年12月13日.19:30:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1513193425.37.0.213398074469.issue17852@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I created a new PR which uses the atexit module instead of using _Py_PyAtExit. I think registering in io.py is okay.
I see that atexit is now implemented in C. Rather than registering in io.py, we could create a C API to register callbacks (i.e. atexit_register). That would perhaps be a bit cleaner. |
|