Implementing Rust’s dbg! in Python