> Graham Dumpleton <Graham.Dumpleton@gmail.com> added the comment:
>
> How is this going to deal with cyclical imports where different
> threads could import at the same time different modules within that
> cycle? I need to look through the proposed patch and work out exactly
> what it does, but am concerned about whether this approach would cause
> the classic deadlock problem if not done right?
You're right, I hadn't thought about that. Additional machinery will be
needed to detect potential deadlocks (and break them). |