/opt/alt/python311/lib64/python3.11/asyncio/__pycache__
NameSizeModeActions
base_events.cpython-311.opt-1.pyc911360644editdlrm
base_events.cpython-311.opt-2.pyc826860644editdlrm
base_events.cpython-311.pyc912190644editdlrm
base_futures.cpython-311.opt-1.pyc34020644editdlrm
base_futures.cpython-311.opt-2.pyc31630644editdlrm
base_futures.cpython-311.pyc34020644editdlrm
base_subprocess.cpython-311.opt-1.pyc165420644editdlrm
base_subprocess.cpython-311.opt-2.pyc164490644editdlrm
base_subprocess.cpython-311.pyc167170644editdlrm
base_tasks.cpython-311.opt-1.pyc41900644editdlrm
base_tasks.cpython-311.opt-2.pyc41900644editdlrm
base_tasks.cpython-311.pyc41900644editdlrm
constants.cpython-311.opt-1.pyc9770644editdlrm
constants.cpython-311.opt-2.pyc9770644editdlrm
constants.cpython-311.pyc9770644editdlrm
coroutines.cpython-311.opt-1.pyc39520644editdlrm
coroutines.cpython-311.opt-2.pyc38640644editdlrm
coroutines.cpython-311.pyc40110644editdlrm
events.cpython-311.opt-1.pyc378050644editdlrm
events.cpython-311.opt-2.pyc285000644editdlrm
events.cpython-311.pyc378050644editdlrm
exceptions.cpython-311.opt-1.pyc36570644editdlrm
exceptions.cpython-311.opt-2.pyc29840644editdlrm
exceptions.cpython-311.pyc36570644editdlrm
format_helpers.cpython-311.opt-1.pyc41450644editdlrm
format_helpers.cpython-311.opt-2.pyc39150644editdlrm
format_helpers.cpython-311.pyc41450644editdlrm
futures.cpython-311.opt-1.pyc181130644editdlrm
futures.cpython-311.opt-2.pyc147230644editdlrm
futures.cpython-311.pyc185180644editdlrm
locks.cpython-311.opt-1.pyc292210644editdlrm
locks.cpython-311.opt-2.pyc220200644editdlrm
locks.cpython-311.pyc292210644editdlrm
log.cpython-311.opt-1.pyc3080644editdlrm
log.cpython-311.opt-2.pyc2700644editdlrm
log.cpython-311.pyc3080644editdlrm
mixins.cpython-311.opt-1.pyc12100644editdlrm
mixins.cpython-311.opt-2.pyc11760644editdlrm
mixins.cpython-311.pyc12100644editdlrm
proactor_events.cpython-311.opt-1.pyc471640644editdlrm
proactor_events.cpython-311.opt-2.pyc467680644editdlrm
proactor_events.cpython-311.pyc477550644editdlrm
protocols.cpython-311.opt-1.pyc94590644editdlrm
protocols.cpython-311.opt-2.pyc44490644editdlrm
protocols.cpython-311.pyc94590644editdlrm
queues.cpython-311.opt-1.pyc128400644editdlrm
queues.cpython-311.opt-2.pyc102220644editdlrm
queues.cpython-311.pyc128400644editdlrm
runners.cpython-311.opt-1.pyc102470644editdlrm
runners.cpython-311.opt-2.pyc86400644editdlrm
runners.cpython-311.pyc102470644editdlrm
selector_events.cpython-311.opt-1.pyc641260644editdlrm
selector_events.cpython-311.opt-2.pyc621250644editdlrm
selector_events.cpython-311.pyc642060644editdlrm
sslproto.cpython-311.opt-1.pyc434600644editdlrm
sslproto.cpython-311.opt-2.pyc395190644editdlrm
sslproto.cpython-311.pyc435260644editdlrm
staggered.cpython-311.opt-1.pyc62190644editdlrm
staggered.cpython-311.opt-2.pyc40940644editdlrm
staggered.cpython-311.pyc66500644editdlrm
streams.cpython-311.opt-1.pyc346000644editdlrm
streams.cpython-311.opt-2.pyc287960644editdlrm
streams.cpython-311.pyc350040644editdlrm
subprocess.cpython-311.opt-1.pyc126490644editdlrm
subprocess.cpython-311.opt-2.pyc125270644editdlrm
subprocess.cpython-311.pyc126760644editdlrm
taskgroups.cpython-311.opt-1.pyc80010644editdlrm
taskgroups.cpython-311.opt-2.pyc73180644editdlrm
taskgroups.cpython-311.pyc81050644editdlrm
tasks.cpython-311.opt-1.pyc409290644editdlrm
tasks.cpython-311.opt-2.pyc330120644editdlrm
tasks.cpython-311.pyc410190644editdlrm
threads.cpython-311.opt-1.pyc13070644editdlrm
threads.cpython-311.opt-2.pyc8490644editdlrm
threads.cpython-311.pyc13070644editdlrm
timeouts.cpython-311.opt-1.pyc78420644editdlrm
timeouts.cpython-311.opt-2.pyc62410644editdlrm
timeouts.cpython-311.pyc80040644editdlrm
transports.cpython-311.opt-1.pyc151630644editdlrm
transports.cpython-311.opt-2.pyc98100644editdlrm
transports.cpython-311.pyc151830644editdlrm
trsock.cpython-311.opt-1.pyc53980644editdlrm
trsock.cpython-311.opt-2.pyc51410644editdlrm
trsock.cpython-311.pyc53980644editdlrm
unix_events.cpython-311.opt-1.pyc725750644editdlrm
unix_events.cpython-311.opt-2.pyc674910644editdlrm
unix_events.cpython-311.pyc733380644editdlrm
windows_events.cpython-311.opt-1.pyc470030644editdlrm
windows_events.cpython-311.opt-2.pyc459050644editdlrm
windows_events.cpython-311.pyc470370644editdlrm
windows_utils.cpython-311.opt-1.pyc75840644editdlrm
windows_utils.cpython-311.opt-2.pyc71540644editdlrm
windows_utils.cpython-311.pyc77700644editdlrm
__init__.cpython-311.opt-1.pyc13580644editdlrm
__init__.cpython-311.opt-2.pyc13030644editdlrm
__init__.cpython-311.pyc13580644editdlrm
__main__.cpython-311.opt-1.pyc59520644editdlrm
__main__.cpython-311.opt-2.pyc59520644editdlrm
__main__.cpython-311.pyc59520644editdlrm
Edit: /opt/alt/python311/lib64/python3.11/asyncio/__pycache__/protocols.cpython-311.opt-1.pyc (9459B)
f-dZdZGddZGddeZGddeZGdd eZGd d eZd Zd S)zAbstract Protocol base classes.) BaseProtocolProtocolDatagramProtocolSubprocessProtocolBufferedProtocolc.eZdZdZdZdZdZdZdZdS)ra Common base class for protocol interfaces. Usually user implements protocols that derived from BaseProtocol like Protocol or ProcessProtocol. The only case when BaseProtocol should be implemented directly is write-only transport like write pipe cdS)zCalled when a connection is made. The argument is the transport representing the pipe connection. To receive data, wait for data_received() calls. When the connection is closed, connection_lost() is called. Nr)self transports 8/opt/alt/python311/lib64/python3.11/asyncio/protocols.pyconnection_madezBaseProtocol.connection_madecdS)zCalled when the connection is lost or closed. The argument is an exception object or None (the latter meaning a regular EOF is received or the connection was aborted or closed). Nrr excs r connection_lostzBaseProtocol.connection_lostrrcdS)aCalled when the transport's buffer goes over the high-water mark. Pause and resume calls are paired -- pause_writing() is called once when the buffer goes strictly over the high-water mark (even if subsequent writes increases the buffer size even more), and eventually resume_writing() is called once when the buffer size reaches the low-water mark. Note that if the buffer size equals the high-water mark, pause_writing() is not called -- it must go strictly over. Conversely, resume_writing() is called when the buffer size is equal or lower than the low-water mark. These end conditions are important to ensure that things go as expected when either mark is zero. NOTE: This is the only Protocol callback that is not called through EventLoop.call_soon() -- if it were, it would have no effect when it's most needed (when the app keeps writing without yielding until pause_writing() is called). Nrr s r pause_writingzBaseProtocol.pause_writing%rrcdS)zvCalled when the transport's buffer drains below the low-water mark. See pause_writing() for details. Nrrs r resume_writingzBaseProtocol.resume_writing;rrN) __name__ __module__ __qualname____doc__ __slots__r rrrrrr rr saI         ,     rrc"eZdZdZdZdZdZdS)ranInterface for stream protocol. The user should implement this interface. They can inherit from this class but don't need to. The implementations here do nothing (they don't raise exceptions). When the user wants to requests a transport, they pass a protocol factory to a utility function (e.g., EventLoop.create_connection()). When the connection is made successfully, connection_made() is called with a suitable transport object. Then data_received() will be called 0 or more times with data (bytes) received from the transport; finally, connection_lost() will be called exactly once with either an exception object or None as an argument. State machine of calls: start -> CM [-> DR*] [-> ER?] -> CL -> end * CM: connection_made() * DR: data_received() * ER: eof_received() * CL: connection_lost() rcdS)zTCalled when some data is received. The argument is a bytes object. Nr)r datas r data_receivedzProtocol.data_received^rrcdSzCalled when the other end calls write_eof() or equivalent. If this returns a false value (including None), the transport will close itself. If it returns a true value, closing the transport is up to the protocol. Nrrs r eof_receivedzProtocol.eof_receiveddrrN)rrrrrr!r$rrr rrBsC2I        rrc(eZdZdZdZdZdZdZdS)ra:Interface for stream protocol with manual buffer control. Event methods, such as `create_server` and `create_connection`, accept factories that return protocols that implement this interface. The idea of BufferedProtocol is that it allows to manually allocate and control the receive buffer. Event loops can then use the buffer provided by the protocol to avoid unnecessary data copies. This can result in noticeable performance improvement for protocols that receive big amounts of data. Sophisticated protocols can allocate the buffer only once at creation time. State machine of calls: start -> CM [-> GB [-> BU?]]* [-> ER?] -> CL -> end * CM: connection_made() * GB: get_buffer() * BU: buffer_updated() * ER: eof_received() * CL: connection_lost() rcdS)aPCalled to allocate a new receive buffer. *sizehint* is a recommended minimal size for the returned buffer. When set to -1, the buffer size can be arbitrary. Must return an object that implements the :ref:`buffer protocol `. It is an error to return a zero-sized buffer. Nr)r sizehints r get_bufferzBufferedProtocol.get_bufferrrcdS)zCalled when the buffer was updated with the received data. *nbytes* is the total number of bytes that were written to the buffer. Nr)r nbytess r buffer_updatedzBufferedProtocol.buffer_updatedrrcdSr#rrs r r$zBufferedProtocol.eof_receivedrrN)rrrrrr(r+r$rrr rrmsR.I            rrc"eZdZdZdZdZdZdS)rz Interface for datagram protocol.rcdS)z&Called when some datagram is received.Nr)r r addrs r datagram_receivedz"DatagramProtocol.datagram_receivedrrcdS)z~Called when a send or receive operation raises an OSError. (Other than BlockingIOError or InterruptedError.) Nrrs r error_receivedzDatagramProtocol.error_receivedrrN)rrrrrr0r2rrr rrs=**I555     rrc(eZdZdZdZdZdZdZdS)rz,Interface for protocol for subprocess calls.rcdS)zCalled when the subprocess writes data into stdout/stderr pipe. fd is int file descriptor. data is bytes object. Nr)r fdr s r pipe_data_receivedz%SubprocessProtocol.pipe_data_receivedrrcdS)zCalled when a file descriptor associated with the child process is closed. fd is the int file descriptor that was closed. Nr)r r5rs r pipe_connection_lostz'SubprocessProtocol.pipe_connection_lostrrcdS)z"Called when subprocess has exited.Nrrs r process_exitedz!SubprocessProtocol.process_exitedrrN)rrrrrr6r8r:rrr rrsL66I      11111rrc\t|}|r||}t|}|std||kr||d|<||dS|d||d|<||||d}t|}|dSdS)Nz%get_buffer() returned an empty buffer)lenr( RuntimeErrorr+)protor data_lenbufbuf_lens r _feed_data_to_buffered_protorBs4yyH !x((c(( HFGG G h  !C  N   * * * F 'NCM   ) ) )>D4yyH !!!!!rN)r__all__rrrrrrBrrr rDs%%  6 6 6 6 6 6 6 6 r( ( ( ( ( |( ( ( V2 2 2 2 2 |2 2 2 j      |    11111111.!!!!!r