/opt/imh/python3.13/lib/python3.13/__pycache__
NameSizeModeActions
abc.cpython-313.pyc79280644editdlrm
antigravity.cpython-313.pyc10000644editdlrm
argparse.cpython-313.pyc1040800644editdlrm
ast.cpython-313.pyc1030860644editdlrm
base64.cpython-313.pyc258320644editdlrm
bdb.cpython-313.pyc405800644editdlrm
bisect.cpython-313.pyc35120644editdlrm
bz2.cpython-313.pyc151800644editdlrm
calendar.cpython-313.pyc397080644editdlrm
cmd.cpython-313.pyc189770644editdlrm
code.cpython-313.pyc157990644editdlrm
codecs.cpython-313.pyc405720644editdlrm
codeop.cpython-313.pyc66550644editdlrm
colorsys.cpython-313.pyc45190644editdlrm
compileall.cpython-313.pyc206150644editdlrm
configparser.cpython-313.pyc689660644editdlrm
contextlib.cpython-313.pyc305090644editdlrm
contextvars.cpython-313.pyc2760644editdlrm
copy.cpython-313.pyc106450644editdlrm
copyreg.cpython-313.pyc75510644editdlrm
cProfile.cpython-313.pyc86790644editdlrm
csv.cpython-313.pyc207150644editdlrm
dataclasses.cpython-313.pyc478390644editdlrm
datetime.cpython-313.pyc4260644editdlrm
decimal.cpython-313.pyc30170644editdlrm
difflib.cpython-313.pyc720550644editdlrm
dis.cpython-313.pyc475320644editdlrm
doctest.cpython-313.pyc1076920644editdlrm
enum.cpython-313.pyc858660644editdlrm
filecmp.cpython-313.pyc150420644editdlrm
fileinput.cpython-313.pyc206480644editdlrm
fnmatch.cpython-313.pyc68190644editdlrm
fractions.cpython-313.pyc383840644editdlrm
ftplib.cpython-313.pyc423460644editdlrm
functools.cpython-313.pyc422860644editdlrm
genericpath.cpython-313.pyc78260644editdlrm
getopt.cpython-313.pyc84790644editdlrm
getpass.cpython-313.pyc73260644editdlrm
gettext.cpython-313.pyc225760644editdlrm
glob.cpython-313.pyc236810644editdlrm
graphlib.cpython-313.pyc102120644editdlrm
gzip.cpython-313.pyc319930644editdlrm
hashlib.cpython-313.pyc82910644editdlrm
heapq.cpython-313.pyc177850644editdlrm
hmac.cpython-313.pyc106750644editdlrm
imaplib.cpython-313.pyc626620644editdlrm
inspect.cpython-313.pyc1365370644editdlrm
io.cpython-313.pyc42900644editdlrm
ipaddress.cpython-313.pyc919790644editdlrm
keyword.cpython-313.pyc10560644editdlrm
linecache.cpython-313.pyc85670644editdlrm
locale.cpython-313.pyc590140644editdlrm
lzma.cpython-313.pyc157330644editdlrm
mailbox.cpython-313.pyc1187480644editdlrm
mimetypes.cpython-313.pyc249130644editdlrm
modulefinder.cpython-313.pyc284070644editdlrm
netrc.cpython-313.pyc93410644editdlrm
ntpath.cpython-313.pyc284840644editdlrm
nturl2path.cpython-313.pyc27520644editdlrm
numbers.cpython-313.pyc140470644editdlrm
opcode.cpython-313.pyc40770644editdlrm
operator.cpython-313.pyc173800644editdlrm
optparse.cpython-313.pyc675940644editdlrm
os.cpython-313.pyc458640644editdlrm
pdb.cpython-313.pyc1061180644editdlrm
pickle.cpython-313.pyc784190644editdlrm
pickletools.cpython-313.pyc804420644editdlrm
pkgutil.cpython-313.pyc199740644editdlrm
platform.cpython-313.pyc446900644editdlrm
plistlib.cpython-313.pyc431130644editdlrm
poplib.cpython-313.pyc184400644editdlrm
posixpath.cpython-313.pyc181150644editdlrm
pprint.cpython-313.pyc297130644editdlrm
profile.cpython-313.pyc225780644editdlrm
pstats.cpython-313.pyc378720644editdlrm
pty.cpython-313.pyc74200644editdlrm
pyclbr.cpython-313.pyc151590644editdlrm
pydoc.cpython-313.pyc1397200644editdlrm
py_compile.cpython-313.pyc100840644editdlrm
queue.cpython-313.pyc173480644editdlrm
quopri.cpython-313.pyc95750644editdlrm
random.cpython-313.pyc352710644editdlrm
reprlib.cpython-313.pyc111750644editdlrm
rlcompleter.cpython-313.pyc85870644editdlrm
runpy.cpython-313.pyc144060644editdlrm
sched.cpython-313.pyc76120644editdlrm
secrets.cpython-313.pyc25190644editdlrm
selectors.cpython-313.pyc263700644editdlrm
shelve.cpython-313.pyc133060644editdlrm
shlex.cpython-313.pyc148670644editdlrm
shutil.cpython-313.pyc674670644editdlrm
signal.cpython-313.pyc45590644editdlrm
site.cpython-313.pyc316620644editdlrm
smtplib.cpython-313.pyc473750644editdlrm
socket.cpython-313.pyc422340644editdlrm
socketserver.cpython-313.pyc346670644editdlrm
sre_compile.cpython-313.pyc6420644editdlrm
sre_constants.cpython-313.pyc6450644editdlrm
sre_parse.cpython-313.pyc6380644editdlrm
ssl.cpython-313.pyc652190644editdlrm
stat.cpython-313.pyc55380644editdlrm
statistics.cpython-313.pyc711130644editdlrm
string.cpython-313.pyc116660644editdlrm
stringprep.cpython-313.pyc252750644editdlrm
struct.cpython-313.pyc3400644editdlrm
subprocess.cpython-313.pyc819690644editdlrm
symtable.cpython-313.pyc232110644editdlrm
tabnanny.cpython-313.pyc124320644editdlrm
tarfile.cpython-313.pyc1258450644editdlrm
tempfile.cpython-313.pyc410080644editdlrm
textwrap.cpython-313.pyc179490644editdlrm
this.cpython-313.pyc14270644editdlrm
threading.cpython-313.pyc633120644editdlrm
timeit.cpython-313.pyc146530644editdlrm
token.cpython-313.pyc35880644editdlrm
tokenize.cpython-313.pyc254490644editdlrm
trace.cpython-313.pyc339780644editdlrm
traceback.cpython-313.pyc721390644editdlrm
tracemalloc.cpython-313.pyc274280644editdlrm
tty.cpython-313.pyc26790644editdlrm
turtle.cpython-313.pyc1751510644editdlrm
types.cpython-313.pyc155600644editdlrm
typing.cpython-313.pyc1545970644editdlrm
uuid.cpython-313.pyc323970644editdlrm
warnings.cpython-313.pyc295530644editdlrm
wave.cpython-313.pyc332520644editdlrm
weakref.cpython-313.pyc318180644editdlrm
webbrowser.cpython-313.pyc269010644editdlrm
zipapp.cpython-313.pyc104090644editdlrm
zipimport.cpython-313.pyc265220644editdlrm
_aix_support.cpython-313.pyc47320644editdlrm
_android_support.cpython-313.pyc76370644editdlrm
_apple_support.cpython-313.pyc34970644editdlrm
_collections_abc.cpython-313.pyc467080644editdlrm
_colorize.cpython-313.pyc40260644editdlrm
_compat_pickle.cpython-313.pyc72070644editdlrm
_compression.cpython-313.pyc78200644editdlrm
_ios_support.cpython-313.pyc27310644editdlrm
_markupbase.cpython-313.pyc124480644editdlrm
_opcode_metadata.cpython-313.pyc106930644editdlrm
_osx_support.cpython-313.pyc181420644editdlrm
_pydatetime.cpython-313.pyc945900644editdlrm
_pydecimal.cpython-313.pyc2170580644editdlrm
_pyio.cpython-313.pyc1117930644editdlrm
_pylong.cpython-313.pyc111730644editdlrm
_py_abc.cpython-313.pyc72070644editdlrm
_sitebuiltins.cpython-313.pyc49170644editdlrm
_strptime.cpython-313.pyc345000644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-313.pyc585830644editdlrm
_threading_local.cpython-313.pyc55380644editdlrm
_weakrefset.cpython-313.pyc120640644editdlrm
__future__.cpython-313.pyc47370644editdlrm
__hello__.cpython-313.pyc9810644editdlrm
Edit: /opt/imh/python3.13/lib/python3.13/__pycache__/selectors.cpython-313.pyc (26370B)
eLSrSSKJrJr SSKJr SSKJr SSKrSSK r SSK r Sr Sr Sr \"S /S Q5rS \lS \RlS \R lS\R"lS\R$l"SS\5r"SS\S9r"SS\5r"SS\5r"SS\5r\"\ S5(a "SS\5r\"\ S5(a%\ R4)r\ R8)r"SS \5r\"\ S!5(a "S"S#\5r\"\ S$5(a "S%S&\5r S'r!\!"S$5(a\ r"g\!"S5(a\r"g\!"S!5(a\r"g\!"S5(a\r"g\r"g)(z|Selectors module. This module allows high-level and efficient I/O multiplexing, built upon the `select` module primitives. )ABCMetaabstractmethod) namedtuple)MappingNc[U[5(aUnO[UR55nUS:a[ SR U55eU$![[[ 4a [ SR U55Sef=f)zReturn a file descriptor from a file object. Parameters: fileobj -- file object or file descriptor Returns: corresponding file descriptor Raises: ValueError if the object is invalid zInvalid file object: {!r}NrzInvalid file descriptor: {}) isinstanceintfilenoAttributeError TypeError ValueErrorformat)fileobjfds //opt/imh/python3.13/lib/python3.13/selectors.py_fileobj_to_fdrs'3  ?W^^%&B Av6==bABB I  :6 ?$$*F7O5:> ? ?s A1B SelectorKey)rreventsdatazSelectorKey(fileobj, fd, events, data) Object used to associate a file object to its backing file descriptor, selected event mask, and attached data. zFile object registered.zUnderlying file descriptor.z3Events that must be waited for on this file object.zvOptional opaque data associated to this file object. For example, this could be used to store a per-client session ID.c:\rSrSrSrSrSrS SjrSrSr S r g) _SelectorMapping<z)Mapping of file objects to selector keys.cXlgN _selector)selfselectors r__init___SelectorMapping.__init__?s!c@[URR5$r)lenr _fd_to_keyrs r__len___SelectorMapping.__len__Bs4>>,,--r#NcURRU5nURRRX25$r)r_fileobj_lookupr&get)rrdefaultrs rr,_SelectorMapping.getEs1 ^^ + +G 4~~((,,R99r#cURRU5nURRRU5nUc[ SR U55eU$N{!r} is not registered)rr+r&r,KeyErrorr)rrrkeys r __getitem___SelectorMapping.__getitem__IsQ ^^ + +G 4nn''++B/ ;3::7CD D r#c@[URR5$r)iterrr&r's r__iter___SelectorMapping.__iter__PsDNN--..r#rr) __name__ __module__ __qualname____firstlineno____doc__r!r(r,r4r8__static_attributes__r#rrr<s3".:/r#rc\rSrSrSr\SSj5r\S5rSSjr\SSj5r Sr S r \S 5r S r S rS rg) BaseSelectorTa Selector abstract base class. A selector supports registering file objects to be monitored for specific I/O events. A file object is a file descriptor or any object with a `fileno()` method. An arbitrary object can be attached to the file object, which can be used for example to store context information, a callback, etc. A selector can use various implementations (select(), poll(), epoll()...) depending on the platform. The default `Selector` class uses the most efficient implementation on the current platform. Nc[e)aRegister a file object. Parameters: fileobj -- file object or file descriptor events -- events to monitor (bitwise mask of EVENT_READ|EVENT_WRITE) data -- attached data Returns: SelectorKey instance Raises: ValueError if events is invalid KeyError if fileobj is already registered OSError if fileobj is closed or otherwise is unacceptable to the underlying system call (if a system call is made) Note: OSError may or may not be raised NotImplementedErrorrrrrs rregisterBaseSelector.registercs *"!r#c[e)aUnregister a file object. Parameters: fileobj -- file object or file descriptor Returns: SelectorKey instance Raises: KeyError if fileobj is not registered Note: If fileobj is registered but has since been closed this does *not* raise OSError (even if the wrapped syscall does) rE)rrs r unregisterBaseSelector.unregisterz ""!r#cHURU5 URXU5$)a1Change a registered file object monitored events or attached data. Parameters: fileobj -- file object or file descriptor events -- events to monitor (bitwise mask of EVENT_READ|EVENT_WRITE) data -- attached data Returns: SelectorKey instance Raises: Anything that unregister() or register() raises )rKrHrGs rmodifyBaseSelector.modifys!  }}Wd33r#c[e)aPerform the actual selection, until some monitored file objects are ready or a timeout expires. Parameters: timeout -- if timeout > 0, this specifies the maximum wait time, in seconds if timeout <= 0, the select() call won't block, and will report the currently ready file objects if timeout is None, select() will block until a monitored file object becomes ready Returns: list of (key, events) for ready file objects `events` is a bitwise mask of EVENT_READ|EVENT_WRITE rE)rtimeouts rselectBaseSelector.selectrMr#cg)z]Close the selector. This must be called to make sure that any underlying resource is freed. Nr@r's rcloseBaseSelector.closes r#cUR5nUc [S5eX!$![a [SRU55Sef=f)zbReturn the key associated to a registered file object. Returns: SelectorKey for this file object NzSelector is closedr1)get_map RuntimeErrorr2r)rrmappings rget_keyBaseSelector.get_keysY ,,. ?34 4 O# # O3::7CD$ N Os $&A c[e)z2Return a mapping of file objects to selector keys.rEr's rrYBaseSelector.get_maps "!r#cU$rr@r's r __enter__BaseSelector.__enter__s r#c$UR5 gr)rV)rargss r__exit__BaseSelector.__exit__s  r#r@r)r:r;r<r=r>rrHrKrOrSrVr\rYrarer?r@r#rrBrBTsq "",""$4"""$  O""r#rB) metaclasscJ\rSrSrSrSrSrS SjrSrS Sjr S r S r S r g) _BaseSelectorImplzBase selector implementation.c20Ul[U5Ulgr)r&r_mapr's rr!_BaseSelectorImpl.__init__s$T* r#c[U5$![aB URR5H"nURULdMUR s s$ ef=f)a<Return a file descriptor from a file object. This wraps _fileobj_to_fd() to do an exhaustive search in case the object is invalid but we still have it in our map. This is used by unregister() so we can unregister an object that was previously registered even if it is closed. It is also used by _SelectorMapping. )rrr&valuesrrrrr3s rr+!_BaseSelectorImpl._fileobj_lookupsR !'* * --/;;')66M0   s 4AAANcVU(aU[[-)-(a[SRU55e[ XR U5X#5nUR UR;a$[SRXR 55eX@RUR 'U$)NzInvalid events: {!r}z"{!r} (FD {}) is already registered) EVENT_READ EVENT_WRITErrrr+rr&r2rrrrr3s rrH_BaseSelectorImpl.registersFzK'?%@@3::6BC C'#7#7#@&O 66T__ $?"F7FF35 5#& r#cURRURU55nU$![a [SR U55Sef=fr0)r&popr+r2rrps rrK_BaseSelectorImpl.unregistersZ O//%%d&:&:7&CDC  O3::7CD$ N Os *.&AcjURURU5nX$R:wa%UR U5 UR XU5nU$X4R:wa'URUS9nX@RUR'U$![a [SRU55Sef=f)Nr1)r) r&r+r2rrrKrHr_replacerrus rrO_BaseSelectorImpl.modifys O//$"6"6w"?@C ZZ  OOG $--6C  XX ,,D,)C&)OOCFF #  O3::7CD$ N Os B &B2cFURR5 SUlgr)r&clearrlr's rrV_BaseSelectorImpl.closes  r#cUR$r)rlr's rrY_BaseSelectorImpl.get_maps yyr#)r&rlr) r:r;r<r=r>r!r+rHrKrOrVrYr?r@r#rriris('+ &  r#ric^\rSrSrSrU4SjrS U4SjjrU4Sjr\RS:XaS Sjr O \ Rr S Sjr S r U=r $) SelectSelectorizSelect-based selector.c^>[TU]5 [5Ul[5Ulgr)superr!set_readers_writersr __class__s rr!SelectSelector.__init__s    r#c>[TU]XU5nU[-(a%URR UR 5 U[ -(a%URR UR 5 U$r)rrHrsraddrrtr)rrrrr3rs rrHSelectSelector.register!sUgw5 J  MM  cff % K  MM  cff % r#c>[TU]U5nURRUR5 UR RUR5 U$r)rrKrdiscardrrrrr3rs rrKSelectSelector.unregister)sCg ) cff% cff% r#win32cD[R"XX$5upnXU-/4$r)rS)rrw_rRxs r_selectSelectSelector._select0s$mmA!5GA!!eR< r#cUcSO [US5n/nURURUR/U5up4n[ U5n[ U5nX4-nUR RnUHVnU"U5n U (dMX;=(a [X;=(a [-n URXU R-45 MX U$![a Us$f=fNr) maxrrrInterruptedError frozensetr&r,rsrtappendr) rrRreadyrrrrw fd_to_key_getrr3rs rrSSelectSelector.select6s!/$s7A ll4==$--WMGA! aL aL U++ B#Cs71zW46 cCJJ#678     L s+C CC)rrr)r:r;r<r=r>r!rHrKsysplatformrrSr? __classcell__rs@rrrs=    ||w --r#rcn^\rSrSrSrSrSrSrU4SjrS U4Sjjr U4Sjr S U4Sjjr S Sjr S r U=r$) _PollLikeSelectoriJz[TU]5 UR5Ulgr)rr! _selector_clsrrs rr!_PollLikeSelector.__init__Ps ++-r#c>[TU]XU5nU[-=(a URU[-=(a UR -nUR RURU5 U$! [TU]!U5 e=fr) rrHrs _EVENT_READrt _EVENT_WRITErrrK)rrrrr3 poller_eventsrs rrH_PollLikeSelector.registerTs}gw5 :-B$2B2B"[0FT5F5FH   NN # #CFFM :   G w ' s &A44Bc>[TU]U5nURRUR5 U$![a U$f=fr)rrKrrOSErrorrs rrK_PollLikeSelector.unregister_sOg )  NN % %cff -      s%9 AAc>URURU5nSnX$R:wabU[-=(a UR U[ -=(a UR-nURRURU5 SnX4R:waSnU(a'URX#S9nX@RUR'U$![a [U<S35Sef=f! [TU]1U5 e=f)Nz is not registeredFT)rr)r&r+r2rrsrrtrrrOrrrKrr{)rrrrr3changedselector_eventsrs rrO_PollLikeSelector.modifyis G//$"6"6w"?@C ZZ  & 3 H8H8H"(;"6"L4;L;L NO %%cffo>G 88 G ,,f,8C&)OOCFF # ' Gg[(:;<$ F G "7+sC,&C3C03DcUcSnO"US::aSnO[R"US-5n/nURRU5nUR R nUHnupVU"U5nU(dMX`R)-=(a [X`R)-=(a [-nURXxUR-45 Mp U$![a Us$f=f)Nr@@) mathceilrpollrr&r,rrtrrsrr) rrRr fd_event_listrreventr3rs rrS_PollLikeSelector.selects ?G \Gii# .G  NN//8M++ &IB#Cs $4$4#44D#'8'8&88GZI cCJJ#678 '    L sC C"!C"rr)r:r;r<r=r>rrrr!rHrKrOrSr?rrs@rrrJs3FMKL. 0r#rrc`\rSrSrSr\R r\Rr \Rr Sr g) PollSelectorizPoll-based selector.r@N) r:r;r<r=r>rSrrPOLLINrPOLLOUTrr?r@r#rrrs " mm ~~ r#repollc^\rSrSrSr\R r\Rr \Rr Sr SSjrU4Sjr SrU=r$) EpollSelectorizEpoll-based selector.c6URR5$rrr r's rr EpollSelector.fileno>>((* *r#cUcSnO%US::aSnO[R"US-5S-n[UR5=(d Sn/nURR X5nURnUHkupgURU5nU(dMU[-=(a [U[-=(a [-n URXUR-45 Mm U$![ a Us$f=f)NrrgMbP?r)rrr%r&rrrr, _NOT_EPOLLINrt _NOT_EPOLLOUTrsrr) rrRmax_evrr fd_to_keyrrr3rs rrSEpollSelector.selectsA))GcM2T9 ).QFE  $ 3 3G D I* mmB'3$|3C !&!6!E:GFLL# ':!;< + L$   s C'' C65C6cV>URR5 [TU]5 grrrVrrs rrVEpollSelector.close NN " GMOr#r@r)r:r;r<r=r>rSrrEPOLLINrEPOLLOUTrr rVr?rrs@rrrs5# nn   + <  r#rdevpollcz^\rSrSrSr\R r\Rr \Rr Sr U4Sjr SrU=r$)DevpollSelectorizSolaris /dev/poll selector.c6URR5$rrr's rr DevpollSelector.filenorr#cV>URR5 [TU]5 grrrs rrVDevpollSelector.closerr#r@)r:r;r<r=r>rSrrrrrrr rVr?rrs@rrrs0) mm ~~  +  r#rkqueuecd^\rSrSrSrU4SjrSrS U4SjjrU4SjrS Sjr U4Sjr S r U=r $) KqueueSelectorizKqueue-based selector.cd>[TU]5 [R"5UlSUlgr)rr!rSrr _max_eventsrs rr!KqueueSelector.__init__s# G  #]]_DN D r#c6URR5$rrr's rr KqueueSelector.filenorr#cP>[TU]XU5nU[-(aq[R"UR [R [R5nURRU/SS5 U=RS- sl U[-(aq[R"UR [R[R5nURRU/SS5 U=RS- sl U$! [TU]5U5 e=fNrr)rrHrsrSkeventrKQ_FILTER_READ KQ_EV_ADDrcontrolrrtKQ_FILTER_WRITErK)rrrrr3kevrs rrHKqueueSelector.registers'"7D9C J& --0E0E(.(8(8:CNN**C5!Q7$$)$K' --0F0F(.(8(8:CNN**C5!Q7$$)$J "7+s C>DD%c>[TU]U5nUR[-(ar[R "UR [R[R5nU=RS-sl URRU/SS5 UR[-(at[R "UR [R[R5nU=RS-sl URRU/SS5 U$U$![a Nf=f![a U$f=f)Nrr)rrKrrsrSrrr KQ_EV_DELETErrrrrtr)rrr3rrs rrKKqueueSelector.unregisters '$W-CzzJ&mmCFFF,A,A$*$7$79  A% NN**C5!Q7 zzK'mmCFFF,B,B$*$7$79  A% NN**C5!Q7J3JJs$=D)D9) D65D69 EEcUcSO [US5nUR=(d Sn/nURRSX!5nUR R nUHnURnURnU"U5n U (dM,U[R:H=(a [U[R:H=(a [-n URXU R-45 M U$![a Us$f=fr)rrrrrr&r,identfilterrSrrsrrtrr) rrRrrkev_listrrrflagr3rs rrSKqueueSelector.selects%od3w?G%%*FE >>11$H!OO//MYYzz#B'3#v'<'<<K!%)?)?!?!OKQFLL# ':!;< L$   sC00 C?>C?cV>URR5 [TU]5 grrrs rrVKqueueSelector.close3rr#)rrr) r:r;r<r=r>r!r rHrKrSrVr?rrs@rrrs)$ !  + $ . .  r#rc[[US5nUcgU"5nUS:XaURS5 gUR5 g![a gf=f)zFCheck if we can use the selector depending upon the operating system. NFrrT)getattrrSrrVr)methodr selector_objs r_can_user8sevvt,H z V    a      sAA AA)#r>abcrr collectionsrcollections.abcrrrSrrsrtrrrrrrrrBrirrhasattrrrrrrrrrrDefaultSelectorr@r#rrs("#   2(KL   8 6 R E /w/0{W{|C CN.&.bO)Od 66&(& 67NN?L__$M)))X 69 +  68M*M`4 H$O g#O i%O f"O$Or#