FICHA · MANJARO

python-asttokens

Get the currently executing AST node of a frame, and other information

  • Library
  • Dev
  • NONE
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Map Python runtime frames and tokens back to abstract syntax tree nodes, helping debuggers, tracers, and developer tools understand exactly which expression is executing. It is useful for diagnostics and enhanced error reporting.

Runtime inspection can reveal source paths and code context. Avoid exposing detailed traces from sensitive applications to untrusted users.

Permissions

Permissions not analysed for this source yet.