Maik Riechert 19592dc8d7
Fix tracking of imported modules
__import__(name, ..., fromlist, ...) always returns the top-level package if `import x.y.z` is used (here `x`), and the module given by `name` if `from x.y.z import a` is used, here `x.y.z`. Differentiating between these two cases can be done by looking at the `fromlist` argument. By not tracking modules correctly, plugin unloading/reloading was broken if a module hierarchy within a plugin was used and `from` was not exclusively used.
2018-01-18 23:26:36 +00:00
..
2017-07-24 11:36:38 +02:00
2017-10-29 10:46:54 -05:00
2018-01-17 04:59:06 +10:00
2017-10-16 22:34:37 +02:00
2018-01-17 10:16:37 -04:00
2018-01-18 23:26:36 +00:00