Commit 440e446
committed
Put loaded modules (plugins) into sys.modules
With this, the plugins are accessible from other modules without
requiring an explicit import. This was the default behaviour of the
previous pre-3.10 loader.
Without this, an import call would re-import the plugin making the
first and the second ones different from Python's perspective even if
they are both the same. This breaks pickle.1 parent 0375a6f commit 440e446
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
0 commit comments