On Thu, Oct 4, 2012 at 7:54 PM, Brett Cannon <br...@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 | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com