Rust Debug Function In Python