403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.141
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python315/Lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/__pycache__/_pyio.cpython-315.opt-1.pyc
R
>lqj�c�v�Qs]PHs]PHs]PHs]PHs]PHs]PHs]QHGs	\OQ)7c]QH,Gs
LPs
]PH8s]QH8GsGsGsGsGsGs.Q*ls\\Q2%c7\O/\O02\O/\O22Q+s\s\\Q29%f\O8O:sQ,Qks\ Q-Qk2s!Qs"\OFs#\OJs%QQ\OPQ
5s)\OROU\)2QQ\)2s+\OVOU\+2QQ\)2s,\OXOU\,2QQ\,2s-QQ\,2s.QQ\-2s/QQ\-2s0QQ\,2s1QQ\0\/2s2Qs3QQ \+2s4Q!Q"\)2s5\OjOU\52Q#Q$\Ol2s7Q%Q&\52s8Q'Q(\82s9P!\$c\"s#CK:h9h\$cQ	Q
\&\'2s%CKGh9h).z)
Python implementation of the io module.
)�
allocate_lock)�setmode)�__all__�SEEK_SET�SEEK_CUR�SEEK_END�Reader�Writer�	SEEK_HOLE�gettotalrefcountc���Ueh[OO%cQoLQo[OO%c#]PHoUOQ[U]*2U!)a�
A helper function to choose the text encoding.

When encoding is not None, this function returns it.
Otherwise, this function returns the default text encoding
(i.e. "locale" or "utf-8" depends on UTF-8 mode).

This function emits an EncodingWarning if *encoding* is None and
sys.flags.warn_default_encoding is true.

This can be used in APIs with an encoding=None parameter
that pass it to TextIOWrapper or open.
However, please consider using encoding="utf-8" for new APIs.
�utf-8�localez"'encoding' argument not specified.)�sys�flags�	utf8_mode�warn_default_encoding�warnings�warn�EncodingWarning)�encoding�
stacklevelrs&& �C:\Python315\\Lib\_pyio.py�
text_encodingr)sT�����9�9�����H��H��9�9�*�*�*���M�M�>�)�:��>�
;��O�c��[U[2%f[OU2o[U[[
[12%f[
QU*2g[U[2%f[
QU*2g[U[2%f[
QU*2gUd)[U[2%f[
QU*2gUd)[U[2%f[
QU*2g[U2oU[Q2*
%f[U2[U26�c[QU*2gQU7o	QU7o
Q	U7oQ
U7oQU7o
QU7oQ
U7oU%cU%c[Q2gV�*U*U*]6�c[Q2gU	%f$U
%fU%fU%f[Q2gU%cUd[Q2gU%cUd[Q2gU%cUd[Q2gU%c#U]6Xc]PH*oUOQ[]2[SS	9%cQ9%fPS
9%cQ9%fP*S9%cQ	9%fP*S9%cQ
9%fP*S
9%cQ9%fP*VgQ5oSoP
oU]6XfU]6cUO2%cPoP	oU]6c%[[!UO"Q2[$2oU]6c[Q2gU]6XcU%cU![Q2gU
%c['UU2oLLU	%fU%f	U%c[)UU2oL'U
%c[+UU2oL[QU*2gSoU%cU![-U2o[/UV4UU2oSoVmU!SO32g9h)a6Open file and return a stream.  Raise OSError upon failure.

file is either a text or byte string giving the name (and the path
if the file isn't in the current working directory) of the file to
be opened or an integer file descriptor of the file to be
wrapped. (If a file descriptor is given, it is closed when the
returned I/O object is closed, unless closefd is set to False.)

mode is an optional string that specifies the mode in which the file
is opened.  It defaults to 'r' which means open for reading in text
mode.  Other common values are 'w' for writing (truncating the file if
it already exists), 'x' for exclusive creation of a new file, and
'a' for appending (which on some Unix systems, means that all writes
append to the end of the file regardless of the current seek position).
In text mode, if encoding is not specified the encoding used is platform
dependent.  (For reading and writing raw bytes use binary mode and leave
encoding unspecified.)  The available modes are:

========= ==========================================================
Character Meaning
--------- ----------------------------------------------------------
'r'       open for reading (default)
'w'       open for writing, truncating the file first
'x'       create a new file and open it for writing
'a'       open for writing, appending to the end of the file if it
          exists
'b'       binary mode
't'       text mode (default)
'+'       open a disk file for updating (reading and writing)
========= ==========================================================

The default mode is 'rt' (open for reading text). For binary random
access, the mode 'w+b' opens and truncates the file to 0 bytes, while
'r+b' opens the file without truncation. The 'x' mode implies 'w' and
raises an `FileExistsError` if the file already exists.

Python distinguishes between files opened in binary and text modes,
even when the underlying operating system doesn't.  Files opened in
binary mode (appending 'b' to the mode argument) return contents as
bytes objects without any decoding.  In text mode (the default, or when
't' is appended to the mode argument), the contents of the file are
returned as strings, the bytes having been first decoded using a
platform-dependent encoding or using the specified encoding if given.

buffering is an optional integer used to set the buffering policy.
Pass 0 to switch buffering off (only allowed in binary mode), 1 to
select line buffering (only usable in text mode), and an integer > 1 to
indicate the size of a fixed-size chunk buffer.  When no buffering
argument is given, the default buffering policy works as follows:

* Binary files are buffered in fixed-size chunks; the size of the buffer
  is max(min(blocksize, 8 MiB), DEFAULT_BUFFER_SIZE) when the device
  block size is available.
  On most systems, the buffer will typically be 128 kilobytes long.

* "Interactive" text files (files for which isatty() returns True)
  use line buffering.  Other text files use the policy described above
  for binary files.

encoding is the str name of the encoding used to decode or encode the
file. This should only be used in text mode. The default encoding is
platform dependent, but any encoding supported by Python can be
passed.  See the codecs module for the list of supported encodings.

errors is an optional string that specifies how encoding errors are to
be handled---this argument should not be used in binary mode. Pass
'strict' to raise a ValueError exception if there is an encoding error
(the default of None has the same effect), or pass 'ignore' to ignore
errors. (Note that ignoring encoding errors can lead to data loss.)
See the documentation for codecs.register for a list of the permitted
encoding error strings.

newline is a string controlling how universal newlines works (it only
applies to text mode). It can be None, '', '\n', '\r', and '\r\n'.  It
works as follows:

* On input, if newline is None, universal newlines mode is
  enabled. Lines in the input can end in '\n', '\r', or '\r\n', and
  these are translated into '\n' before being returned to the
  caller. If it is '', universal newline mode is enabled, but line
  endings are returned to the caller untranslated. If it has any of
  the other legal values, input lines are only terminated by the given
  string, and the line ending is returned to the caller untranslated.

* On output, if newline is None, any '\n' characters written are
  translated to the system default line separator, os.linesep. If
  newline is '', no translation takes place. If newline is any of the
  other legal values, any '\n' characters written are translated to
  the given string.

closedfd is a bool. If closefd is False, the underlying file descriptor
will be kept open when the file is closed. This does not work when
a file name is given and must be True in that case.

The newly created file is non-inheritable.

A custom opener can be used by passing a callable as *opener*. The
underlying file descriptor for the file object is then obtained by
calling *opener* with (*file*, *flags*).  *opener* must return an open
file descriptor (passing os.open as *opener* results in functionality
similar to passing None).

open() returns a file object whose type depends on the mode, and
through which the standard file operations such as reading and writing
are performed. When open() is used to open a file in a text mode ('w',
'r', 'wt', 'rt', etc.), it returns a TextIOWrapper. When used to open
a file in a binary mode, the returned class varies: in read binary
mode, it returns a BufferedReader; in write binary and append binary
modes, it returns a BufferedWriter, and in read/write mode, it returns
a BufferedRandom.

It is also possible to use a string or bytearray as a file for both
reading and writing. For strings StringIO can be used like a file
opened in a text mode, and for bytes a BytesIO can be used like a file
opened in a binary mode.
zinvalid file: %rzinvalid mode: %rzinvalid buffering: %r�invalid encoding: %r�invalid errors: %rzaxrwb+t�x�r�w�a�+�t�bz'can't have text and binary mode at oncez)can't have read/write/append mode at oncez/must have exactly one of read/write/append modez-binary mode doesn't take an encoding argumentz+binary mode doesn't take an errors argumentz+binary mode doesn't take a newline argumentzaline buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used)�openerzinvalid buffering sizezcan't have unbuffered text I/Ozunknown mode: %ri�)�
isinstance�int�os�fspath�str�bytes�	TypeError�set�len�
ValueErrorrr�RuntimeWarning�FileIO�_isatty_open_only�max�min�_blksize�DEFAULT_BUFFER_SIZE�BufferedRandom�BufferedWriter�BufferedReaderr�
TextIOWrapper�mode�close)�filer:�	bufferingr�errors�newline�closefdr$�modes�creating�reading�writing�	appending�updating�text�binaryr�raw�result�line_buffering�buffers&&&&&&&&             r�openrMJsw��p�d�C� � ��y�y�����d�S�%��-�.�.��*�T�1�2�2��d�C� � ��*�T�1�2�2��i��%�%��/�)�;�<�<���J�x��$=�$=��.��9�:�:�
��*�V�S�"9�"9��,�v�5�6�6���I�E��s�9�~����T��S��Z�!7��+�d�2�3�3��e�|�H��U�l�G��U�l�G��u��I��e�|�H��%�<�D�
�E�\�F����B�C�C���G�#�i�/�!�3��D�E�E���7�i��J�K�K�
�(�&��H�I�I�
�&�$��F�G�G�
�'�%��F�G�G�
�)�q�.���
�
�C�$�a�	)����"�"�s�(�(�b��/�/�c�'�'�R�)��/�/�c�'�'�R�)��#�#��)�)�r�+��"�"�s�(�(�b�	*�
�
)�C��F������>�Y��]�s�/D�/D�/F�/F��I�!�N��q�=��C����k�:�<O�P�I��q�=��5�6�6���>���
��=�>�>��#�C��3�F�
��I�#�C��3�F�
�#�C��3�F��/�$�6�7�7�����M� ��*���V�X�w��O�����	��
�������
�sf�&O9�/O9�6O9�
O9�*O9�O9�O9�O9�O9�1O9�O9�O9�O9�+(O9�O9�"O9�9Pc�R�]PHoUOQ[]2[UQ2!)a^Opens the provided file with mode ``'rb'``. This function
should be used when the intent is to treat the contents as
executable code.

``path`` should be an absolute path.

When supported by the runtime, this function can be hooked
in order to allow embedders more control over code files.
This functionality is not supported on the current runtime.
z(_pyio.open_code() may not be using hooks�rb)rrr/rM)�pathrs& r�_open_code_with_warningrQs(����M�M�<� �!�%���d��rc��\sQsQsQsP!)�UnsupportedOperation�/�)�__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__rUrrrSrS/s��rrSc��`�\sQsQsnQsQsQQksQsQQksQs	P
s
QsQ	sQ
s
QQksQsQQ
ksQsQQks\Q2sQQksQsQsQsQsQQksQsQsQQksQsQsUs P!)�IOBase�3a�The abstract base class for all I/O classes.

This class provides dummy implementations for many methods that
derived classes can override selectively; the default implementations
represent a file that cannot be read, written or seeked.

Even though IOBase does not declare read or write because
their signatures will vary, implementations and clients should
consider those methods part of the interface. Also, implementations
may raise UnsupportedOperation when operations they do not support are
called.

The basic type used for binary data read from or written to a file is
bytes. Other bytes-like objects are accepted as method arguments too.
Text I/O classes work with str data.

Note that calling any method (even inquiries) on a closed stream is
undefined. Implementations may raise OSError in this case.

IOBase (and its subclasses) support the iterator protocol, meaning
that an IOBase object can be iterated over yielding the lines in a
stream.

IOBase also supports the :keyword:`with` statement. In this example,
fp is closed after the suite of the with statement is complete:

with open('spam.txt', 'r') as fp:
    fp.write('Spam and eggs!')
c�R�[UOO8QU8Q02g)z@Internal: raise an OSError exception for unsupported operations.�.z() not supported)rS�	__class__rV)�self�names&&r�_unsupported�IOBase._unsupportedUs&��"�$(�N�N�$;�$;�T�$C�D�	Drc�*�UOQ2P!)a�Change stream position.

Change the stream position to byte offset pos. Argument pos is
interpreted relative to the position indicated by whence.  Values
for whence are ints:

* 0 -- start of stream (the default); offset should be zero or
  positive
* 1 -- current stream position; offset may be negative
* 2 -- end of stream; offset is usually negative
Some operating systems / file systems could provide additional
values.

Return an int indicating the new absolute position.
�seek�rc�ra�pos�whences&&&rrf�IOBase.seek\s�� 	
���&�!rc�(�UO]]2!)z5Return an int indicating the current stream position.)rf�ras&r�tell�IOBase.tellns���y�y��A��rc�*�UOQ2P!)zsTruncate file to size bytes.

Size defaults to the current IO position as reported by tell().
Return the new size.
�truncaterg�raris&&rrq�IOBase.truncater���	
���*�%rc�(�UO2P!)zeFlush write buffers, if applicable.

This is not implemented for read-only and non-blocking streams.
��_checkClosedrms&r�flush�IOBase.flush|s��
	
���rc�x�UO%fUO2P	UmP!P!P	Smh9h)zYFlush and close the IO object.

This method has no effect if the file is already closed.
)�_IOBase__closedrxrms&rr;�IOBase.close�s2��
�}�}�}�
%��
�
�� $��
�	��!%��
�s�0�	9c��UOoU%cP![UQP29o%c	UU2UO2P![cP!h9h)zDestructor.  Calls close().�
_dealloc_warn)�closed�AttributeError�getattrr;)rar�dealloc_warns&  r�__del__�IOBase.__del__�sU��	��[�[�F���"�4��$�?�?�<�?����	
�
�
����	�
�	�s�A�	A�A�Ac��P
!)z�Return a bool indicating whether object supports random access.

If False, seek(), tell() and truncate() will raise OSError.
This method may need to do a test seek().
rUrms&r�seekable�IOBase.seekable�s��rc�^�UO2%f[UeQ2gS2gP!)zEInternal: raise UnsupportedOperation if file is not seekable
        zFile or stream is not seekable.)r�rS�ra�msgs&&r�_checkSeekable�IOBase._checkSeekable��=���}�}���&�*-�+�(I�@�
@�;>�@�
@�rc��P
!)zfReturn a bool indicating whether object was opened for reading.

If False, read() will raise OSError.
rUrms&r�readable�IOBase.readable����
rc�^�UO2%f[UeQ2gS2gP!)zEInternal: raise UnsupportedOperation if file is not readable
        zFile or stream is not readable.)r�rSr�s&&r�_checkReadable�IOBase._checkReadable�r�rc��P
!)zvReturn a bool indicating whether object was opened for writing.

If False, write() and truncate() will raise OSError.
rUrms&r�writable�IOBase.writable�r�rc�^�UO2%f[UeQ2gS2gP!)zEInternal: raise UnsupportedOperation if file is not writable
        zFile or stream is not writable.)r�rSr�s&&r�_checkWritable�IOBase._checkWritable�r�rc��UO!)zuclosed: bool.  True iff the file has been closed.

For backwards compatibility, this is a property, not a predicate.
)r{rms&rr�
IOBase.closed�s���}�}�rc�V�UO%c[UeQ2gS2gP!)z7Internal: raise a ValueError if file is closed
        �I/O operation on closed file.�rr.r�s&&rrw�IOBase._checkClosed�s6���;�;�;�� #��=�6�
6�14�6�
6�rc�(�UO2U!)zCContext management protocol.  Returns self (an instance of IOBase).rvrms&r�	__enter__�IOBase.__enter__�s�������rc�(�UO2P!)z+Context management protocol.  Calls close())r;)ra�argss&*r�__exit__�IOBase.__exit__�s���
�
�rc�*�UOQ2P!)z�Returns underlying file descriptor (an int) if one exists.

An OSError is raised if the IO object does not use a file
descriptor.
�filenorgrms&rr��
IOBase.fileno�s��	
���(�#rc�(�UO2P
!)zkReturn a bool indicating whether this is an 'interactive' stream.

Return False if it can't be determined.
rvrms&r�isatty�
IOBase.isatty�s��
	
����rc��``�[RQ2%c	UU1QkoLQoRePnLROoU2n[	2oR]6f[U2R6cbRO
U22oU%fUO2!VE*
oUOQ2%fJgUO2!UO2![c[R8Q02gh9h)aRead and return a line of bytes from the stream.

If size is specified, at most size bytes will be read.
Size should be an int.

The line terminator is always b'\n' for binary files; for text
files, the newlines argument to open can be used to select the line
terminator(s) recognized.
�peekc�:�RO]2oU%f]!UOQ2]*9%f[U2oR]6�c
[UR2oU!)��
)r��findr-r3)�	readahead�nra�sizes  ��r�
nreadahead�#IOBase.readline.<locals>.nreadahead
sL��� �I�I�a�L�	� ���^�^�E�*�Q�.�A�A�3�y�>���1�9��A�t��A��rc��]!�r�rUrUrrr�r�s��r� is not an integerr�)	�hasattr�	__index__r�r+�	bytearrayr-�read�endswith�
take_bytes)rar�r��
size_index�resr#sff    r�readline�IOBase.readlines�����4�� � �
�
��<��D�
$�!�^�^�
�"�|���k���Q�h�#�c�(�T�/��	�	�*�,�'�A����~�~���
�H�C��|�|�E�"�"���~�~���s�~�~����"�
?��4�(�*<� =�>�>�
?�s�C�	C)�C)c�(�UO2U!�Nrvrms&r�__iter__�IOBase.__iter__+s�������rc�D�UO2oU%f[gU!r�)r��
StopIteration�ra�lines& r�__next__�IOBase.__next__/s���}�}�������rc��UdU]6:c[U2!]o,oSFD0oUOU2U[U2*
oV!6�fJ.U!	U!)z�Return a list of lines from the stream.

hint can be specified to control the number of lines read: no more
lines will be read if the total size (in bytes/characters) of all
lines so far exceeds hint.
)�list�appendr-)ra�hintr��linesr�s&&   r�	readlines�IOBase.readlines5sZ���<�4�1�9���:��
�����D��L�L���
��T��N�A��y�����
�rc�^�UO2SFDoUOU2J	P!)z�Write a list of lines to the stream.

Line separators are not added, so it is usual for each of the lines
provided to have a line separator at the end.
)rw�write)rar�r�s&& r�
writelines�IOBase.writelinesGs&��	
�����D��J�J�t��r)�__closed��r�����)!rVrWrXrY�__doc__rcrfrnrqrxr{r;r�r�r�r�r�r�r��propertyrrwr�r�r�r�r�r�r�r�r�rZ�__classdictcell__��
__classdict__s@rr\r\3s������@D�"�$�&���H�	%��*�@��@��@�����6��
�$��( �T���$�rr\)�	metaclassc�B`�\sQsQsnQsQQksQsQsQsQs	Us
P!)	�	RawIOBase�TzBase class for raw binary I/O.c�(�UePoU]6cUO2![UO22oUOU2oUeP!U]6fU[	U26�c[QUQ[	U202gV#P/UO
2!)z�Read and return up to size bytes, where size is an int.

Returns an empty bytes object on EOF, or None if the object is
set not to block and has no data to read.
zreadinto returned z outside buffer size )�readallr�r��readintor-r.r�)rar�r#r�s&&  rr��RawIOBase.readbs����<��D��!�8��<�<�>�!��d�n�n�&�'���M�M�!����9���q�5�A��A��J��1�!��4I�#�a�&��R�S�S�
�b�E��|�|�~�rc��[2oUO[29o%cV*
oJ'U%cUO2!U!)z+Read until EOF, using multiple read() call.)r�r�r5r�)rar��datas&  rr��RawIOBase.readallus<���k���i�i� 3�4�4�d�4��K�C���>�>�#�#��Krc�*�UOQ2P!)z�Read bytes into a pre-allocated bytes-like object b.

Returns an int representing the number of bytes read (0 for EOF), or
None if the object is set not to block and has no data to read.
r�rg�rar#s&&rr��RawIOBase.readinto�rtrc�*�UOQ2P!)z�Write the given buffer to the IO stream.

Returns the number of bytes written, which may be less than the
length of b in bytes.
r�rgr�s&&rr��RawIOBase.write�s��	
���'�"rrUr�)rVrWrXrYr�r�r�r�r�rZr�r�s@rr�r�Ts!����(��&	�&�#�#rr�c�X`�\sQsQsnQsQQksQQksQsQsQs	Qs
Q	sQ
sUs
P!)�BufferedIOBase�a�Base class for buffered IO objects.

The main difference with RawIOBase is that the read() method
supports omitting the size argument, and does not have a default
implementation that defers to readinto().

In addition, read(), readinto() and write() may raise
BlockingIOError if the underlying raw stream is in non-blocking
mode and not ready; unlike their raw counterparts, they will never
return None.

A typical implementation should not inherit from a RawIOBase
implementation, but wrap one.
c�*�UOQ2P!)aDRead and return up to size bytes, where size is an int.

If the argument is omitted, None, or negative, reads and
returns all data until EOF.

If the argument is positive, and the underlying raw stream is
not 'interactive', multiple raw reads may be issued to satisfy
the byte count (unless EOF is reached first).  But for
interactive raw streams (XXX and for pipes?), at most one raw
read will be issued, and a short result does not imply that
EOF is imminent.

Returns an empty bytes array on EOF.

Raises BlockingIOError if the underlying raw stream has no
data at the moment.
r�rg�rar�s&&rr��BufferedIOBase.read�s��$	
���&�!rc�*�UOQ2P!)zQRead up to size bytes with at most one read() system call,
where size is an int.
�read1rgr�s&&rr��BufferedIOBase.read1�s��	
���'�"rc�*�UOUP
Q5!)a6Read bytes into a pre-allocated bytes-like object b.

Like read(), this may issue multiple reads to the underlying raw
stream, unless the latter is 'interactive'.

Returns an int representing the number of bytes read (0 for EOF).

Raises BlockingIOError if the underlying raw stream has no
data at the moment.
�r���	_readintor�s&&rr��BufferedIOBase.readinto�s���~�~�a�u�~�-�-rc�*�UOUP	Q5!)z�Read bytes into buffer *b*, using at most one system call

Returns an int representing the number of bytes read (0 for EOF).

Raises BlockingIOError if the underlying raw stream has no
data at the moment.
r�rr�s&&r�	readinto1�BufferedIOBase.readinto1�s���~�~�a�t�~�,�,rc��[U[2%f[U2oUOQ2oU%cUO[	U22oLUO[	U22o[	U2oV1PU#U!)�B)r%�
memoryview�castr�r-r�)rar#r�r�r�s&&&  rr�BufferedIOBase._readinto�sc���!�Z�(�(��1�
�A�
�F�F�3�K����:�:�c�!�f�%�D��9�9�S��V�$�D���I���"�1���rc�*�UOQ2P!)z�Write the given bytes buffer to the IO stream.

Return the number of bytes written, which is always the length of b
in bytes.

Raises BlockingIOError if the buffer is full and the
underlying raw stream cannot accept more data at the moment.
r�rgr�s&&rr��BufferedIOBase.write�s��	
���'�"rc�*�UOQ2P!)z�
Separate the underlying raw stream from the buffer and return it.

After the raw stream has been detached, the buffer is in an unusable
state.
�detachrgrms&rr�BufferedIOBase.detach����	
���(�#rrUr�)rVrWrXrYr�r�r�r�rrr�rrZr�r�s@rr�r��s2����
�"�(#�.�	-�
�	#�$�$rr�c�`�\sQsQsnQsQsQQksQsQQksQs	Qs
Q	sQ
s\
Q2s\
Q2s\
Q
2s\
Q2sQsQsQsQsQsQsUsP!)�_BufferedIOMixin�z�A mixin implementation of BufferedIOBase with an underlying raw stream.

This passes most requests on to the underlying raw stream.  It
does *not* provide implementations of read(), readinto() or
write().
c��VmP!r���_raw�rarIs&&r�__init__�_BufferedIOMixin.__init__s���	rc�b�UOOV2oU]6c[Q2gU!)r�z#seek() returned an invalid position)rIrf�OSError)rarirj�new_positions&&& rrf�_BufferedIOMixin.seeks.���x�x�}�}�S�1���!���?�@�@��rc�`�UOO2oU]6c[Q2gU!)r�z#tell() returned an invalid position)rIrnrrrs& rrn�_BufferedIOMixin.tells)���h�h�m�m�o����7��?�@�@��
rc���UO2UO2UO2UeUO2oUOOU2!r�)rwr�rxrnrIrqrrs&&rrq�_BufferedIOMixin.truncatesL����������
	
�
�
���;��)�)�+�C��x�x� � ��%�%rc�v�UO%c[Q2gUOO2P!)�flush on closed file)rr.rIrxrms&rrx�_BufferedIOMixin.flush(s%���;�;�;��3�4�4������rc���UOdBUO%f.UO2UOO2P!P!P!SOO2h9hr�)rIrrxr;rms&rr;�_BufferedIOMixin.close-sJ���8�8������
!��
�
������� �)4���
����� ���A�A/c��UOe[Q2gUO2UOoPUmU!)Nzraw stream already detached)rIr.rxrrs& rr�_BufferedIOMixin.detach5s6���8�8���:�;�;��
�
���i�i����	��
rc�8�UOO2!r�)rIr�rms&rr��_BufferedIOMixin.seekable?����x�x� � �"�"rc��UO!r�rrms&rrI�_BufferedIOMixin.rawBs���y�y�rc�0�UOO!r�)rIrrms&rr�_BufferedIOMixin.closedFs���x�x���rc�0�UOO!r�)rIrbrms&rrb�_BufferedIOMixin.nameJ����x�x�}�}�rc�0�UOO!r�)rIr:rms&rr:�_BufferedIOMixin.modeNr3rc�L�[QUOO8Q02g�zcannot pickle z object�r+r`rVrms&r�__getstate__�_BufferedIOMixin.__getstate__R�!���.����)@�)@�(C�7�K�L�Lrc���UOOoUOOoUOoQO	VU2![
cQO	X2t!h9h)z<{}.{} name={!r}>z<{}.{}>)r`rWrXrb�formatr�)ra�modname�clsnamerbs&   r�__repr__�_BufferedIOMixin.__repr__Usf���.�.�+�+���.�.�-�-��	F��9�9�D�'�-�-�g��E�E���	6��#�#�G�5�5�	6�s�A
�
	A,�A,�+A,c�Z�[UOQP29o%cUU2P!P!�r~)r�rI�ra�sourcer�s&& rr~�_BufferedIOMixin._dealloc_warn_s(��"�4�8�8�_�d�C�C�<�C��� �Drc�8�UOO2!r�)rIr�rms&rr��_BufferedIOMixin.filenoe����x�x��� � rc�8�UOO2!r�)rIr�rms&rr��_BufferedIOMixin.isattyhrIrrr�r�)rVrWrXrYr�rrfrnrqrxr;rr�r�rIrrbr:r9r@r~r�r�rZr�r�s@rrr�s�������
��
&�"�
!��#�����������������M�F�!�!�!�!rrc�``�\sQsQsnQsPsQQksQsQsQs	Qs
U1QksQQ	ksQQ
ks
QsQQksQ
sQQksQsQsQsQsUsU9s!)�BytesIO�lz<Buffered I/O implementation using an in-memory bytes buffer.c���[2Um[2oUd	V!*
oUO9^tt^2V m]UmPPP2P!)%fhP!9hr�)�Lock�_lockr��_buffer�_pos)ra�
initial_bytes�bufs&& rr�BytesIO.__init__tsA���V��
��k���$�� �C�
�Z�Z�Z��L��D�I��Z�Z�Z�s�A�A$	�A$	c���UO%c[Q2gUO9^tt^2UOO	2oPPP2WQU!)%fhK9h)z__getstate__ on closed filerQ)rr.rQ�__dict__�copy�ra�states& rr9�BytesIO.__getstate__�sK���;�;�;��:�;�;�
�Z�Z�Z��M�M�&�&�(�E���'�N����Z�s�A�A+	�$A+	c�\�UOOU2[2UmP!r�)rX�updaterPrQrZs&&r�__setstate__�BytesIO.__setstate__�s���
�
���U�#��V��
rc�h�UO%c[Q2g[UO2!)z8Return the bytes value (contents) of the buffer
        zgetvalue on closed file)rr.r*rRrms&r�getvalue�BytesIO.getvalue�s(���;�;�;��6�7�7��T�\�\�"�"rc�h�UO%c[Q2g[UO2!)z;Return a readable and writable view of the buffer.
        zgetbuffer on closed file)rr.rrRrms&r�	getbuffer�BytesIO.getbuffer�s(���;�;�;��7�8�8��$�,�,�'�'rc�v:�UOdUOO2[RU_
2P!r�)rR�clear�superr;�rar`s&�rr;�
BytesIO.close�s&����<�<�#��L�L��� �
��
�rc�`�UO%c[Q2gUePoLUOoU2oUO
9^tt^2U]6c[
UO2o[
UO2UO6:cPPP2Q![[
UO2UOU*2oUOUOUoV0m[U2ttPPP2![c[	S8Q02gh9h)%fhP!9h)�read from closed filer�r)rr.r�r�r+rQr-rRrSr3r*)rar�r��newposr#s&&   rr��BytesIO.read�s����;�;�;��4�5�5��<��D�
$�!�^�^�
�"�|��
�Z�Z�Z��a�x��4�<�<�(���4�<�<� �D�I�I�-��	�Z�
��T�\�\�*�D�I�I��,<�=�F����T�Y�Y��0�A��I���8��Z��"�
?��4�(�*<� =�>�>�
?��
�Z�Z�s6�C>�D�8D�D�AD�>	D�D�D-	�%D-	c�&�UOU2!)z"This is the same as read.
        )r�r�s&&rr��
BytesIO.read1�s���y�y���rc	�`�[U[2%c[Q2g[U29^tt^2oUO%c[Q2gUOoU]6XcPPP2]!UO9^tt^2UOoU[UO26�cUOOU2V OVDU*#U9OU*
tmPPP2UttPPP2!)%fhK9h)%fhP!9h�z can't write str to binary stream�write to closed file)r%r)r+rrr.�nbytesrQrSr-rR�resize)rar#�viewr�ris&&   rr��
BytesIO.write�s����a�����>�?�?�
��]�]�d��{�{�{� �!7�8�8����A��A�v��
�]������i�i����T�\�\�*�*��L�L�'�'��,�,0���S�q��)��	�	�Q��	�
���]�����]�]�sH�D�	D�'D�2D�&D		�-AD		�5	D�	D
�D
�D�D-	�%D-	c���UO%c[Q2gUOoU2oU]6Xc)U]6c[QU802gVmUO
!U]6XcLUO9^tt^2[]UO
U*2UmPPP2UO
!U]6XcUUO9^tt^2[][UO2U*2UmPPP2UO
![Q2g[c[	S8Q02gh9h)%fhSO
!9h)%fhSO
!9h)zseek on closed filer��negative seek position zunsupported whence value)
rr.r�r�r+rSrQr2r-rR)rarirj�	pos_indexs&&& rrf�BytesIO.seek�s-���;�;�;��2�3�3�	��
�
�I��+�C��Q�;��Q�w� ��!E�F�F��I��y�y���q�[�������4�9�9�s�?�3��	���y�y���q�[�������3�t�|�|�#4�s�#:�;��	���y�y���7�8�8���	:��s�g�%7�8�9�9�	:�����y�y���	���y�y��s5�D�=#D8�,E�	D5�$D5�8E	�E	�E1	�E1	c�V�UO%c[Q2gUO!)�tell on closed file)rr.rSrms&rrn�BytesIO.tell�s!���;�;�;��2�3�3��y�y�rc�t�UO%c[Q2gUO9^tt^2UeUOoL*UOoU2oU]6c[QU802gUOUP/PPP2U![
c[
S8Q02gh9h)%fhS!9h)ztruncate on closed filer�znegative truncate position )rr.rQrSr�r�r+rR)rarir{s&& rrq�BytesIO.truncate�s����;�;�;��6�7�7�
�Z�Z�Z��{��i�i��&� #�
�
�I�$�+�C���7�$��%M�N�N����S�T�"���
��&�B�#�s�g�-?�$@�A�A�B��
�Z��
�s:�B&�
B&�B�
B&� B&�	B#�B#�#B&�&B7	�/B7	c�B�UO%c[Q2gP	!�r�r�rms&rr��BytesIO.readable�����;�;�;��<�=�=�rc�B�UO%c[Q2gP	!r�r�rms&rr��BytesIO.writabler�rc�B�UO%c[Q2gP	!r�r�rms&rr��BytesIO.seekabler�r)rRrQrSr�r�r�)rVrWrXrYr�rRrr9r_rbrer;r�r�r�rfrnrqr�r�r�rZr��
__classcell__�r`r�s@@rrMrMls_����F��G�
���#�(��
�.�
�(�.�
�&�
�
�rrMc�`�\sQsQsnQs\1QksQsQsQQks	QQks
QQksQQ	ksQQ
ks
QsQsQQ
ksQsUsP!)r8iz�BufferedReader(raw[, buffer_size])

A buffer for a readable, sequential BaseRawIO object.

The constructor creates a BufferedReader for the given readable raw
stream and buffer_size. If buffer_size is omitted, DEFAULT_BUFFER_SIZE
is used.
c���UO2%f[Q2g[OV2U]6:c[	Q2gV mUO
2[2UmP!)zMCreate a new buffered reader using the given readable raw IO object.
        z "raw" argument must be readable.�invalid buffer size)	r�rrrr.�buffer_size�_reset_read_bufrP�
_read_lock�rarIr�s&&&rr�BufferedReader.__init__sX���|�|�~�~��<�=�=��!�!�$�,��!���2�3�3�&�������&��rc�8�UOO2!r�)rIr�rms&rr��BufferedReader.readable&r,rc�$�QUm]UmP!)r)�	_read_buf�	_read_posrms&rr��BufferedReader._reset_read_buf)s�������rc��UdUP6c[Q2gUO9^tt^2UOU2ttPPP2!)%fhP!9h)z�Read size bytes.

Returns exactly size bytes of data unless the underlying raw IO
stream reaches EOF or if the call would block in non-blocking
mode. If size is negative, read until EOF or until read() would
block.
zinvalid number of bytes to read)r.r��_read_unlockedr�s&&rr��BufferedReader.read-s?�����r�	��>�?�?�
�_�_�_��&�&�t�,��_�_�_�s�A�A	�A	c��QoQoUOoUOoUdUP6Xc�UO2[UOQ2%c8UOO2oUeVEP9%fP!VEPU*!VEP,o]oUOO
2oVc7cSoL%U[U2*
oUOU2JIQOU29%fS![U2U*
o	V6:c$U9OU*
tmVEVQ*!VEP,o[UOU2o
V�6cJUOO
U
2oVc7cSoL%U	[U2*
o	UOU2JO[V2oQOU2oV�PUm]UmU%cUPU!S!)rr�)rN)
r�r�r�r�rIr�r�r-r��joinr2r�r3)rar��
nodata_val�empty_valuesrUri�chunk�chunks�current_size�avail�wanted�outs&&          rr��BufferedReader._read_unlocked:s����
�"���n�n���n�n��
�9��R��� � �"��t�x�x��+�+����(�(�*���=��t�9�,�,��,��t�9�u�,�,��$�i�[�F��L�����
�
����(�!&�J����E�
�*���
�
�e�$��8�8�F�#�1�1�z�1��C��3����:��N�N�a��N��3�5�>�!��d�)����T�%�%�q�)���i��H�H�M�M�&�)�E��$�"�
���S��Z��E��M�M�%� �
��M���h�h�v����R��������s�2�A�w�-�:�-rc��UOQ2UO9^tt^2UOU2ttPPP2!)%fhP!9h)z�Returns buffered bytes without advancing the position.

The argument indicates a desired minimal number of bytes; we
do at most one raw read to satisfy it.  We never return more
than self.buffer_size.
zpeek of closed file)rwr��_peek_unlockedr�s&&rr��BufferedReader.peekns6��	
���/�0�
�_�_�_��&�&�t�,��_�_�_�s�A�A	�A	c��[VO2o[UO2UO*
oV26fU]6:ccUOU*
oUO
O
U2oU%c-UOUOPU*Um]UmUOUOP!r�)r3r�r-r�r�rIr�)rar��want�have�to_read�currents&&    rr��BufferedReader._peek_unlockedys����1�&�&�'���4�>�>�"�T�^�^�3���;�$�!�)��&�&��-�G��h�h�m�m�G�,�G��!%�������!@�7�!J���!"����~�~�d�n�n�o�.�.rc
�d�UOQ2U]6c
UOoU]6XcQ!UO9^tt^2UO]2UO	[U[
UO2UO*
22ttPPP2!)%fhP!9h)z<Reads up to size bytes, with at most one read() system call.zread of closed filer)	rwr�r�r�r�r3r-r�r�r�s&&rr��BufferedReader.read1�s}��	
���/�0��!�8��#�#�D��1�9��
�_�_�_�����"��&�&��D�#�d�n�n�-����>�?�A��_�_�_�s�AB�B/	�'B/	c��UOQ2[U[2%f[U2oUO]6Xc]!UO	Q2o]oUO
9^tt^2U[
U26Cc5[[
UO2UO*
[
U22oU%ceUOUOUOU*VV4*#U9OU*
tm	V4*
oU[
U26XcL�[
U2U*
UO6�c0UOOVP2oU%fLHV5*
oL(U%c	U%fUO]2%fLU%fCJ9U%fCJDPPP2U!)%fhS!9h)z2Read data into *buf* with at most one system call.zreadinto of closed filer)rwr%rrur	r�r-r3r�r�r�rIr�r�)rarUr��writtenr�r�s&&&   rr�BufferedReader._readinto�sU��	
���3�4�
�#�z�*�*��S�/�C��:�:��?���h�h�s�m����
�_�_�_��C��H�$��C����/�$�.�.�@�#�c�(�K������t�~�~�d�n�n�U�6J�K���
�.��N�N�e�+�N��$�G��#�c�(�*���s�8�g�%��(8�(8�8����)�)�#�h�-�8�A����L�G� �G��.�.�q�1�1���5�W�W��;�>��?�_�>��sP�.F>�AF>�A"F>�$!F>�$F>�+F>�=F>�F>�F>�(F>�3F>�>G	�G	c��[[OU2[UO2*
UO
*]2!r�)r2rrnr-r�r�rms&rrn�BufferedReader.tell�s3���#�(�(��.��T�^�^�1D�D�t�~�~�U�WX�Y�Yrc�p�U[7c[Q2gUOQ2UO9^tt^2U]6Xc.U[	UO
2UO*
*o[OVU2oUO2UttPPP2!)%fhP!9h)�invalid whence valuezseek of closed file)
�valid_seek_flagsr.rwr�r-r�r�rrfr�rhs&&&rrf�BufferedReader.seek�s���)�)��3�4�4����/�0�
�_�_�_���{��s�4�>�>�*�T�^�^�;�;��"�'�'��6�:�C�� � �"���_�_�_�s�B$�AB$�$B5	�-B5	)r�r�r�r�r�r�r�)rVrWrXrYr�r5rr�r�r�r�r�r�r�rrnrfrZr�r�s@rr8r8sO�����)<�!�#��-�2.�h	-�	/�A�&.�`Z�	�	rr8c�j`�\sQsQsnQs\1QksQsQsQ
Qks	Qs
QsQ	sQQ
ks
QsQsUsP!)r7i�z�A buffer for a writeable sequential RawIO object.

The constructor creates a BufferedWriter for the given writeable raw
stream. If the buffer_size is not given, it defaults to
DEFAULT_BUFFER_SIZE.
c���UO2%f[Q2g[OV2U]6:c[	Q2gV m[
2Um[2Um	P!)z "raw" argument must be writable.r�)
r�rrrr.r�r��
_write_bufrP�_write_lockr�s&&&rr�BufferedWriter.__init__�sT���|�|�~�~��<�=�=��!�!�$�,��!���2�3�3�&��#�+����6��rc�8�UOO2!r�)rIr�rms&rr��BufferedWriter.writable�r,rc��[U[2%c[Q2gUO9^tt^2UO%c[Q2g[
UO2UO6�cUO2[
UO2oUOOU2[
UO2U*
o[
UO2UO6�cUO2UttPPP2![c�o[
SO2SO6�cn[
SO2SO*
oX5*oSOPSOSm[SOSOS2gPo=K�Po=hh9h)%fhP!9hrs)r%r)r+r�rr.r-r�r��_flush_unlocked�extend�BlockingIOError�errno�strerror)rar#�beforer��e�overages&&    rr��BufferedWriter.write�s[���a�����>�?�?�
�
�
�
��{�{�{� �!7�8�8��4�?�?�#�d�&6�&6�6��$�$�&�����)�F��O�O�"�"�1�%��$�/�/�*�V�3�G��4�?�?�#�d�&6�&6�6�	L��(�(�*��/�
��'�L��4�?�?�+�d�.>�.>�>�#&�d�o�o�"6��9I�9I�"I���*��*.�/�/�:K�4�;K�;K�*L���-�a�g�g�q�z�z�7�K�K�
?��L���
�
�sU�F?�
.F?�9A?F?�:D�
F?�	F<� F<�!#F7�A-F7�2F?�7F<�<F?�?G	�G	c��UO9^tt^2UO2UeUOO2oUOO	U2ttPPP2!)%fhP!9hr�)r�r�rIrnrqrrs&&rrq�BufferedWriter.truncate	sO��
�
�
�
�� � �"��{��h�h�m�m�o���8�8�$�$�S�)�	�
�
�
�s�A*�4A*�*A;	�3A;	c��UO9^tt^2UO2PPP2P!)%fhP!9hr�)r�r�rms&rrx�BufferedWriter.flushs)��
�
�
�
�� � �"��
�
�
�s�1�A	�A	c��UO%c[Q2gUO%c�UOO	UO2oUe[[OQ]2gU[UO26�fU]6c[Q2gUOPU/J�P![
c
[
Q2gh9h)r#zHself.raw should implement RawIOBase: it should not raise BlockingIOErrorz)write could not complete without blockingz*write() returned incorrect number of bytes)rr.r�rIr�r��RuntimeErrorr��EAGAINr-r�rar�s& rr��BufferedWriter._flush_unlockeds����;�;�;��3�4�4��o�o�o�
G��H�H�N�N�4�?�?�3���y�%��L�L�?��D�D��3�t���'�'�1�q�5��J�K�K�������#���#�
G�"�$F�G�G�
G�s�%B5�5	C�?
Cc�b�[OU2[UO2*!r�)rrnr-r�rms&rrn�BufferedWriter.tell%s!���$�$�T�*�S����-A�A�Arc���U[7c[Q2gUO9^tt^2UO2[OVU2ttPPP2!)%fhP!9h)r�)r�r.r�r�rrfrhs&&&rrf�BufferedWriter.seek(sN���)�)��3�4�4�
�
�
�
�� � �"�#�(�(��F�;��
�
�
�s�&A�A.	�&A.	c	��UO9^tt^2UOdUO%cPPP2P!PPP2UO2UO9^tt^2UOO	2PPP2P!)%fhKZ9h)%fhP!9hSO9^tt^2SOO	2PPP2h)%fhh9h9hr�)r�rIrrxr;rms&rr;�BufferedWriter.close/s���
�
�
�
��x�x��4�;�;�;���
�#.��	!��J�J�L��!�!�!������ �"�!��
��"�!�!���!�!�!������ �"�!�!�!�sW�B�B�B�B<�0B(�B%	�B%	�(B9	�1B9	�<D�C5	�,	D�5D
�>D
�D)r�r�r�r�r�)rVrWrXrYr�r5rr�r�rqrxr�rnrfr;rZr�r�s@rr7r7�sB�����)<�	"�#��8*�#�$�"B�<�
!�
!rr7c�`�\sQsQsnQs\1QksQQksQsQs	QQks
QQksQ	sQ
s
QsQsQ
sQs\Q2sQsUsP!)�BufferedRWPairi?awA buffered reader and writer object together.

A buffered reader object and buffered writer object put together to
form a sequential IO object that can read and write. This is typically
used with a socket or two-way pipe.

reader and writer are RawIOBase objects that are readable and
writeable respectively. If the buffer_size is omitted it defaults to
DEFAULT_BUFFER_SIZE.
c���UO2%f[Q2gUO2%f[Q2g[V2Um[V#2UmP!)z5Constructor.

The arguments are two RawIO instances.
z#"reader" argument must be readable.z#"writer" argument must be writable.)r�rr�r8�readerr7�writer)rar�r�r�s&&&&rr�BufferedRWPair.__init__OsN��
��� � ��?�@�@���� � ��?�@�@�$�V�9���$�V�9��rc�F�UePoUOOU2!r�)r�r�r�s&&rr��BufferedRWPair.read]s!���<��D��{�{����%�%rc�:�UOOU2!r�)r�r�r�s&&rr��BufferedRWPair.readintobs���{�{�#�#�A�&�&rc�:�UOOU2!r�)r�r�r�s&&rr��BufferedRWPair.writees���{�{� � ��#�#rc�:�UOOU2!r�)r�r�r�s&&rr��BufferedRWPair.peekhs���{�{����%�%rc�:�UOOU2!r�)r�r�r�s&&rr��BufferedRWPair.read1ks���{�{� � ��&�&rc�:�UOOU2!r�)r�rr�s&&rr�BufferedRWPair.readinto1ns���{�{�$�$�Q�'�'rc�8�UOO2!r�)r�r�rms&rr��BufferedRWPair.readableq����{�{�#�#�%�%rc�8�UOO2!r�)r�r�rms&rr��BufferedRWPair.writabletr�rc�8�UOO2!r�)r�rxrms&rrx�BufferedRWPair.flushws���{�{� � �"�"rc��UOO2UOO2P!SOO2h9hr�)r�r;r�rms&rr;�BufferedRWPair.closezs8��	 ��K�K�����K�K�����D�K�K����s	�9�Ac�|�UOO29%fUOO2!r�)r�r�r�rms&rr��BufferedRWPair.isatty�s*���{�{�!�!�#�;�;�t�{�{�'9�'9�';�;rc�0�UOO!r�)r�rrms&rr�BufferedRWPair.closed�����{�{�!�!�!r)r�r�r�r�)rVrWrXrYr�r5rr�r�r�r�r�rr�r�rxr;r�r�rrZr�r�s@rr�r�?s`����	�4G�:�&�
'�$�&�'�(�&�&�#� �<��"��"rr�c�|`�\sQsQsnQs\1QksQQksQsQQks	QQks
QsQQ	ksQQ
ks
QsQsQ
sUsP!)r6i�z�A buffered interface to random access streams.

The constructor creates a reader and writer for a seekable stream,
raw, given in the first argument. If the buffer_size is omitted it
defaults to DEFAULT_BUFFER_SIZE.
c��UO2[OVU2[OVU2P!r�)r�r8rr7r�s&&&rr�BufferedRandom.__init__�s.����������;�7�����;�7rc�2�U[7c[Q2gUO2UO%c^UO9^tt^2UO
O
UO[UO2*
]2PPP2UO
O
V2oUO9^tt^2UO2PPP2U]6c[Q2gU!)%fhKl9h)%fhK79h)r�z seek() returned invalid position)r�r.rxr�r�rIrfr�r-r�rrhs&&&rrf�BufferedRandom.seek�s����)�)��3�4�4��
�
���>�>�>��������
�
�d�n�n�s�4�>�>�/B�B�A�F�!��h�h�m�m�C�(��
�_�_�_�� � �"����7��<�=�=��
�!���
�_�s%�AC3�D�3D	�<D	�D	�D	c�|�UO%c[OU2![OU2!r�)r�r7rnr8rms&rrn�BufferedRandom.tell�s-���?�?�?�!�&�&�t�,�,�!�&�&�t�,�,rc�V�UeUO2o[OV2!r�)rnr7rqrrs&&rrq�BufferedRandom.truncate�s#���;��)�)�+�C��&�&�t�1�1rc�Z�UePoUO2[OV2!r�)rxr8r�r�s&&rr��BufferedRandom.read�s&���<��D��
�
���"�"�4�.�.rc�N�UO2[OV2!r�)rxr8r�r�s&&rr��BufferedRandom.readinto�s���
�
���&�&�t�/�/rc�N�UO2[OV2!r�)rxr8r�r�s&&rr��BufferedRandom.peek�s���
�
���"�"�4�.�.rc�N�UO2[OV2!r�)rxr8r�r�s&&rr��BufferedRandom.read1�s���
�
���#�#�D�/�/rc�N�UO2[OV2!r�)rxr8rr�s&&rr�BufferedRandom.readinto1�s���
�
���'�'��0�0rc�R�UO%cnUO9^tt^2UOOUO[UO2*
]2UO
2PPP2[OV2!)%fhK%9hr�)	r�r�rIrfr�r-r�r7r�r�s&&rr��BufferedRandom.write�sd���>�>�>��������
�
�d�n�n�s�4�>�>�/B�B�A�F��$�$�&�!��#�#�D�,�,�!��s�AB�B&	�B&	rUr�r�r�)rVrWrXrYr�r5rrfrnrqr�r�r�r�rr�rZr�r�s@rr6r6�sF�����)<�8�
�"-�2�/�0�/�0�1�-�-rr6c�j�UQ6�cU]*	oL	QU*oU[6c[oV*!)��)r5)�
bytes_read�addends& r�_new_buffersizer�s4���E���q����z�!��
�#�#�$����rc�``�\sQsQsnPsP
sP
sP
sP
sPs	P
s
P	sQQksQs
QsQs\Q2sQsQQksQQ	ksQ
sQsQs\1Q
ksQsQQksU1QksQsQsQsQs Qs!Qs"\Q2s#\Q2s$Qs%Us&U9s'!)r0i�c�
�UO]6�cBPUmUO%c![OUO2PUm[U[2%c[Q2g[U[2%cS[U[2%c(]PH*oUOQ[]Q5[U2oSoU]6c[Q2gLPo[U[2%f[QU802g[U2[Q26:f[QU802g[!QU22]6wfUO#Q2]6�c[Q	2gQ
U7c5P	UmP	Um[O([O**oL�QU7cP	Um]oLuQU7c5P	UmP	Um[O*[O0*oL:Q
U7c4P	UmP	Um[O4[O**oQU7cP	UmP	UmUO,%c+UO&%cW[O6*oLAUO,%cW[O8*oLW[O:*oU[=[Q]2*o[=[Q]29%f[=[Q]2oVx*oPo	U]6c�U%f[Q2gUe[O>VQ2oL>UV2o[U[2%f[Q2gU]6c[QU02gSo	U%f[O@UP
2V0m[OBU2Um[DOFUOOH2%c>[K[LON[OP[LON2U2g[T%c[UU[OV2Vm,UO2%c[OZU][\2LV`mP!PSmh9h[RcK~h9h[^c+o
S
OL[LO`6wcgPo
=
KUPo
=
hh9hPSmS	d[OS	2g9h)aOpen a file.

The mode can be 'r' (default), 'w', 'x' or 'a' for reading,
writing, exclusive creation or appending.  The file will be created
if it doesn't exist when opened for writing or appending; it will be
truncated when opened for writing.  A FileExistsError will be raised
if it already exists when opened for creating.  Opening a file for
creating implies writing so this mode behaves in a similar way to
'w'.  Add a '+' to the mode to allow simultaneous reading and
writing.

A custom opener can be used by passing a callable as *opener*.
The underlying file descriptor for the file object is then obtained
by calling opener with (*name*, *flags*).  *opener* must return
an open file descriptor (passing os.open as *opener* results in
functionality similar to passing None).
z$integer argument expected, got floatz!bool is used as a file descriptor)rznegative file descriptorzinvalid mode: zxrwab+c3�6�SF �D
pQ7w�	J	P!3h)�rwaxrU)�.0�cs& r�	<genexpr>�"FileIO.__init__.<locals>.<genexpr>s��D���D�q�F�{�D�s�r!zKMust have exactly one of create/read/write/append mode and at most one plusrrrr �O_BINARY�O_NOINHERIT�	O_CLOEXECz'Cannot use closefd=False with file name�zexpected integer from openerzopener returned )1�_fd�_stat_atopen�_closefdr'r;r%�floatr+r&�boolrrr/r.r)r,�sum�count�_created�	_writable�O_EXCL�O_CREAT�	_readable�	_truncate�O_TRUNC�
_appending�O_APPEND�O_RDWR�O_RDONLY�O_WRONLYr�rM�set_inheritable�fstat�stat�S_ISDIR�st_mode�IsADirectoryErrorr��EISDIRr�r��_setmoderrb�lseekrr�ESPIPE)rar<r:r@r$r�fdr�noinherit_flag�owned_fdr�s&&&&&      rr�FileIO.__init__�s���$�8�8�q�=� $�D��
��=�=�=��H�H�T�X�X�&�����d�E�"�"��B�C�C��d�C� � ��$��%�%���
�
�A�,���<��4�y���B��A�v� �!;�<�<���B��$��$�$��$�8�9�9��4�y�C��M�)��4�9�:�:��)�D�)�)�Q�.�$�*�*�S�/�A�2E��9�:�
:��$�;� �D�M�!�D�N��I�I��
�
�*�E�
�D�[�!�D�N��E�
�D�[�!�D�N�!�D�N��J�J����+�E�
�D�[�!�D�N�"�D�O��K�K�"�*�*�,�E��$�;�!�D�N�!�D�N��>�>�>�d�n�n�n��R�Y�Y��E�
�^�^�^��R�[�[� �E��R�[�[� �E�
���Z��+�+��!�"�m�Q�7�6�6�!�"�k�1�5�	�
�����.	��A�v��$�%N�O�O��>�����e�4�B���,�B�%�b�#�.�.�'�(F�G�G��A�v�(�+;�B�4�)@�A�A���%��&�&�r�5�1�#�M� "�����D��
��<�<�� 1� 1� 9� 9�:�:�+�E�L�L�,.�K�K����,E�t�M�M�;��x���R�[�[�)��I�������H�H�R��H�-�����S����b"�
��
�� ���w�w�%�,�,�.��/����	� $�D���#�����"��s��R
� R
�S"�
S"�S"�!5S"�S"�)S"�8S"�:/R�*=R�'S"�41S"�'R*�
	R�	R'�#R'�$S"�&R'�'S"�*	S�4S�5S�S�S"�S�S"�"T�/Tc��UO]6�cLUO%c8UO%f$]PHoUO	QU80[
]UQ5P!P!P!P!)r�zunclosed file )rrE)r#r%rrr�ResourceWarning)rarErs&& rr~�FileIO._dealloc_warnksJ���8�8�q�=�T�]�]�]�4�;�;�;���M�M�N�6�*�5��%&�t�
�
5�4?�]�=rc�L�[QUOO8Q02gr7r8rms&rr9�FileIO.__getstate__qr;rc	�z�UOO8QUOO80oUO%c
QU*!UOoQU8QU8QUO
8QUO8Q0	![c.QXOSO
SO1*t!h9h)r_z
<%s [closed]>�<z name=z mode=z	 closefd=�>z<%s fd=%d mode=%r closefd=%r>)	r`rWrXrrbr:r%r�r#)ra�
class_namerbs&  rr@�FileIO.__repr__ts��� $��� 9� 9� $��� ;� ;�=�
��;�;�;�"�Z�/�/�	B��9�9�D� ��t�y�y�$�-�-�A�
B��	�	F�3����4�9�9�d�m�m�D�E�
F�	F�s�B�	B:�+B:�9B:c�z�UOe[![UOQ]2oU%f[!U!)N�
st_blksize)r$r5r�)ra�blksizes& rr4�FileIO._blksize�s6�����$�&�&��$�+�+�\�1�=���&�&��rc�B�UO%f[Q2gP!)zFile not open for reading)r.rSrms&rr��FileIO._checkReadable�����~�~�~�&�'B�C�C�rc�B�UO%f[Q2gP!)zFile not open for writing)r+rSr�s&&rr��FileIO._checkWritable�rTrc���UO2UO2UdU]6cUO2![OUO
U2![cP!h9h)avRead at most size bytes, returned as bytes.

If size is less than 0, read all bytes in the file making
multiple read calls. See ``FileIO.readall``.

Attempts to make only one system call, retrying only per
PEP 475 (EINTR). This means less data may be returned than
requested.

In non-blocking mode, returns None if no data is available.
Return an empty bytes object at EOF.
)rwr�r�r'r�r#r�r�s&&rr��FileIO.read�s_��	
���������<�4�!�8��<�<�>�!�	��7�7�4�8�8�T�*�*���	��	�s� A�	A.�)A.�-A.c�p�UO2UO2UOdUOO]6:c[oL�UOO]*oUOOQ6�cg[
OUO][2oUOOU6�c%UOOU*
]*o[U2o]o[
OUO[U2UP29o%c7VE*
oU[U26�fJOUO[U22JkUOU2UO#2![cK�h9h[ cS%fP!KJh9h)a[Read all data from the file, returned as bytes.

Reads until either there is an error or read() returns size 0
(indicates EOF). If the file is already at EOF, returns an
empty bytes object.

In non-blocking mode, returns as much data as could be read
before EAGAIN. If no data is available (EAGAIN is returned
before bytes are read) returns None.
r)rwr�r$�st_sizer5r'r>r#rrr�r�rr-rvrr�r�)ra�bufsizerirJrr�s&     rr��FileIO.readall�sh��	
�����������$��(9�(9�(A�(A�Q�(F�)�G��'�'�/�/�!�3�G�� � �(�(�5�0���(�(�4�8�8�Q��9�C��(�(�0�0�C�7�"&�"3�"3�";�";�c�"A�A�"E���7�#���
�	��{�{�4�8�8�Z��-?�
��-L�M�M�!�M���
���V��,��M�M�/�*�"=�>�N�	�
�
�j�!�� � �"�"��#������	����	�sC�AF�$F�>4F�3F�
F�	F�F�F�	F5�&F5�4F5c��UO2UO2[OUOU2![
cP!h9h)zSame as RawIOBase.readinto().)rwr�r'r�r#r��rarLs&&rr��FileIO.readinto�sF����������	��;�;�t�x�x��0�0���	��	��� A�	A�A�Ac��UO2UO2[OUOU2![
cP!h9h)z�Write bytes b to file, return number written.

Only makes one system call, so not all of the data may be written.
The number of bytes actually written is returned.  In non-blocking
mode, returns None if the write would block.
)rwr�r'r�r#r�r�s&&rr��FileIO.write�sH��	
��������	��8�8�D�H�H�a�(�(���	��	�r`c��[U[2%c[Q2gUO2[O
UOV2!)a�Move to new file position.

Argument offset is a byte count.  Optional argument whence defaults
to SEEK_SET or 0 (offset from start of file, offset should be >= 0);
other values are SEEK_CUR or 1 (move relative to current position,
positive or negative), and SEEK_END or 2 (move relative to end of
file, usually negative, although many platforms allow seeking beyond
the end of a file).

Note that not all file objects are seekable.
zan integer is required)r%r&r+rwr'r>r#rhs&&&rrf�FileIO.seek�s>���c�5�!�!��4�5�5������x�x����#�.�.rc�p�UO2[OUO][2!)zQtell() -> int.  Current file position.

Can raise OSError for non seekable files.)rwr'r>r#rrms&rrn�FileIO.tells'��	
�����x�x����!�X�.�.rc��UO2UO2UeUO2o[OUO
U2PUmU!)z�Truncate the file to at most size bytes.

Size defaults to the current file position, as returned by tell().
The current file position is changed to the value of size.
)rwr�rnr'�	ftruncater#r$r�s&&rrq�FileIO.truncatesK��	
���������<��9�9�;�D�
���T�X�X�t�$� ����rc�
:�UO%f\PUmUO%c2UO]6�c![O
UO2[RU_2P!P![RS_2h9h)z~Close the file.

A closed file cannot be used for further I/O operations.
close() may be called more than once without error.
)rr$r%r#r'r;rirjs&�rr;�FileIO.closesY����{�{�{� $�D��
 ��=�=�=�T�X�X��]��H�H�T�X�X�&���
��
����
��s�A2�A2� A2�2Bc���UO2UOe%UO2P	UmUO!UO![cP
SmSO!h9h)z$True if file supports random-access.)rw�	_seekablernrrms&rr��FileIO.seekable$sf�������>�>�!�
&��	�	��"&����~�~��t�~�~���	�
'�!&����~�~��	
'�s�A�	A0�A0�/A0c�<�UO2UO!)z'True if file was opened in a read mode.)rwr.rms&rr��FileIO.readable0��������~�~�rc�<�UO2UO!)z(True if file was opened in a write mode.)rwr+rms&rr��FileIO.writable5rqrc�<�UO2UO!)z3Return the underlying file descriptor (an integer).)rwr#rms&rr��
FileIO.fileno:s�������x�x�rc�d�UO2[OUO2!)z.True if the file is connected to a TTY device.)rwr'r�r#rms&rr��
FileIO.isatty?s!�������y�y����"�"rc���UOd3[OUOO2%fP
![O
UO2!)a�Checks whether the file is a TTY using an open-only optimization.

TTYs are always character devices. If the interpreter knows a file is
not a character device when it would call ``isatty``, can skip that
call. Inside ``open()``  there is a fresh stat result that contains that
information. Use the stat result to skip a system call. Outside of that
context TOCTOU issues (the fd could be arbitrarily modified by
surrounding code).
)r$r8�S_ISCHRr:r'r�r#rms&rr1�FileIO._isatty_open_onlyDsA��
���)��L�L��!2�!2�!:�!:�;�;���y�y����"�"rc��UO!)z6True if the file descriptor will be closed by close().)r%rms&rr@�FileIO.closefdSs���}�}�rc� �UO%cUO%cQ!Q!UO%cUO%cQ!Q!UO%c+UO%cUO%cQ!Q!Q!Q!)	zString giving the file modezxb+�xbzab+�abzwb+zrb+rO�wb)r*r.r1r+r/rms&rr:�FileIO.modeXs[���=�=�=��~�~�~���
�_�_�_��~�~�~���
�^�^�^��~�~�~��>�>�>� � ��r)
r1r%r*r#r.rmr$r/r+rb)rTNr�)(rVrWrXrYr#r*r.r+r1rmr/r%rr~r9r@r�r4r�r�r�r�r�r�rrfrnrqr;r�r�r�r�r�r1r@r:rZr�r�r�s@@rr0r0�s�����
�C��H��I��I��J��I��I��H�B�H5�M�B�����D�D��,,#�\�� (�/�"/�� �
��
�
�
#�

#���������rr0c�`�\sQsQsnQsQQksQsQ
QksQQksQs	\
Q2s\
Q	2s\
Q
2s
QsUsP!)�
TextIOBaseiqzbBase class for text I/O.

This class provides a character and line based interface to stream
I/O.
c�*�UOQ2P!)z�Read at most size characters from stream, where size is an int.

Read from underlying buffer until we have size characters or we hit
EOF.  If size is negative or omitted, read until EOF.

Returns a string.
r�rgr�s&&rr��TextIOBase.readys��	
���&�!rc�*�UOQ2P!)z.Write string s to stream and returning an int.r�rg)ra�ss&&rr��TextIOBase.write�s�����'�"rc�*�UOQ2P!)z*Truncate size to pos, where pos is an int.rqrgrrs&&rrq�TextIOBase.truncate�s�����*�%rc�*�UOQ2P!)zORead until newline or EOF.

Returns an empty string if EOF is hit immediately.
r�rgr�s""rr��TextIOBase.readline�s��
	
���*�%rc�*�UOQ2P!)z�
Separate the underlying buffer from the TextIOBase and return it.

After the underlying buffer has been detached, the TextIO is in an
unusable state.
rrgrms&rr�TextIOBase.detach�rrc��P!)zSubclasses should override.rUrms&rr�TextIOBase.encoding�s��rc��P!)zzLine endings translated so far.

Only line endings translated during reading are considered.

Subclasses should override.
rUrms&r�newlines�TextIOBase.newlines�s��rc��P!)zEError setting of the decoder or encoder.

Subclasses should override.rUrms&rr>�TextIOBase.errors�s��
rrUr�r�)rVrWrXrYr�r�r�rqr�rr�rr�r>rZr�r�s@rr�r�qs_�����"�#�&�&�$������������rr�c�h`�\sQsQsnQsQ
QksQQksQsQsQs	]s
]s]s\
Q2sQ	sUsP!)�IncrementalNewlineDecoderi�aCodec used when reading a file in universal newlines mode.  It wraps
another incremental decoder, translating \r\n and \r into \n.  It also
records the types of newlines encountered.  When used with
translate=False, it ensures that the newline sequence is returned in
one piece.
c�|�[OOVQ5V mVm]UmP
UmP!))r>)�codecs�IncrementalDecoderr�	translate�decoder�seennl�	pendingcr)rar�r�r>s&&&&rr�"IncrementalNewlineDecoder.__init__�s1���!�!�*�*�4�*�?�"���������rc���UOeSoLUOOVQ5oUO%c!U%f	U%cQU*oP
UmUOQ2%cU%f
UPPoP	UmUO	Q2oUO	Q2U*
oUO	Q2U*
oS9O
S9%c
UOS9%c
UO*S9%c
UO**tmUO%c5U%cUOQQ2oU%cUOQQ2oU!)N��final�
�
�
)r��decoder�r�r)r��_LF�_CR�_CRLFr��replace)ra�inputr��output�crlf�cr�lfs&&&    rr�� IncrementalNewlineDecoder.decode�s���<�<���F��\�\�(�(��(�<�F��>�>�>�v���F�]�F�"�D�N��?�?�4� � ���C�R�[�F�!�D�N��|�|�F�#��
�\�\�$�
�$�
&��
�\�\�$�
�$�
&��������t�x�x�B�O�O�4�8�8�<��*�*��
�
�,�	,���>�>�>�������5�������d�3���
rc��UOeQo]oLUOO2vqU]*oUO%c
U]*oV1!)Nr)r��getstater�)rarU�flags&  rr��"IncrementalNewlineDecoder.getstate�sM���<�<���C��D����-�-�/�I�C���
���>�>�>��A�I�D��y�rc��Uvq#[U]*2UmUOd&UOOV#]*	12P!P!r�)r'r�r��setstate)rar[rUr�s&&  rr��"IncrementalNewlineDecoder.setstate�s@���	���d�Q�h�����<�<�#��L�L�!�!�3��	�"2�3�$rc�x�]UmP
UmUOdUOO2P!P!r�)r�r�r��resetrms&rr��IncrementalNewlineDecoder.reset�s/���������<�<�#��L�L��� �$rc�*�QUO*!)N)Nr�r�)r�r�r�)r�r�)r�r�)r�r�r�)r�rms&rr��"IncrementalNewlineDecoder.newlines�s�������	r)r�r�r�r�)�strict�F)rVrWrXrYr�rr�r�r�r�r�r�r�r�r�rZr�r�s@rr�r��sF�������>	�4�!��C�
�C�
�E�
�	��	rr�c
�`�\sQsQsnQsQsPsQ0QksQsQ0Qks	Qs
\Q2s\Q	2s
\Q
2s\Q2s\Q2sQ
PQPQ\QPQP-QksQsQsQsQsQs\Q2s\Q2sQsQsQsQsQsQsQ1Q ks Q!s!Q"s"Q#s#Q2Q$ks$Q%s%Q&s&Q1Q'ks'Q(s(Q3Q)ks)Q1Q*ks*Q+s+Q1Q,ks,\Q-2s-Q.s.Q/s/Us0P!)4r9i	a�Character and line based layer over a BufferedIOBase object, buffer.

encoding gives the name of the encoding that the stream will be
decoded or encoded with. It defaults to locale.getencoding().

errors determines the strictness of encoding and decoding (see the
codecs.register) and defaults to "strict".

newline can be None, '', '\n', '\r', or '\r\n'.  It controls the
handling of line endings. If it is None, universal newlines is
enabled.  With this enabled, on input, the lines endings '\n', '\r',
or '\r\n' are translated to '\n' before being returned to the
caller. Conversely, on output, '\n' is translated to the system
default line separator, os.linesep. If newline is any other of its
legal values, that newline becomes the newline when the file is read
and it is returned untranslated. On output, '\n' is converted to the
newline.

If line_buffering is True, a call to flush is implied when a call to
write contains a newline character.
ic��UOU2[U2oUQ6XcUO2o[U[2%f[QU*2g[OU2O%fQo[Vr*2gUeQoLJ[U[2%f[QU*2g[%c[OU2VmPUm
]UmPUmUO O#29UmUm[)UO Q2UmUO-V#UVV2P!)r
rz%r is not a text encodingr�rr�)�_check_newliner�_get_locale_encodingr%r)r.r��lookup�_is_text_encoding�LookupError�
_CHECK_ERRORS�lookup_errorrR�_decoded_chars�_decoded_chars_used�	_snapshotrLr�rm�_tellingr��
_has_read1�
_configure)rarLrr>r?rK�
write_throughr�s&&&&&&& rr�TextIOWrapper.__init__*s�����G�$� ��*���x���0�0�2�H��(�C�(�(��3�h�>�?�?��}�}�X�&�8�8�8�-�C��c�n�-�-��>��F��f�c�*�*� �!5��!>�?�?��}��#�#�F�+��� ���#$�� ����)-���)=�)=�)?�?�����!�$�+�+�w�7�������'�&�	7rc��Ud/[U[2%f[Q[U2802gUQ7c[	QU802gP!)Nzillegal newline type: zillegal newline value: )N�r�r�r�)r%r)r+�typer.)rar?s&&rr��TextIOWrapper._check_newlineJsB����z�'�3�'?�'?��$�w�-�I�J�J��8�8��G�E�F�F�9rc���VmV mPUmPUmQUmU%(UmUPIUmV0mUP6gUmS9%f[OUmV@mVPm
UO%c^UO2%cFUO O#2oU]6wc#UO%2O']2P!P!P!P![(cP!h9h)N�)�	_encoding�_errors�_encoder�_decoder�	_b2cratio�_readuniversal�_readtranslate�_readnl�_writetranslater'�linesep�_writenl�_line_buffering�_write_throughrmr�rLrn�_get_encoderr�r�)rarr>r?rKr��positions&&&&&& rr��TextIOWrapper._configurePs���!������
���
����")�k���%��o�����&�"�}����-�-�2�:�:��
�-��+���>�>�>�d�m�m�o�o��{�{�'�'�)�H��1�}���%�%�'�0�0��3��.�>��
#����s�=C$�$	C3�.C3�2C3c��QOUOOUOO2oUOoUQOU2*
oUOoUQOU2*
oUQOUO2*![
cKTh9h[
cK@h9h)z<{}.{}z name={0!r}z mode={0!r}z encoding={0!r}>)r=r`rWrXrbr�r:r)rarJrbr:s&   rr@�TextIOWrapper.__repr__ts���������!:�!:�!%���!<�!<�>��	1��9�9�D�
�m�*�*�4�0�0�F�	1��9�9�D�
�m�*�*�4�0�0�F��*�1�1�$�-�-�@�@�@���	��	���	��	�s/�B(�"B9�(	B6�2B6�5B6�9	C�C�Cc��UO!r�)r�rms&rr�TextIOWrapper.encoding�s���~�~�rc��UO!r�)r�rms&rr>�TextIOWrapper.errors�����|�|�rc��UO!r�)r�rms&rrK�TextIOWrapper.line_buffering�s���#�#�#rc��UO!r�)r�rms&rr��TextIOWrapper.write_through�s���"�"�"rc��UO!r�)rRrms&rrL�TextIOWrapper.buffer�r�rrr>r?rKr�c�R�UOdUeUeU[Ic[Q2gUeUeUOoL+QoL([	U[
2%f[
QU*2gUeUOoL?[	U[
2%f[
QU*2gUQ6XcUO2oU[Ic
UOoUOU2Ue
UOoUe
UOoUO2UOVUVE2P!)zPReconfigure the text stream with new parameters.

This also flushes the stream.
zPIt is not possible to set the encoding or newline of stream after the first readr�rrr
)r��EllipsisrSr�r%r)r+r�r�r�r�rKr�rxr�)rarr>r?rKr�s&$$$$$r�reconfigure�TextIOWrapper.reconfigure�s��
�M�M�%��)�V�-?��x�/�&�'�(�
(��>�������!���F�C�(�(��0�6�9�:�:����~�~�H��h��,�,�� 6�� A�B�B��8�#��4�4�6���h���l�l�G����G�$��!�!�0�0�N�� � �.�.�M��
�
������'�&�	7rc�V�UO%c[Q2gUO!r�)rr.rmrms&rr��TextIOWrapper.seekable�s!���;�;�;��<�=�=��~�~�rc�8�UOO2!r�)rLr�rms&rr��TextIOWrapper.readable�r�rc�8�UOO2!r�)rLr�rms&rr��TextIOWrapper.writable�r�rc�^�UOO2UOUmP!r�)rLrxrmr�rms&rrx�TextIOWrapper.flush�s������������
rc���UOdBUO%f.UO2UOO2P!P!P!SOO2h9hr�)rLrrxr;rms&rr;�TextIOWrapper.close�sN���;�;�"�4�;�;�;�
$��
�
�����!�!�#�	,7�"�����!�!�#�r'c�0�UOO!r�)rLrrms&rr�TextIOWrapper.closed�r�rc�0�UOO!r�)rLrbrms&rrb�TextIOWrapper.name�s���{�{���rc�8�UOO2!r�)rLr�rms&rr��TextIOWrapper.fileno�����{�{�!�!�#�#rc�8�UOO2!r�)rLr�rms&rr��TextIOWrapper.isatty�rrc�^�UO%c[Q2g[U[2%f'[	QUO
O*2g[U2oUO9%fUO9%cQU7oU%c@UO%c.UOQ6wcUOQUO2oUO9%fUO2oUOU2oUOO!U2UO%c U%fQU7cUO#2UO$dUO'P2PUmUO(%cUO(O+2U!)zWrite data, where s is a strrtzcan't write %s to text streamr�r�)rr.r%r)r+r`rVr-r�r�r�r�r�r��encoderLr�rxr��_set_decoded_charsr�r�)rar��length�haslf�encoderr#s&&    rr��TextIOWrapper.write�s5���;�;�;��3�4�4��!�S�!�!��;��K�K�0�0�1�2�
2��Q����%�%�=�=��)=�)=�L�L�4�1�9���T�)�)�)�d�m�m�t�.C��	�	�$��
�
�.�A��-�-�6�6�4�#4�#4�#6���N�N�1��������!������U�d�a�i��J�J�L��>�>�%��#�#�B�'�!�D�N��=�=�=��M�M���!��
rc��[OUO2oUUO2UmUO!r�)r��getincrementalencoderr�r�r�)ra�make_encoders& rr��TextIOWrapper._get_encoder	s0���3�3�D�N�N�C��$�T�\�\�2��
��}�}�rc���[OUO2oUUO2oUO%c[V O2oV mU!r�)r��getincrementaldecoderr�r�r�r�r�r�)ra�make_decoderr�s&  r�_get_decoder�TextIOWrapper._get_decoder	sJ���3�3�D�N�N�C���t�|�|�,������/��9L�9L�M�G��
��rc�"�Vm]UmP!)zSet the _decoded_chars buffer.)r�r�)ra�charss&&rr� TextIOWrapper._set_decoded_chars	s��#��#$�� rc��UOoUeUOUPoLUOV"U*oU9O[U2*
tmU!)z'Advance into the _decoded_chars buffer.)r�r�r-)rar��offsetrs&&  r�_get_decoded_chars� TextIOWrapper._get_decoded_chars	sR���)�)���9��'�'���0�E��'�'���z�:�E�� � �C��J�.� ��rc�R�]PHoUO2![cQ!h9h)r�r)r
�getencoding�ImportError)rar
s& rr��"TextIOWrapper._get_locale_encoding	s/��	(��
�%�%�'�'��	�	��	�s��	&�&�&c�r�UOU6c[Q2gU9OU*tmP!)z!Rewind the _decoded_chars buffer.z"rewind decoded_chars out of bounds)r��AssertionErrorr�s&&r�_rewind_decoded_chars�#TextIOWrapper._rewind_decoded_chars(	s-���#�#�a�'� �!E�F�F�� � �A�%� rc�x�UOe[Q2gUO%cUOO2vqUO%c'UO
O
UO2oL%UO
OUO2oU%(oUOOV42oUOU2U%c,[U2[UO2*Um
LQUm
UO%cWWU*1UmU%(!)zA
Read and decode the next chunk of data from the BufferedReader.
z
no decoderr�)r�r.r�r�r�rLr��_CHUNK_SIZEr�r�rr-r�r�r�)ra�
dec_buffer�	dec_flags�input_chunk�eof�
decoded_charss&     r�_read_chunk�TextIOWrapper._read_chunk.	s����=�=� ��\�*�*��=�=�=�%)�M�M�$:�$:�$<�!�J�
�?�?�?��+�+�+�+�D�,<�,<�=�K��+�+�*�*�4�+;�+;�<�K��o���
�
�,�,�[�>�
����
�.�� ��-��D�4G�4G�0H�H�D�N� �D�N��=�=�=�(��k�)A�B�D�N��w�rc��V]@**U]�**U]�**[U2Q**!)�@r)r')rar�r,�
bytes_to_feed�need_eof�
chars_to_skips&&&&&&r�_pack_cookie�TextIOWrapper._pack_cookieX	s;���r�M�*�m�S�.@�A��s�"�$�&*�8�n�c�&9�:�	;rc��[UQ2vq#[UQ2vq$[UQ2vq%[UQ2vqgV4U[U2U1!)r�l)�divmodr')ra�bigint�restr�r,r4r5r6s&&      r�_unpack_cookie�TextIOWrapper._unpack_cookieb	sO�����.��� ��u�-���$�T�5�1���"(��u�"5����M�4��>�=�P�Prc���UO%f[Q2gUO%f[Q2gUO	2UO
O
2oUOoUdUOe UO%c[Q2gU!UOvq4U[U2*oUOoU]6XcUOV2!UO2o[UO U*2o]oU]6�c�UO#QU12[UO%UPU22o	V�6:c<UO2vq�U
%fSoVY*oL>U[U
2*o]oJxVx*oU]*oJ�]oUO#QU12V*oSo
U]6Xc#UOV�2UO#U2!]oP
o]o['U[U22FDyoU]*
oU[UO%UUU]*22*
oUO2vooU%fUU6:cV�*
oUU*oS]]oq�UU6�fJxL9	U[UO%QP	Q52*
oP	oUU6c[Q2gUOV�V�U2UO#U2!SO#S2h9h)�!underlying stream is not seekablez(telling position disabled by next() callzpending decoded textrr�z'can't reconstruct logical file position)rmrSr�rrxrLrnr�r�r�r&r-r�r7r�r&r�r�r��range)rar�r�r,�
next_inputr6�saved_state�
skip_bytes�	skip_backr�r#�d�	start_pos�start_flags�	bytes_fedr5�
chars_decoded�ir+s&                  rrn�TextIOWrapper.telli	s����~�~�~�&�'J�K�K��}�}�}��D�E�E��
�
���;�;�#�#�%���-�-���?�d�n�n�4��"�"�"�$�%;�<�<��O�!%����	��C�
�O�#���0�0�
��A���$�$�X�9�9��&�&�(��F	*��T�^�^�m�;�<�J��I��q�.�� � �#�y�!1�2�����z�+�:�'>�?�@���%�"�+�+�-�D�A��$%�	�%�*�
���#�a�&�(�J� !�I��+�J� )�A�
�I��
�� � �#�y�!1�2�!�-�I�#�K���!��(�(��@�@
���[�)�5�I��H��M��:�s�:��7���Q��	���W�^�^�J�q��1��4E�%F�!G�G�
�(/�(8�(8�(:�%�
�I�!�m�}�&D��*�I�!�]�2�M�<E�q�!�M�� �M�1��8���W�^�^�C�t�^�%D�!E�E�
��� �=�0�!�"K�L�L��$�$��	�]�L�
���[�)��G���[�)�sD�8$K�5K�K�-AK�K�)A-K�K�K�=0K�.K�K0c��UO2UeUO2oUOOU2!r�)rxrnrLrqrrs&&rrq�TextIOWrapper.truncate�	s0���
�
���;��)�)�+�C��{�{�#�#�C�(�(rc��UOe[Q2gUO2UOoPUmU!)Nzbuffer is already detached)rLr.rxrRr^s& rr�TextIOWrapper.detach�	s6���;�;���9�:�:��
�
����������
rc�~`�U1QkoRO%c[Q2gRO%f[Q2gU[6Xc&U]6wc[Q2g]oRO2oL�U[6Xc�U]6wc[Q2gRO2ROO]U2oROP2PRmRO%cROO2UU2U!U]6wc[QU8Q02gU]6c[QU802gRO2ROU2vqVqxo	ROOU2ROP2PRmU]6Xc.RO%cROO2LqRO%fU%f	U	%cPRO9%fRO2RmROO!QU12UQ1RmU	%czROO#U2o
ROROO%V�22Vj1Rm['RO(2U	6c[+Q	2gU	RmUU2U!)
c��:�RO9%fRO2oU]6wcUO]2P!UO2P![cP!h9h)z9Reset the encoder (merely useful for proper BOM handling))r�r�r�r�r�)r�rras& �r�_reset_encoder�*TextIOWrapper.seek.<locals>._reset_encoder�	sV���	
$��-�-�>�>�4�+<�+<�+>��
�q�=��$�$�Q�'��M�M�O���
��
�s�A�A�	A#�A#�"A#r~r@z#can't do nonzero cur-relative seeksz#can't do nonzero end-relative seekszunsupported whence (�)rzrz#can't restore logical file position)rr.rmrSrrnrrxrLrfrr�r�r�r=rr�r�r�r-r�rr�)ra�cookierjrSr�rGr,r4r5r6r-sf&&        rrf�TextIOWrapper.seek�	s2���	$��;�;�;��2�3�3��~�~�~�&�'J�K�K��X����{�*�+P�Q�Q��F��Y�Y�[�F�
�x�
���{�*�+P�Q�Q��J�J�L��{�{�'�'��6�2�H��#�#�B�'�!�D�N��}�}�}��
�
�#�#�%��8�$��O��Q�;��&�B�C�C��A�:��F�D�E�E��
�
��

����'�	E�	�m�}�	
������#�����#�����Q�;�4�=�=�=��M�M���!�
�]�]�]�i�=� �M�M�@�@�T�->�->�-@�D�M��M�M�"�"�C��#3�4�'��-�D�N���+�+�*�*�=�9�K��#�#��
�
�$�$�[�;�
=�'�5�D�N��4�&�&�'�-�7��C�D�D�'4�D�$��v���
rc��UO2UePoLUOoU2oUO9%fUO2oU]6czUOO2oUe[Q2gUO2UOUP	Q5*oUOdUOP2PUmU!P
oUOU2o[U2U6cGU%f?UO2%(oVPOU[U2*
2*
oJVU![c[S8Q02gh9h)Nr�zRead returned None.r�)r�r�r�r+r�rrLr�r�rr�r�rr-r0)rar�r�r�r�rJr.s&&     rr��TextIOWrapper.read%
s5�������<��D�
$�!�^�^�
�"�|���-�-�6�6�4�#4�#4�#6���!�8��K�K�$�$�&�E��}�%�&;�<�<��-�-�/��n�n�U�$�n�7�8�F��~�~�)��'�'��+�!%����M��C��,�,�T�2�F��f�+��$�S��*�*�,�,���1�1�$��V��2D�E�E���M��/"�
?��4�(�*<� =�>�>�
?�s�D<�<	E�Ec��P
UmUO2oU%fPUmUOUm[gU!r�)r�r�r�rmr�r�s& rr��TextIOWrapper.__next__E
s4����
��}�}����!�D�N� �N�N�D�M����rc���UO%c[Q2gUePoLUOoU2oUO2o]oUO%fUO2P9qVUO%c1UOQU2oU]6�cU]*oCLr[U2oL�UO%c�UOQU2oUOQU2oUP6XcUP6Xc
[U2oL�U]*oCLUP6XcU]*oL�Vx6cU]*oL�Vx]*6XcU]*oL�U]*oL�UOUO2oU]6�cU[UO2*oL�U]6�c[U2U6�cSoLpUO2%cUO%fJ*UO%cV0O2*
oCJ�UOP2PUmU!U]6�c	Va6�cSoUO#[U2U*
2UPU![c[	S8Q02gh9h)rmr�r�r�)rr.r�r�r+rr�rr�r�r-r�r�r0r�rr�r')	rar�r�r��startri�endpos�nlpos�crposs	&&       rr��TextIOWrapper.readlineN
s>���;�;�;��4�5�5��<��D�
$�!�^�^�
�"�|���&�&�(�����}�}�}����������"�"�"��i�i��e�,���!�8� �1�W�F����I�E��$�$�$�
�	�	�$��.���	�	�$��.���B�;���{� #�D�	��"'������b�[�"�Q�Y�F���]�"�Q�Y�F���a�i�'�"�Q�Y�F��#�Q�Y�F���i�i����-���!�8� �3�t�|�|�#4�4�F���q�y�S��Y�$�.�����"�"�$�$��&�&�&���"�"�"��/�/�1�1���'�'��+�!%������1�9����F�	
�"�"�3�t�9�v�#5�6��G�V�}���g"�
?��4�(�*<� =�>�>�
?�s�I�	I*�I*c�X�UO%cUOO!P!r�)r�r�rms&rr��TextIOWrapper.newlines�
s��)-����t�}�}�%�%�@�D�@rc�Z�[UOQP29o%cUU2P!P!rC)r�rLrDs&& rr~�TextIOWrapper._dealloc_warn�
s(��"�4�;�;���F�F�<�F��� �Gr)r�rRr�r�r�r�r�r�r�r�r�r�r�rmr�r�r�r�r�)NNNFFr�)r�r�Fr�r�)1rVrWrXrYr�r*rRrr�r�r@r�rr>rKr�rLr�r�r�r�r�rxr;rrbr�r�r�r�rrrr�r'r0r7r=rnrqrrfr�r�r�r�r~rZr�r�s@rr9r9	s������,�K��G�
7�@G��HA�"���������$��$��#��#�����)7�!�)7�*.�)7�8@�)7�#'�)7�7;�)7�V�
&�&�'�$��"��"�� �� �$�$��0�
�%�
�(�&�(�T;�Q�a*�F)��I�V�@�[�z�A��A�!�!rr9c�n``�\sQsQsnQsQ
U1QkksQsQs\Q2s	\Q2s
QsQ	sUs
U9s!)�StringIOi�
z�Text I/O implementation using an in-memory buffer.

The initial_value argument sets the value of object.  The newline
argument is like the one of TextIOWrapper's constructor.
c�4:�[[U_[2QQUQ5UeP
UmUdh[U[2%f.[QO[U2O22gUOU2UO]2P!P!)r�
surrogatepass)rr>r?z*initial_value must be str or None, not {0})
rirgrrMr�r%r)r+r=r�rVr�rf)ra�
initial_valuer?r`s&&&�rr�StringIO.__init__�
s����
�h��&�w�y�07�.=�/6�	'�	8��?�#(�D� ��$��m�S�1�1�� L�!'���]�(;�(D�(D�!E�G�G��J�J�}�%��I�I�a�L�%rc�R�UO2UO9%fUO2oUO2oUO	2UOUOO2P	Q5UOU2!SOS2h9h)Tr�)	rxr�rr�r�r�rLrbr�)rar��	old_states&  rrb�StringIO.getvalue�
s{���
�
���-�-�6�6�4�#4�#4�#6���$�$�&�	��
�
��	(��>�>�$�+�+�"6�"6�"8��>�E����Y�'��G���Y�'�s�*B�B&c�.�[OU2!r�)�objectr@rms&rr@�StringIO.__repr__�
s�����t�$�$rc��P!r�rUrms&rr>�StringIO.errors�
���rc��P!r�rUrms&rr�StringIO.encoding�
rtrc�*�UOQ2P!)rrgrms&rr�StringIO.detach�
s�����(�#r)r�)r�r�)rVrWrXrYr�rrbr@r�r>rrrZr�r�r�s@@rrgrg�
sK������ (�%�
��������$�$rrg>�win32�cygwin>r�r��i)r{)rr�NNNTN):r�r'�abcr�r�r8r�_threadrrP�platform�msvcrtrr=�iorrrrrrr�r��addr	�	SEEK_DATAr5r�r�dev_moder�r�staticmethodrMrQ�	open_coder�rSrr.�ABCMetar\�registerr�r�rrMr8r7r�r6rr0r�r�r�r9rgrUrr�<module>r�sM���
�
�
���
�)��<�<�&�&�*��H�	�F�F���
�2�{���������&�������&�!��"����0�1�G�G�S�Y�Y�5G�5G�
��B�E��E�R� (����I�
��2�2��\�s�{�{�\�|�	�	���6��:#��:#�x�����i� �e$�V�e$�N�����>�*�l!�~�l!�^_�n�_�DF�%�F�Pf!�%�f!�RF"�^�F"�RG-�^�^�G-�T�Q�Y�Q�h>��>�@�
�
���z�"�R�� 9� 9�R�jh
!�J�h
!�V0$�}�0$��]L�(�'�I�(���
�
�w�
�
�
�s0�H�$H!�H�H�H�!H8�'
H8�7H8

Youez - 2016 - github.com/yon3zu
LinuXploit