Message376231
| Author |
eryksun |
| Recipients |
eryksun, hafizbilal100, paul.moore, steve.dower, tim.golden, vstinner, zach.ware |
| Date |
2020年09月02日.12:36:33 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1599050193.87.0.427897462527.issue41686@roundup.psfhosted.org> |
| In-reply-to |
| Content |
> Maybe in the time module?
The SIGINT event is also needed by PyOS_Readline, _io (builtin), _winapi (builtin), and _multiprocessing (pyd). Is the time module guaranteed to be imported in 3.x? It appears to get imported incidentally via _PyImportZip_Init (zipimport).
Could sigint_event be relocated to a platform-dependent union in _PyRuntimeState that gets initialized and finalized independent of any module? For example, accessed as _PyRuntime.platform.windows.sigint_event. |
|