/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__/transports.cpython-312.pyc (14006B)
{|j)dZdZGddZGddeZGddeZGdd eeZGd d eZGd d eZGddeZy)zAbstract Transport class.) BaseTransport ReadTransportWriteTransport TransportDatagramTransportSubprocessTransportc<eZdZdZdZd dZd dZdZdZdZ d Z y) rzBase class for transports._extraNc|i}||_yNr )selfextras +/usr/lib64/python3.12/asyncio/transports.py__init__zBaseTransport.__init__s =E c:|jj||S)z#Get optional transport information.)r get)r namedefaults rget_extra_infozBaseTransport.get_extra_infos{{tW--rct)z2Return True if the transport is closing or closed.NotImplementedErrorr s r is_closingzBaseTransport.is_closing!!rct)aClose the transport. Buffered data will be flushed asynchronously. No more data will be received. After all buffered data is flushed, the protocol's connection_lost() method will (eventually) be called with None as its argument. rrs rclosezBaseTransport.close "!rct)zSet a new protocol.r)r protocols r set_protocolzBaseTransport.set_protocol%rrct)zReturn the current protocol.rrs r get_protocolzBaseTransport.get_protocol)rrr ) __name__ __module__ __qualname____doc__ __slots__rrrrr"r$rrrr s($I .""""rrc&eZdZdZdZdZdZdZy)rz#Interface for read-only transports.r*ct)z*Return True if the transport is receiving.rrs r is_readingzReadTransport.is_reading3rrct)zPause the receiving end. No data will be passed to the protocol's data_received() method until resume_reading() is called. rrs r pause_readingzReadTransport.pause_reading7 "!rct)zResume the receiving end. Data received will once again be passed to the protocol's data_received() method. rrs rresume_readingzReadTransport.resume_reading?r0rN)r%r&r'r(r)r-r/r2r*rrrr.s-I"""rrcFeZdZdZdZd dZdZdZdZdZ d Z d Z d Z y) rz$Interface for write-only transports.r*Nct)aSet the high- and low-water limits for write flow control. These two values control when to call the protocol's pause_writing() and resume_writing() methods. If specified, the low-water limit must be less than or equal to the high-water limit. Neither value can be negative. The defaults are implementation-specific. If only the high-water limit is given, the low-water limit defaults to an implementation-specific value less than or equal to the high-water limit. Setting high to zero forces low to zero as well, and causes pause_writing() to be called whenever the buffer becomes non-empty. Setting low to zero causes resume_writing() to be called only once the buffer is empty. Use of zero for either limit is generally sub-optimal as it reduces opportunities for doing I/O and computation concurrently. rr highlows rset_write_buffer_limitsz&WriteTransport.set_write_buffer_limitsMs &"!rct)z,Return the current size of the write buffer.rrs rget_write_buffer_sizez$WriteTransport.get_write_buffer_sizebrrct)zGet the high and low watermarks for write flow control. Return a tuple (low, high) where low and high are positive number of bytes.rrs rget_write_buffer_limitsz&WriteTransport.get_write_buffer_limitsfs "!rct)zWrite some data bytes to the transport. This does not block; it buffers the data and arranges for it to be sent out asynchronously. r)r datas rwritezWriteTransport.writelr0rcHdj|}|j|y)zWrite a list (or any iterable) of data bytes to the transport. The default implementation concatenates the arguments and calls write() on the result. rN)joinr?)r list_of_datar>s r writelineszWriteTransport.writelinests xx % 4rct)zClose the write end after flushing buffered data. (This is like typing ^D into a UNIX program reading from stdin.) Data may still be received. rrs r write_eofzWriteTransport.write_eof} "!rct)zAReturn True if this transport supports write_eof(), False if not.rrs r can_write_eofzWriteTransport.can_write_eofrrctzClose the transport immediately. Buffered data will be lost. No more data will be received. The protocol's connection_lost() method will (eventually) be called with None as its argument. rrs rabortzWriteTransport.abortrFrNN) r%r&r'r(r)r8r:r<r?rCrErHrKr*rrrrHs2.I"*"" """"rrceZdZdZdZy)raSInterface representing a bidirectional transport. There may be several implementations, but typically, the user does not implement new transports; rather, the platform provides some useful transports that are implemented using the platform's best practices. The user never instantiates a transport directly; they call a utility function, passing it a protocol factory and other information necessary to create the transport and protocol. (E.g. EventLoop.create_connection() or EventLoop.create_server().) The utility function will asynchronously create a transport and a protocol and hook them up by calling the protocol's connection_made() method, passing it the transport. The implementation here raises NotImplemented for every method except writelines(), which calls write() in a loop. r*N)r%r&r'r(r)r*rrrrs(Irrc"eZdZdZdZddZdZy)rz(Interface for datagram (UDP) transports.r*Nct)aSend data to the transport. This does not block; it buffers the data and arranges for it to be sent out asynchronously. addr is target socket address. If addr is None use target address pointed on transport creation. r)r r>addrs rsendtozDatagramTransport.sendtorrctrJrrs rrKzDatagramTransport.abortrFrr )r%r&r'r(r)rQrKr*rrrrs2I""rrc4eZdZdZdZdZdZdZdZdZ y) rr*ct)zGet subprocess id.rrs rget_pidzSubprocessTransport.get_pidrrct)zGet subprocess returncode. See also http://docs.python.org/3/library/subprocess#subprocess.Popen.returncode rrs rget_returncodez"SubprocessTransport.get_returncoder0rct)z&Get transport for pipe with number fd.r)r fds rget_pipe_transportz&SubprocessTransport.get_pipe_transportrrct)zSend signal to subprocess. See also: docs.python.org/3/library/subprocess#subprocess.Popen.send_signal r)r signals r send_signalzSubprocessTransport.send_signalr0rct)aLStop the subprocess. Alias for close() method. On Posix OSs the method sends SIGTERM to the subprocess. On Windows the Win32 API function TerminateProcess() is called to stop the subprocess. See also: http://docs.python.org/3/library/subprocess#subprocess.Popen.terminate rrs r terminatezSubprocessTransport.terminates "!rct)zKill the subprocess. On Posix OSs the function sends SIGKILL to the subprocess. On Windows kill() is an alias for terminate(). See also: http://docs.python.org/3/library/subprocess#subprocess.Popen.kill rrs rkillzSubprocessTransport.kills "!rN) r%r&r'r)rUrWrZr]r_rar*rrrrs%I"""" " "rrcPeZdZdZdZd fd ZdZdZdZd dZ d dZ d Z xZ S) _FlowControlMixinavAll the logic for (write) flow control in a mix-in base class. The subclass must implement get_write_buffer_size(). It must call _maybe_pause_protocol() whenever the write buffer size increases, and _maybe_resume_protocol() whenever it decreases. It may also override set_write_buffer_limits() (e.g. to specify different defaults). The subclass constructor must call super().__init__(extra). This will call set_write_buffer_limits(). The user may call set_write_buffer_limits() and get_write_buffer_size(), and their protocol's pause_writing() and resume_writing() may be called. )_loop_protocol_paused _high_water _low_watercht|||J||_d|_|j y)NF)superrrdre_set_write_buffer_limits)r rloop __class__s rrz_FlowControlMixin.__init__s7  % %%'rc@|j}||jkry|js#d|_ |jj yy#t t f$rt$r4}|jjd|||jdYd}~yd}~wwxYw)NTzprotocol.pause_writing() failedmessage exception transportr!) r:rfre _protocol pause_writing SystemExitKeyboardInterrupt BaseExceptionrdcall_exception_handler)r sizeexcs r_maybe_pause_protocolz'_FlowControlMixin._maybe_pause_protocols))+ 4## # $$$(D ! ,,.% 12    11@!$!% $ 3 sAB)*BBc<|jrA|j|jkr#d|_ |jj yyy#t t f$rt$r4}|jjd|||jdYd}~yd}~wwxYw)NFz protocol.resume_writing() failedrn) rer:rgrrresume_writingrtrurvrdrw)r rys r_maybe_resume_protocolz(_FlowControlMixin._maybe_resume_protocol's  ! !**,?$)D ! --/@ "  12    11A!$!% $ 3 sAB'*BBc2|j|jfSr )rgrfrs rr<z)_FlowControlMixin.get_write_buffer_limits7s!1!122rc| |d}nd|z}||dz}||cxk\rdk\sntd|d|d||_||_y)Nizhigh (z) must be >= low (z) must be >= 0) ValueErrorrfrgr5s rrjz*_FlowControlMixin._set_write_buffer_limits:sh <{ 3w ;!)Csa 23'HJ J rcJ|j|||jy)N)r6r7)rjrzr5s rr8z)_FlowControlMixin.set_write_buffer_limitsJs! %%4S%9 ""$rctr rrs rr:z'_FlowControlMixin.get_write_buffer_sizeNs!!rrL) r%r&r'r(r)rrzr}r<rjr8r: __classcell__)rls@rrcrcs3 KI($ 3 %"rrcN) r(__all__rrrrrrrcr*rrrsj  """"J"M"4I"]I"X ~0" "23"-3"lT" T"r