SIGN IN SIGN UP

gh-107758: Improvements to lltrace feature (#107757)

- The `dump_stack()` method could call a `__repr__` method implemented in Python,
  causing (infinite) recursion.
  I rewrote it to only print out the values for some fundamental types (`int`, `str`, etc.);
  for everything else it just prints `<type_name @ 0xdeadbeef>`.

- The lltrace-like feature for uops wrote to `stderr`, while the one in `ceval.c` writes to `stdout`;
  I changed the uops to write to stdout as well.
G
Guido van Rossum committed
328d925244511b2134d5ac926e307e4486ff4500
Parent: 2df58dc
Committed by GitHub <noreply@github.com> on 8/8/2023, 4:36:25 AM