Python stdlib module — io. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.open()Neutralopen(file, mode, buffering, encoding, errors, newline, closefd, opener)
Open file and return a stream. Raise OSError upon failure.
.open_code()Neutralopen_code(path)
Opens the provided file with the intent to import the contents.
.text_encoding()Neutraltext_encoding(encoding, stacklevel)
A helper function to choose the text encoding.
.BufferedReader()NeutralBufferedReader(...)
Create a new buffered reader using the given readable raw IO object.
.BufferedWriter()NeutralBufferedWriter(...)
A buffer for a writeable sequential RawIO object.
| FQN | Field | |
|---|---|---|
| io | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import io