[Python-Dev] Add function to signal module for getting main thread id

Nick Coghlan ncoghlan at gmail.com
Fri Aug 30 14:09:37 CEST 2013

On 30 August 2013 20:27, Andrew Svetlov <andrew.svetlov at gmail.com> wrote:
> I've filed http://bugs.python.org/issue18882 for this.

I don't actually object to the addition, but is there any way that
"threading.enumerate()[0]" *won't* be the main thread?
(subinterpreters, perhaps, but they're going to have trouble anyway,
since they won't have access to the real main thread)


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list