pylib: when ROCKSDEBUG is set print a lot of stack traces