/usr/lib64/python3.12/asyncio/__pycache__
NameSizeModeActions
base_events.cpython-312.opt-1.pyc866450644editdlrm
base_events.cpython-312.opt-2.pyc772350644editdlrm
base_events.cpython-312.pyc867480644editdlrm
base_futures.cpython-312.opt-1.pyc30880644editdlrm
base_futures.cpython-312.opt-2.pyc28500644editdlrm
base_futures.cpython-312.pyc30880644editdlrm
base_subprocess.cpython-312.opt-1.pyc158750644editdlrm
base_subprocess.cpython-312.opt-2.pyc157820644editdlrm
base_subprocess.cpython-312.pyc160800644editdlrm
base_tasks.cpython-312.opt-1.pyc40800644editdlrm
base_tasks.cpython-312.opt-2.pyc40800644editdlrm
base_tasks.cpython-312.pyc40800644editdlrm
constants.cpython-312.opt-1.pyc9570644editdlrm
constants.cpython-312.opt-2.pyc9570644editdlrm
constants.cpython-312.pyc9570644editdlrm
coroutines.cpython-312.opt-1.pyc37260644editdlrm
coroutines.cpython-312.opt-2.pyc36380644editdlrm
coroutines.cpython-312.pyc37710644editdlrm
events.cpython-312.opt-1.pyc367440644editdlrm
events.cpython-312.opt-2.pyc274670644editdlrm
events.cpython-312.pyc367440644editdlrm
exceptions.cpython-312.opt-1.pyc30830644editdlrm
exceptions.cpython-312.opt-2.pyc24510644editdlrm
exceptions.cpython-312.pyc30830644editdlrm
format_helpers.cpython-312.opt-1.pyc38690644editdlrm
format_helpers.cpython-312.opt-2.pyc36400644editdlrm
format_helpers.cpython-312.pyc38690644editdlrm
futures.cpython-312.opt-1.pyc169480644editdlrm
futures.cpython-312.opt-2.pyc135690644editdlrm
futures.cpython-312.pyc173080644editdlrm
locks.cpython-312.opt-1.pyc274210644editdlrm
locks.cpython-312.opt-2.pyc202530644editdlrm
locks.cpython-312.pyc274210644editdlrm
log.cpython-312.opt-1.pyc2830644editdlrm
log.cpython-312.opt-2.pyc2480644editdlrm
log.cpython-312.pyc2830644editdlrm
mixins.cpython-312.opt-1.pyc10300644editdlrm
mixins.cpython-312.opt-2.pyc9990644editdlrm
mixins.cpython-312.pyc10300644editdlrm
proactor_events.cpython-312.opt-1.pyc440420644editdlrm
proactor_events.cpython-312.opt-2.pyc436660644editdlrm
proactor_events.cpython-312.pyc447480644editdlrm
protocols.cpython-312.opt-1.pyc87840644editdlrm
protocols.cpython-312.opt-2.pyc37710644editdlrm
protocols.cpython-312.pyc87840644editdlrm
queues.cpython-312.opt-1.pyc119430644editdlrm
queues.cpython-312.opt-2.pyc93440644editdlrm
queues.cpython-312.pyc119430644editdlrm
runners.cpython-312.opt-1.pyc99920644editdlrm
runners.cpython-312.opt-2.pyc81060644editdlrm
runners.cpython-312.pyc99920644editdlrm
selector_events.cpython-312.opt-1.pyc631820644editdlrm
selector_events.cpython-312.opt-2.pyc611730644editdlrm
selector_events.cpython-312.pyc633200644editdlrm
sslproto.cpython-312.opt-1.pyc418080644editdlrm
sslproto.cpython-312.opt-2.pyc378670644editdlrm
sslproto.cpython-312.pyc418940644editdlrm
staggered.cpython-312.opt-1.pyc63980644editdlrm
staggered.cpython-312.opt-2.pyc42760644editdlrm
staggered.cpython-312.pyc65500644editdlrm
streams.cpython-312.opt-1.pyc329570644editdlrm
streams.cpython-312.opt-2.pyc271700644editdlrm
streams.cpython-312.pyc333680644editdlrm
subprocess.cpython-312.opt-1.pyc120730644editdlrm
subprocess.cpython-312.opt-2.pyc119540644editdlrm
subprocess.cpython-312.pyc120960644editdlrm
taskgroups.cpython-312.opt-1.pyc83470644editdlrm
taskgroups.cpython-312.opt-2.pyc76700644editdlrm
taskgroups.cpython-312.pyc84440644editdlrm
tasks.cpython-312.opt-1.pyc401860644editdlrm
tasks.cpython-312.opt-2.pyc313850644editdlrm
tasks.cpython-312.pyc403120644editdlrm
threads.cpython-312.opt-1.pyc12600644editdlrm
threads.cpython-312.opt-2.pyc8050644editdlrm
threads.cpython-312.pyc12600644editdlrm
timeouts.cpython-312.opt-1.pyc75890644editdlrm
timeouts.cpython-312.opt-2.pyc59930644editdlrm
timeouts.cpython-312.pyc77990644editdlrm
transports.cpython-312.opt-1.pyc139860644editdlrm
transports.cpython-312.opt-2.pyc86580644editdlrm
transports.cpython-312.pyc140060644editdlrm
trsock.cpython-312.opt-1.pyc50810644editdlrm
trsock.cpython-312.opt-2.pyc48290644editdlrm
trsock.cpython-312.pyc50810644editdlrm
unix_events.cpython-312.opt-1.pyc670430644editdlrm
unix_events.cpython-312.opt-2.pyc619960644editdlrm
unix_events.cpython-312.pyc677300644editdlrm
windows_events.cpython-312.opt-1.pyc414790644editdlrm
windows_events.cpython-312.opt-2.pyc404140644editdlrm
windows_events.cpython-312.pyc415250644editdlrm
windows_utils.cpython-312.opt-1.pyc71790644editdlrm
windows_utils.cpython-312.opt-2.pyc67620644editdlrm
windows_utils.cpython-312.pyc73350644editdlrm
__init__.cpython-312.opt-1.pyc14590644editdlrm
__init__.cpython-312.opt-2.pyc14070644editdlrm
__init__.cpython-312.pyc14590644editdlrm
__main__.cpython-312.opt-1.pyc54570644editdlrm
__main__.cpython-312.opt-2.pyc54570644editdlrm
__main__.cpython-312.pyc54570644editdlrm
Edit: /usr/lib64/python3.12/asyncio/__pycache__/protocols.cpython-312.opt-1.pyc (8784B)
{|j-~dZdZGddZGddeZGddeZGdd eZGd d eZd Zy )zAbstract Protocol base classes.) BaseProtocolProtocolDatagramProtocolSubprocessProtocolBufferedProtocolc,eZdZdZdZdZdZdZdZy)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 cy)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 */usr/lib64/python3.12/asyncio/protocols.pyconnection_madezBaseProtocol.connection_madecy)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_lostrrcy)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%rrcy)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 s"I   , rrc eZdZdZdZdZdZy)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() rcy)zTCalled when some data is received. The argument is a bytes object. Nr)r datas r data_receivedzProtocol.data_received^rrcyzCalled 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 rrBs2I  rrc&eZdZdZdZdZdZdZy)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() rcy)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_bufferrrcy)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_updatedrrcyr#rrs r r$zBufferedProtocol.eof_receivedrrN)rrrrrr(r+r$rrr rrms.I    rrc eZdZdZdZdZdZy)rz Interface for datagram protocol.rcy)z&Called when some datagram is received.Nr)r r addrs r datagram_receivedz"DatagramProtocol.datagram_receivedrrcy)z~Called when a send or receive operation raises an OSError. (Other than BlockingIOError or InterruptedError.) Nrrs r error_receivedzDatagramProtocol.error_receivedrrN)rrrrrr0r2rrr rrs*I5 rrc&eZdZdZdZdZdZdZy)rz,Interface for protocol for subprocess calls.rcy)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_receivedrrcy)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_lostrrcy)z"Called when subprocess has exited.Nrrs r process_exitedz!SubprocessProtocol.process_exitedrrN)rrrrrr6r8r:rrr rrs6I  1rrct|}|rr|j|}t|}|s td||k\r||d||j|y|d||d||j|||d}t|}|rqyy)Nz%get_buffer() returned an empty buffer)lenr( RuntimeErrorr+)protor data_lenbufbuf_lens r _feed_data_to_buffered_protorBs4yH x(c(FG G h !C N   *  'NCM   )>D4yH rN)r__all__rrrrrrBrrr rDsQ%  6 6 r( |( V2 |2 j  |  11.!r