$93 GRAYBYTE WORDPRESS FILE MANAGER $95

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.66.139 | ADMIN IP 216.73.217.110
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python34/lib64/python3.4/

HOME
Current File : /opt/alt/python34/lib64/python3.4//io.py
"""The io module provides the Python interfaces to stream handling. The
builtin open function is defined in this module.

At the top of the I/O hierarchy is the abstract base class IOBase. It
defines the basic interface to a stream. Note, however, that there is no
separation between reading and writing to streams; implementations are
allowed to raise an OSError if they do not support a given operation.

Extending IOBase is RawIOBase which deals simply with the reading and
writing of raw bytes to a stream. FileIO subclasses RawIOBase to provide
an interface to OS files.

BufferedIOBase deals with buffering on a raw byte stream (RawIOBase). Its
subclasses, BufferedWriter, BufferedReader, and BufferedRWPair buffer
streams that are readable, writable, and both respectively.
BufferedRandom provides a buffered interface to random access
streams. BytesIO is a simple stream of in-memory bytes.

Another IOBase subclass, TextIOBase, deals with the encoding and decoding
of streams into text. TextIOWrapper, which extends it, is a buffered text
interface to a buffered raw stream (`BufferedIOBase`). Finally, StringIO
is an in-memory stream for text.

Argument names are not part of the specification, and only the arguments
of open() are intended to be used as keyword arguments.

data:

DEFAULT_BUFFER_SIZE

   An int containing the default buffer size used by the module's buffered
   I/O classes. open() uses the file's blksize (as obtained by os.stat) if
   possible.
"""
# New I/O library conforming to PEP 3116.

__author__ = ("Guido van Rossum <[email protected]>, "
              "Mike Verdone <[email protected]>, "
              "Mark Russell <[email protected]>, "
              "Antoine Pitrou <[email protected]>, "
              "Amaury Forgeot d'Arc <[email protected]>, "
              "Benjamin Peterson <[email protected]>")

__all__ = ["BlockingIOError", "open", "IOBase", "RawIOBase", "FileIO",
           "BytesIO", "StringIO", "BufferedIOBase",
           "BufferedReader", "BufferedWriter", "BufferedRWPair",
           "BufferedRandom", "TextIOBase", "TextIOWrapper",
           "UnsupportedOperation", "SEEK_SET", "SEEK_CUR", "SEEK_END"]


import _io
import abc

from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
                 open, FileIO, BytesIO, StringIO, BufferedReader,
                 BufferedWriter, BufferedRWPair, BufferedRandom,
                 IncrementalNewlineDecoder, TextIOWrapper)

OpenWrapper = _io.open # for compatibility with _pyio

# Pretend this exception was created here.
UnsupportedOperation.__module__ = "io"

# for seek()
SEEK_SET = 0
SEEK_CUR = 1
SEEK_END = 2

# Declaring ABCs in C is tricky so we do it here.
# Method descriptions and default implementations are inherited from the C
# version however.
class IOBase(_io._IOBase, metaclass=abc.ABCMeta):
    __doc__ = _io._IOBase.__doc__

class RawIOBase(_io._RawIOBase, IOBase):
    __doc__ = _io._RawIOBase.__doc__

class BufferedIOBase(_io._BufferedIOBase, IOBase):
    __doc__ = _io._BufferedIOBase.__doc__

class TextIOBase(_io._TextIOBase, IOBase):
    __doc__ = _io._TextIOBase.__doc__

RawIOBase.register(FileIO)

for klass in (BytesIO, BufferedReader, BufferedWriter, BufferedRandom,
              BufferedRWPair):
    BufferedIOBase.register(klass)

for klass in (StringIO, TextIOWrapper):
    TextIOBase.register(klass)
del klass


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.36 AM
root / root
0755
__pycache__
--
24 May 2024 8.33 AM
root / linksafe
0755
asyncio
--
24 May 2024 8.33 AM
root / linksafe
0755
collections
--
24 May 2024 8.33 AM
root / linksafe
0755
concurrent
--
24 May 2024 8.33 AM
root / linksafe
0755
config-3.4m
--
24 May 2024 8.36 AM
root / linksafe
0755
ctypes
--
24 May 2024 8.33 AM
root / linksafe
0755
curses
--
24 May 2024 8.33 AM
root / linksafe
0755
dbm
--
24 May 2024 8.33 AM
root / linksafe
0755
distutils
--
24 May 2024 8.33 AM
root / linksafe
0755
email
--
24 May 2024 8.33 AM
root / linksafe
0755
encodings
--
24 May 2024 8.33 AM
root / linksafe
0755
ensurepip
--
24 May 2024 8.33 AM
root / linksafe
0755
html
--
24 May 2024 8.33 AM
root / linksafe
0755
http
--
24 May 2024 8.33 AM
root / linksafe
0755
idlelib
--
24 May 2024 8.33 AM
root / linksafe
0755
importlib
--
24 May 2024 8.33 AM
root / linksafe
0755
json
--
24 May 2024 8.33 AM
root / linksafe
0755
lib-dynload
--
24 May 2024 8.33 AM
root / linksafe
0755
lib2to3
--
24 May 2024 8.33 AM
root / linksafe
0755
logging
--
24 May 2024 8.33 AM
root / linksafe
0755
multiprocessing
--
24 May 2024 8.33 AM
root / linksafe
0755
plat-linux
--
24 May 2024 8.33 AM
root / linksafe
0755
pydoc_data
--
24 May 2024 8.33 AM
root / linksafe
0755
site-packages
--
24 May 2024 8.33 AM
root / linksafe
0755
sqlite3
--
24 May 2024 8.33 AM
root / linksafe
0755
test
--
24 May 2024 8.33 AM
root / linksafe
0755
unittest
--
24 May 2024 8.33 AM
root / linksafe
0755
urllib
--
24 May 2024 8.33 AM
root / linksafe
0755
venv
--
24 May 2024 8.33 AM
root / linksafe
0755
wsgiref
--
24 May 2024 8.33 AM
root / linksafe
0755
xml
--
24 May 2024 8.33 AM
root / linksafe
0755
xmlrpc
--
24 May 2024 8.33 AM
root / linksafe
0755
__future__.py
4.477 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__phello__.foo.py
0.063 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_bootlocale.py
1.271 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
_collections_abc.py
19.432 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
_compat_pickle.py
8.123 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_dummy_thread.py
4.758 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_markupbase.py
14.256 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
_osx_support.py
18.653 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_pyio.py
72.161 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
_sitebuiltins.py
3.042 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
_strptime.py
21.536 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_sysconfigdata.py
28.055 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_threading_local.py
7.236 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
_weakrefset.py
5.571 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
abc.py
8.422 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
aifc.py
30.838 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
antigravity.py
0.464 KB
17 Apr 2024 5.09 PM
root / linksafe
0644
argparse.py
87.917 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ast.py
11.752 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
asynchat.py
11.548 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
asyncore.py
20.506 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
base64.py
19.707 KB
17 Apr 2024 5.09 PM
root / linksafe
0755
bdb.py
22.807 KB
17 Apr 2024 5.10 PM
root / linksafe
0644