How a module is being marked as imported?

2016-02-04 Thread Jean-Charles Lefebvre
Hi all, The short version: How CPython marks a module as being fully imported, if it does, so that the same import statement ran from another C thread at the same time does not collide? Or, reversely, does not think the module is not already fully imported? The full version: I'm running CPytho

Re: How a module is being marked as imported?

2016-02-04 Thread Jean-Charles Lefebvre
ted. On Thursday, February 4, 2016 at 11:20:05 AM UTC+1, Jean-Charles Lefebvre wrote: > Hi all, > > The short version: How CPython marks a module as being fully imported, if it > does, so that the same import statement ran from another C thread at the same > time does not co