I knew enough about trace functions to see that it was not going to be trivial to fix  but I didn’t know how involved it was going to get I certainly didn’t expect that it would include finding a 10-year-old bug in Python itself!