Searched refs:open_code (Results 1 – 16 of 16) sorted by relevance
55 open, open_code, FileIO, BytesIO, StringIO, BufferedReader,
237 with io.open_code(decoded_path) as f:241 with io.open_code(decoded_path) as f:
92 file = io.open_code(file_path)159 with io.open_code(pathname) as fp:166 with io.open_code(pathname) as fp:
354 fp = _io.open_code(archive)536 with _io.open_code(archive) as fp:
160 f = io.TextIOWrapper(io.open_code(fullname))
278 open_code = io.open_code variable280 open_code = _open_code_with_warning variable
1570 with io.open_code(filename) as fp:
65 Overrides the normal behavior of :func:`io.open_code` to pass its parameter
585 with _io.open_code(__file__) as f:
979 with _io.open_code(str(path)) as file:
130 .. function:: open_code(path)139 :class:`str` and an absolute path, ``open_code(path)`` should always behave
516 Ensure :mod:`modulefinder` uses :func:`io.open_code` and respects coding
7 :mod:`runpy` now uses :meth:`io.open_code` to open code files. Patch by113 :func:`io.open_code` is now used when reading :file:`.pth` files.1119 :mod:`pdb` now uses :meth:`io.open_code` to trigger auditing events.
323 Implement PEP 578, adding sys.audit, io.open_code and related APIs.
790 def open_code(self): self.write('<CODE>') member in TexinfoParser