What:
oinspect.info method throws a TypeError when parsing incomplete code line, erasing partial line entry and overwriting with stacktrace with this line in oinspect:
parents_docs = parents_docs_dict.get(att_name, None)
This is triggered when composing a line involving Polars expression object, polars.expr.expr.Expr.
For example, this partial entry in a qtconsole window triggers an Exception:
But the proper tool tip is shown with the following:
my_expr = pl.col("a")
my_expr.le(
Issue is also reported in Polars at pola-rs/polars#12394
Versions:
- Polars '1.35.2'
- IPython '9.7.0'
- Jupyter QtConsole 5.7.0
- Python 3.13.2