[3.10] gh-103935: Use io.open_code() when executing code in trace and profile modules (GH-103947)
#103952
+7
−3