[Python-Dev] Bootstrap issue: "select" is compiled "too late"

Nick Coghlan ncoghlan at gmail.com
Thu Oct 4 18:38:40 CEST 2012


On Thu, Oct 4, 2012 at 7:54 PM, Brett Cannon <brett at python.org> wrote:
> This used to be a no-no, though, because if someone called that function in
> a thread during an import it would deadlock. Now Antoine reworked the locks
> so I don't know if this is still true or not.

You can still technically deadlock, but you need a circular import
*and* two different threads that start at different parts of the
cycle.

Cheers,
Nick.

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


More information about the Python-Dev mailing list