Commit 3fa11eb
committed
[CPyCppyy] Remove
The `TPython::Eval()` method was removed some time ago, and replaced
with the `Exec()` overload that uses `std::any` for data transfer.
So for ROOT, there is no reason to keep the fragile `Eval()`
functionality in the future CppJIT. If CppJIT users would need such
functionality, we should instead port the `std::any` mechanism to the
CPyCppyy API.
Remove PyResult, TPyArg and TPyClassGenerator in CPyCppyy, as they are
copies of TPython classes.
The corresponding TPython class for PyResult is the TPyReturn, and to
implement it without forwarding to the former PyResult class, the
CPyCppyy API needs to be extended with setters for ownership flags.Eval() and classes redundant with TPython1 parent 488ff17 commit 3fa11eb
File tree
10 files changed
+37
-804
lines changed- bindings
- pyroot/cppyy/CPyCppyy
- include/CPyCppyy
- src
- tpython/src
10 files changed
+37
-804
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
196 | 199 | | |
197 | 200 | | |
198 | 201 | | |
| |||
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
Lines changed: 0 additions & 65 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
199 | 225 | | |
200 | 226 | | |
201 | 227 | | |
| |||
313 | 339 | | |
314 | 340 | | |
315 | 341 | | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | 342 | | |
321 | 343 | | |
322 | 344 | | |
| |||
430 | 452 | | |
431 | 453 | | |
432 | 454 | | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | 455 | | |
489 | 456 | | |
490 | 457 | | |
| |||
0 commit comments