[issue42298] Documented interaction of single-stage init and sub-interpreters inaccurate

2020-11-09 Thread pkerling
New submission from pkerling <9b6ab...@casix.org>: The C API documentation says this about single-phase initialization and sub-interpreters: "[T]he first time a particular extension is imported, it is initialized normally, and a (shallow) copy of its module’s dictionary is squi

[issue41798] [C API] Revisit usage of the PyCapsule C API with multi-phase initialization API

2020-11-09 Thread pkerling
Change by pkerling <9b6ab...@casix.org>: -- nosy: +pkerling ___ Python tracker <https://bugs.python.org/issue41798> ___ ___ Python-bugs-list mailing list

[issue30654] signal module always overwrites SIGINT on interpreter shutdown

2018-06-01 Thread pkerling
pkerling <9b6ab...@casix.org> added the comment: Thanks! I'm a bit disappointed that it won't make it into 2.7, but I can understand the decision. To give some context: I came across this while working on Kodi and noticing that it does not shutdown cleanly via Ctrl+C or SIGTERM.

[issue30654] signal module always overwrites SIGINT on interpreter shutdown

2018-05-28 Thread pkerling
Change by pkerling <9b6ab...@casix.org>: -- keywords: +patch pull_requests: +6780 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue30654] signal module always overwrites SIGINT on interpreter shutdown

2017-06-13 Thread pkerling
New submission from pkerling: The signal module checks the SIGINT handler on startup. It only registers a new custom handler if the default OS handler is still installed, so that when embedding python in an application the SIGINT handler of that application is not overwritten