Closed
Description
When used as an entry point, the trace
module opens code files without using io.open_code
:
https://github.com/python/cpython/blob/main/Lib/trace.py#L719
This should use the io.open_code
method instead of open(..., 'rb')
.
Linked PRs
- gh-103935: Use
io.open_code()
to open executable file #103947 - [3.11] gh-103935: Use
io.open_code()
when executing code in trace and profile modules (GH-103947) #103950 - [3.10] gh-103935: Use
io.open_code()
when executing code in trace and profile modules (GH-103947) #103952 - [3.9] gh-103935: Use
io.open_code()
when executing code in trace and profile modules (GH-103947) #103953 - [3.8] gh-103935: Use
io.open_code()
when executing code in trace and profile modules (GH-103947) #103954
Metadata
Metadata
Assignees
Labels
only security fixesonly security fixesonly security fixesonly security fixesonly security fixesonly security fixesA security issueA security issue