/opt/alt/python-internal/lib64/python3.11/asyncio/__pycache__
NameSizeModeActions
base_events.cpython-311.opt-1.pyc911420644editdlrm
base_events.cpython-311.opt-2.pyc826920644editdlrm
base_events.cpython-311.pyc912250644editdlrm
base_futures.cpython-311.opt-1.pyc34080644editdlrm
base_futures.cpython-311.opt-2.pyc31690644editdlrm
base_futures.cpython-311.pyc34080644editdlrm
base_subprocess.cpython-311.opt-1.pyc165480644editdlrm
base_subprocess.cpython-311.opt-2.pyc164550644editdlrm
base_subprocess.cpython-311.pyc167230644editdlrm
base_tasks.cpython-311.opt-1.pyc41960644editdlrm
base_tasks.cpython-311.opt-2.pyc41960644editdlrm
base_tasks.cpython-311.pyc41960644editdlrm
constants.cpython-311.opt-1.pyc9830644editdlrm
constants.cpython-311.opt-2.pyc9830644editdlrm
constants.cpython-311.pyc9830644editdlrm
coroutines.cpython-311.opt-1.pyc39580644editdlrm
coroutines.cpython-311.opt-2.pyc38700644editdlrm
coroutines.cpython-311.pyc40170644editdlrm
events.cpython-311.opt-1.pyc378110644editdlrm
events.cpython-311.opt-2.pyc285060644editdlrm
events.cpython-311.pyc378110644editdlrm
exceptions.cpython-311.opt-1.pyc36630644editdlrm
exceptions.cpython-311.opt-2.pyc29900644editdlrm
exceptions.cpython-311.pyc36630644editdlrm
format_helpers.cpython-311.opt-1.pyc41510644editdlrm
format_helpers.cpython-311.opt-2.pyc39210644editdlrm
format_helpers.cpython-311.pyc41510644editdlrm
futures.cpython-311.opt-1.pyc181190644editdlrm
futures.cpython-311.opt-2.pyc147290644editdlrm
futures.cpython-311.pyc185240644editdlrm
locks.cpython-311.opt-1.pyc292270644editdlrm
locks.cpython-311.opt-2.pyc220260644editdlrm
locks.cpython-311.pyc292270644editdlrm
log.cpython-311.opt-1.pyc3140644editdlrm
log.cpython-311.opt-2.pyc2760644editdlrm
log.cpython-311.pyc3140644editdlrm
mixins.cpython-311.opt-1.pyc12160644editdlrm
mixins.cpython-311.opt-2.pyc11820644editdlrm
mixins.cpython-311.pyc12160644editdlrm
proactor_events.cpython-311.opt-1.pyc471700644editdlrm
proactor_events.cpython-311.opt-2.pyc467740644editdlrm
proactor_events.cpython-311.pyc477610644editdlrm
protocols.cpython-311.opt-1.pyc94650644editdlrm
protocols.cpython-311.opt-2.pyc44550644editdlrm
protocols.cpython-311.pyc94650644editdlrm
queues.cpython-311.opt-1.pyc128460644editdlrm
queues.cpython-311.opt-2.pyc102280644editdlrm
queues.cpython-311.pyc128460644editdlrm
runners.cpython-311.opt-1.pyc102530644editdlrm
runners.cpython-311.opt-2.pyc86460644editdlrm
runners.cpython-311.pyc102530644editdlrm
selector_events.cpython-311.opt-1.pyc641320644editdlrm
selector_events.cpython-311.opt-2.pyc621310644editdlrm
selector_events.cpython-311.pyc642120644editdlrm
sslproto.cpython-311.opt-1.pyc434660644editdlrm
sslproto.cpython-311.opt-2.pyc395250644editdlrm
sslproto.cpython-311.pyc435320644editdlrm
staggered.cpython-311.opt-1.pyc62250644editdlrm
staggered.cpython-311.opt-2.pyc41000644editdlrm
staggered.cpython-311.pyc66560644editdlrm
streams.cpython-311.opt-1.pyc346060644editdlrm
streams.cpython-311.opt-2.pyc288020644editdlrm
streams.cpython-311.pyc350100644editdlrm
subprocess.cpython-311.opt-1.pyc126550644editdlrm
subprocess.cpython-311.opt-2.pyc125330644editdlrm
subprocess.cpython-311.pyc126820644editdlrm
taskgroups.cpython-311.opt-1.pyc80070644editdlrm
taskgroups.cpython-311.opt-2.pyc73240644editdlrm
taskgroups.cpython-311.pyc81110644editdlrm
tasks.cpython-311.opt-1.pyc409350644editdlrm
tasks.cpython-311.opt-2.pyc330180644editdlrm
tasks.cpython-311.pyc410250644editdlrm
threads.cpython-311.opt-1.pyc13130644editdlrm
threads.cpython-311.opt-2.pyc8550644editdlrm
threads.cpython-311.pyc13130644editdlrm
timeouts.cpython-311.opt-1.pyc78480644editdlrm
timeouts.cpython-311.opt-2.pyc62470644editdlrm
timeouts.cpython-311.pyc80100644editdlrm
transports.cpython-311.opt-1.pyc151690644editdlrm
transports.cpython-311.opt-2.pyc98160644editdlrm
transports.cpython-311.pyc151890644editdlrm
trsock.cpython-311.opt-1.pyc54040644editdlrm
trsock.cpython-311.opt-2.pyc51470644editdlrm
trsock.cpython-311.pyc54040644editdlrm
unix_events.cpython-311.opt-1.pyc725810644editdlrm
unix_events.cpython-311.opt-2.pyc674970644editdlrm
unix_events.cpython-311.pyc733440644editdlrm
windows_events.cpython-311.opt-1.pyc470090644editdlrm
windows_events.cpython-311.opt-2.pyc459110644editdlrm
windows_events.cpython-311.pyc470430644editdlrm
windows_utils.cpython-311.opt-1.pyc75900644editdlrm
windows_utils.cpython-311.opt-2.pyc71600644editdlrm
windows_utils.cpython-311.pyc77760644editdlrm
__init__.cpython-311.opt-1.pyc13640644editdlrm
__init__.cpython-311.opt-2.pyc13090644editdlrm
__init__.cpython-311.pyc13640644editdlrm
__main__.cpython-311.opt-1.pyc60350644editdlrm
__main__.cpython-311.opt-2.pyc60350644editdlrm
__main__.cpython-311.pyc60350644editdlrm
Edit: /opt/alt/python-internal/lib64/python3.11/asyncio/__pycache__/protocols.cpython-311.pyc (9465B)
!A?h-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 >/opt/alt/python-internal/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