Commit 911cb32
committed
[Python] Avoid side effects in libROOTPythonizations initialization
There are some side effects when importing the ROOT CPython extension
that we should better avoid, so that all active initialization is
centralized in `ROOTFacade._finalSetup()`.
Like this, it will be easier for us and our users to keep track of what
the differences between the base cppyy and the ROOT C++ runtime are.
That should help explaining to our users that they usually don't need to
import cppyy directly,1 parent 1f07751 commit 911cb32
File tree
2 files changed
+3
-8
lines changed- bindings/pyroot/pythonizations
- python/ROOT
- src
2 files changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | 175 | | |
178 | 176 | | |
179 | 177 | | |
| |||
206 | 204 | | |
207 | 205 | | |
208 | 206 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | 207 | | |
216 | 208 | | |
0 commit comments