grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026ó „¦‚¹ RX\ãóú•SrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrS/r "SS5r Sr SSK r \ R"\ "5R5 \R"S5 Srg!\a Srgf=f) a1Word completion for GNU readline. The completer completes keywords, built-ins and globals in a selectable namespace (which defaults to __main__); when completing NAME.NAME..., it evaluates (!) the expression up to the last dot and completes its attributes. It's very cool to do "import sys" type "sys.", hit the completion key (twice), and see the list of names defined by the sys module! Tip: to use the tab key as the completion key, call readline.parse_and_bind("tab: complete") Notes: - Exceptions raised by the completer function are *ignored* (and generally cause the completion to fail). This is a feature -- since readline sets the tty device in raw (or cbreak) mode, printing a traceback wouldn't work well without some complicated hoopla to save, reset and restore the tty state. - The evaluation of the NAME.NAME... form may cause arbitrary application defined code to be executed if an object with a __getattr__ hook is found. Since it is the responsibility of the application (or the user) to enable this feature, I consider this an acceptable risk. More complicated expressions (e.g. function calls or indexing operations) are *not* evaluated. - When the original stdin is not a tty device, GNU readline is never used, and this module (and the readline module) are silently inactive. éNÚ Completercó6•\rSrSrS SjrSrSrSrSrSr g) ré+Ncó‚•U(a [U[5(d [S5eUcSUlgSUlXlg)a¡Create a new completer for the command line. Completer([namespace]) -> completer instance. If unspecified, the default namespace where completions are performed is __main__ (technically, __main__.__dict__). Namespaces should be given as dictionaries. Completer instances should be used as the completion mechanism of readline via the set_completer() call: readline.set_completer(Completer(my_namespace).complete) znamespace must be a dictionaryNér)Ú isinstanceÚdictÚ TypeErrorÚ use_main_nsÚ namespace)Úselfr s Ú2/opt/alt/python313/lib64/python3.13/rlcompleter.pyÚ__init__ÚCompleter.__init__,s<€ö œZ¨ ´4×8Ñ8ÜÐ<Ó=Ð =ð Ñ Ø ˆDÕ à ˆDÔ Ø&�Nócó•UR(a[RUlUR 5(d?US:Xa8[ (a,[ R"S5 [ R"5 gggUS:XaP[R"SS9 SU;aURU5Ul OURU5Ul SSS5 URU$!,(df  N=f![a gf=f)zªReturn the next possible completion for 'text'. This is called successively with state == 0, 1, 2, ... until it returns None. The completion should begin with 'text'. rÚ ÚNÚignore)ÚactionÚ.)r Ú__main__Ú__dict__r ÚstripÚ_readline_availableÚreadlineÚ insert_textÚ redisplayÚwarningsÚcatch_warningsÚ attr_matchesÚmatchesÚglobal_matchesÚ IndexError)r ÚtextÚstates rÚcompleteÚCompleter.completeGsÊ€ð × × Ü%×.Ñ.ˆDŒNà�z‰z�|‰|ؘ‹zß&Ò&Ü×(Ò(¨Ô.Ü×&Ò&Ô(Øààà �A‹:Ü×(Ò(°Ó9ؘ$“;Ø#'×#4Ñ#4°TÓ#:�D•Là#'×#6Ñ#6°tÓ#<�D”L÷ :ð  Ø—<‘< Ñ&Ð &÷ :Õ9ûôó Ùð úsÂ4C!ÃC2Ã! C/Ã2 C?Ã>C?có¬•[U5(a2US- n[R"U5R(dUS- nU$U$![a U$f=f)NÚ(Ú))ÚcallableÚinspectÚ signatureÚ parametersÚ ValueError)r ÚvalÚwords rÚ_callable_postfixÚCompleter._callable_postfixgsZ€Ü �C�=‰=Ø �C‰KˆDð Ü×(Ò(¨Ó-×8×8ؘC‘K�Dðˆ ˆtˆ øôó Øàˆ ð ús—*AÁ AÁAcóü•/nS1n[U5n[R[R-HGnUSUU:XdMUR U5 US;aUS-nO US;aUS-nUR U5 MI UR [R4H_nUR5HHupWUSUU:XdMXS;dMUR U5 UR URXu55 MJ Ma U$)zšCompute matches when text is a simple name. Return a list of all keywords, built-in functions and names currently defined in self.namespace that match. Ú __builtins__N>ÚtryÚfinallyÚ:>Ú_ÚNoneÚTrueÚelseÚpassÚFalseÚbreakÚcontinueÚ ) ÚlenÚkeywordÚkwlistÚ softkwlistÚaddÚappendr ÚbuiltinsrÚitemsr3)r r%r"ÚseenÚnr2Únspacer1s rr#ÚCompleter.global_matchesrsë€ðˆØÐˆÜ �‹IˆÜ—N‘N¤W×%7Ñ%7Ô7ˆDØ�B�Qˆx˜4ÕØ—‘˜”ØÐ-Ó-Ø #™:‘DØð"/ó/ð  #™:�DØ—‘˜tÖ$ñ8ð—~‘~¤x×'8Ñ'8Ó9ˆFØ#Ÿ\™\ž^‘ �ؘ˜�8˜tÕ#¨Õ(8Ø—H‘H˜T”NØ—N‘N 4×#9Ñ#9¸#Ó#DÖEó,ñ:ð ˆrcó•[R"SU5nU(d/$URSS5up4[X0R5n[ [U55nURS5 [US5(a5URS5 UR[UR55 /n[U5nUS:XaSn O US:XaSn OS n UHìn U S UU:XdMU (aU S US-U :XaM#U<S U <3n [[!U5U S 5n [#U [$[&R([&R*45(d![U S 5(a#[-U 5(dUR/U 5 Mª[XZS 5=n b"UR/UR1XÛ55 MÛUR/U 5 Mî U(dU (dOU S:XaSn OS n GMUR35 U$![ a /s$f=f) a‡Compute matches when text contains a dot. Assuming the text is of the form NAME.NAME....[NAME], and is evaluable in self.namespace, it will be evaluated and its attributes (as revealed by dir()) are used as possible completions. (For class instances, class members are also considered.) WARNING: this can still invoke arbitrary C code, if an object with a __getattr__ hook is evaluated. z(\w+(\.\w+)*)\.(\w*)rér6Ú __class__rr:Ú__NrÚ__get__)ÚreÚmatchÚgroupÚevalr Ú ExceptionÚsetÚdirÚdiscardÚhasattrrGÚupdateÚget_class_membersrQrCÚgetattrÚtyperÚpropertyÚtypesÚGetSetDescriptorTypeÚMemberDescriptorTyper,rHr3Úsort)r r%ÚmÚexprÚattrÚ thisobjectÚwordsr"rLÚnoprefixr2rUÚ class_attrÚvalues rr!ÚCompleter.attr_matches�sÑ€ô �HŠHÐ,¨dÓ 3ˆÞ؈IØ—W‘W˜Q “]‰ ˆð ܘd§N¡NÓ3ˆJô ”C˜ “OÓ$ˆØ � ‰ �nÔ%ä �:˜{× +Ñ +Ø �I‰I�kÔ "Ø �L‰LÔ*¨:×+?Ñ+?Ó@Ô AØˆÜ �‹IˆØ �2‹:؉HØ �S‹[؉HàˆHØÛ�ؘ˜!�H Õ$Þ! d¨4¨A¨a©C j°HÕ&<Û'+ªTÐ2�Eä!(¬¨jÓ)9¸4ÀÓ!F�JÜ!Ø"Ü!¤5×#=Ñ#=¼u×?YÑ?YÐZ÷ñô" *¨i×8Ñ8ÄÈ*×AUÑAUð Ÿ™ uÔ-Ù Ü!(¨¸4Ó!@Ð@˜ÑMØŸ™ t×'=Ñ'=¸eÓ'KÖLàŸ™ uÖ-ñ#ö$žhØØ˜3‹Ø‘à�ò1ð2 � ‰ ŒØˆøôYó ØŠIð ús¶G9Ç9 HÈH)r"r r ©N) Ú__name__Ú __module__Ú __qualname__Ú__firstlineno__rr'r3r#r!Ú__static_attributes__©rrrr+s†ô'ò6ò@ òõ6>rcó€•[U5n[US5(a!URHnU[U5-nM U$)NÚ __bases__)rZr\rwr^)ÚklassÚretÚbases rr^r^Ís;€Ü ˆe‹*€C܈u�[×!Ñ!Ø—O”OˆDØÔ)¨$Ó/Ñ/ŠCñ$à €Jrcó.•[R"S5$ro)rÚ set_completerrurrÚr}Ýs€œH×2Ò2°4Ô8rTF)Ú__doc__ÚatexitrIr-rDrTrbrrÚ__all__rr^rr|r'ÚregisterrÚ ImportErrorrurrÚrƒs‰ðñó>ÛÛÛÛ Û ÛÛà ˆ-€÷`ñ`òDð Ûð ×Ò™9›;×/Ñ/Ô0ð ‡O‚OÑ8Ô9ØÑøðó ØÒð ús´A/Á/A:Á9A: