I/O & Encoding

PyIo

Python stdlib module — io. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.open()Neutral
#
Signature
open(file, mode, buffering, encoding, errors, newline, closefd, opener)

Open file and return a stream. Raise OSError upon failure.

.open_code()Neutral
#
Signature
open_code(path)

Opens the provided file with the intent to import the contents.

.text_encoding()Neutral
#
Signature
text_encoding(encoding, stacklevel)

A helper function to choose the text encoding.

.BlockingIOError()Neutral
#
Signature
BlockingIOError(...)

I/O operation would block.

.BufferedIOBase()Neutral
#
Signature
BufferedIOBase(...)

Base class for buffered IO objects.

.BufferedRWPair()Neutral
#
Signature
BufferedRWPair(...)

A buffered reader and writer object together.

.BufferedRandom()Neutral
#
Signature
BufferedRandom(...)

A buffered interface to random access streams.

.BufferedReader()Neutral
#
Signature
BufferedReader(...)

Create a new buffered reader using the given readable raw IO object.

.BufferedWriter()Neutral
#
Signature
BufferedWriter(...)

A buffer for a writeable sequential RawIO object.

.BytesIO()Neutral
#
Signature
BytesIO(...)

Buffered I/O implementation using an in-memory bytes buffer.

Fully-Qualified Names

FQNField
iofqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import io