/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__/transports.cpython-311.pyc (15189B)
!A?h)dZdZGddZGddeZGddeZGdd eeZGd d eZGd d eZGddeZdS)zAbstract Transport class.) BaseTransport ReadTransportWriteTransport TransportDatagramTransportSubprocessTransportc>eZdZdZdZd dZd dZdZdZdZ d Z dS) rzBase class for transports._extraNc|i}||_dSNr )selfextras ?/opt/alt/python-internal/lib64/python3.11/asyncio/transports.py__init__zBaseTransport.__init__s =E c8|j||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(eZdZdZdZdZdZdZdS)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.sL--I"""""""""""rrcHeZdZdZdZd dZdZdZdZdZ d Z d Z d Z dS) 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.writelr0rcZd|}||dS)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*rrrrHs..I""""*"""""" """"""""""""""rrceZdZdZdZdS)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(IIIrrc$eZdZdZdZddZdZdS)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*rrrrsB22I"""""""""rrc6eZdZdZdZdZdZdZdZdZ dS) 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*rrrrssI"""""""""""" " " " " " " " "rrcPeZdZdZdZd fd ZdZdZdZd dZ d d Z 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_waterNct||J||_d|_|dS)NF)superrrdre_set_write_buffer_limits)r rloop __class__s rrz_FlowControlMixin.__init__sN  % %%'''''rc6|}||jkrdS|jspd|_ |jdS#t t f$rt$r/}|j d|||jdYd}~dSd}~wwxYwdS)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# # # F$ $(D ! ,,..... 12        11@!$!% $ 33   sA B'$BBc2|jr||jkrrd|_ |jdS#t t f$rt$r/}|j d|||jdYd}~dSd}~wwxYwdSdS)NFz protocol.resume_writing() failedrn) rer:rgrrresume_writingrtrurvrdrw)r rys r_maybe_resume_protocolz(_FlowControlMixin._maybe_resume_protocol's  ! **,,??$)D ! --///// 12        11A!$!% $ 33   ??sAB#$B  Bc|j|jfSr )rgrfrs rr<z)_FlowControlMixin.get_write_buffer_limits7s!122rc| |d}nd|z}||dz}||cxkrdksntd|d|d||_||_dS)Nizhigh (z) must be >= low (z) must be >= 0) ValueErrorrfrgr5s rrjz*_FlowControlMixin._set_write_buffer_limits:s <{ 3w ;!)CsaHHH3HHHJJ J rc\||||dS)N)r6r7)rjrzr5s rr8z)_FlowControlMixin.set_write_buffer_limitsJs3 %%4S%999 ""$$$$$rctr rrs rr:z'_FlowControlMixin.get_write_buffer_sizeNs!!rrL) r%r&r'r(r)rrzr}r<rjr8r: __classcell__)rls@rrcrcs KI(((((($ 333 %%%%"""""""rrcN) r(__all__rrrrrrrcr*rrrsW  """"""""""""""""J"""""M"""4I"I"I"I"I"]I"I"I"X ~0""""" """23"3"3"3"3"-3"3"3"lT"T"T"T"T" T"T"T"T"T"r