Commit 307d8cc
committed
Tighten XEUS status-field guard and extend to cleanup cell
e.args tuple comparison survives any upstream change to KeyError
message formatting, which str(e) equality would silently miss.
The cell source in the synthetic traceback field was redundant with
the rendered output — the source is already shown next to the error
block — and inflated error output for large cells. Traceback entries
are conventionally stack frames, not source dumps.
The kernel-deps cleanup_cell execute_cell call has the same exposure:
any XEUS-based Python kernel (e.g. xeus-python) would hit it via
cleanup.py. Guarded symmetrically but non-fatally, since cleanup
failures shouldn't abort the render.1 parent 331ddd6 commit 307d8cc
2 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
384 | | - | |
385 | | - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
386 | 395 | | |
387 | 396 | | |
388 | 397 | | |
| |||
574 | 583 | | |
575 | 584 | | |
576 | 585 | | |
577 | | - | |
| 586 | + | |
578 | 587 | | |
579 | 588 | | |
580 | 589 | | |
581 | 590 | | |
582 | | - | |
| 591 | + | |
583 | 592 | | |
584 | 593 | | |
585 | 594 | | |
| |||
0 commit comments