дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-28 13:32:29 +02:00
A Jupyter Variables tool window (bottom, under the stripe's overflow until first opened; also in Find Action) lists the variables of the last active notebook's kernel: name, type and a truncated repr, hiding private names, modules and IPython's own names. It refreshes after a run, a kernel restart and a switch of notebook, and never starts a kernel. The variables are read with a silent execute_request carrying a user expression (no output, history, execution count or busy/idle status), only while the kernel is idle; a run started meanwhile waits for it, bounded to 10 seconds. A notebook tab restored at startup picks up its session once it opens. Closes #6508 Co-authored-by: wildcatDownstairs <[email protected]>
1.2 KiB
1.2 KiB
In [ ]:
import json
tasks = ["write", "review", "ship"]
done = {"write": True, "review": False}
_scratch = "hidden: starts with _"In [ ]:
class Broken:
def __repr__(self):
raise RuntimeError("no repr")
broken = Broken()
long_text = "x" * 500In [ ]:
count = len(tasks)
count