grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026+ ¹„ïœéð|ãó€Rt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RItR.t !RR4t Rt ^RI t ] P!] !4P4]P!R4RtR# ]dRtR#i;i)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óBa€]tRt^+toRRltRtRtRtRtRt Vt R#) rNc óŒ€V'd"\V\4'g \R4hVf ^VnR#^VnWnR#)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)Ú isinstanceÚdictÚ TypeErrorÚ use_main_nsÚ namespace)Úselfr s&&Ú2/opt/alt/python314/lib64/python3.14/rlcompleter.pyÚ__init__ÚCompleter.__init__,s<€÷ œZ¨ ´4×8Ò8ÜÐ<Ó=Ð =ð Ò Ø ˆDÖ à ˆDÔ Ø&ŽNóc ó<€VP'd\PVnVP 4'gEV^8Xd<\ 'd.\ P!R4\ P!4R#R#R#V^8Xd]\P!RR7;_uu_4RV9dVPV4Vn MVPV4Vn RRR4VPV,# +'giL$;i \dR#i;i)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'. Ú Ú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Ö9ؘ$”;Ø#'×#4Ñ#4°TÓ#:�D•Là#'×#6Ñ#6°tÓ#<�D”L÷ :ð  Ø—<‘< Õ&Ð &÷ :×9ûôô Úð úsÂ(5C9Ã&D Ã9 D Ä DÄDcó€\V4'd<VR, p\P!V4P'g VR, pV#V# \dT#i;i)Ú(Ú))ÚcallableÚinspectÚ signatureÚ parametersÚ ValueError)r ÚvalÚwords&&&r Ú_callable_postfixÚCompleter._callable_postfixgs]€Ü �C�=Š=Ø �C�KˆDð Ü×(Ò(¨Ó-×8×8Ð8ؘC•K�Dðˆ ˆtˆ øôô Øàˆ ð úsœ%AÁ AÁ AÁAc ó€.pR0p\V4p\P\P,FRpVRVV8XgKVP V4VR9d VR,pMVR9d VR,pVP V4KT VP \P3FapVP4FJwrWVRVV8XgKWS9gKVP V4VP VPWu44KL Kc V#)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Úitemsr0)r r"rÚseenÚnr/Únspacer.s&& r r ÚCompleter.global_matchesrsî€ðˆØÐˆÜ �‹IˆÜ—N‘N¤W×%7Ñ%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 ó@€\P!RV4pV'g.#VP^^4wr4\W0P4p\ \T44pTPR4\TR4'd6TPR4TP\TP44.p\T4pTR8XdRp M TR8XdRp MRp TF÷p T RTT8XgKT 'dT RT^,T 8XdK*T: RT : 2p \\!T4T R4p \#T \$\&P(\&P*34'g$\T R 4'd%\-T 4'gTP/T 4K´\YZR4;p e#TP/TP1YÛ44KæTP/T 4Kù T'g T 'gMT R8XdRp EKRp EK TP34T# \ d.u#i;i) 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*)r3Ú __class__rr8Ú__NrÚ__get__)ÚreÚmatchÚgroupÚevalr Ú ExceptionÚsetÚdirÚdiscardÚhasattrrDÚupdateÚget_class_membersrMr@ÚgetattrÚtyperÚpropertyÚtypesÚGetSetDescriptorTypeÚMemberDescriptorTyper)rEr0Úsort)r r"ÚmÚexprÚattrÚ thisobjectÚwordsrrIÚnoprefixr/rQÚ class_attrÚvalues&& r rÚ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ŒØ“à“Ø� ‰ ŒØˆøôYô ØŠIð ús·H È HÈH)rr r©N) Ú__name__Ú __module__Ú __qualname__Ú__firstlineno__r r$r0r rÚ__static_attributes__Ú__classdictcell__)Ú __classdict__s@r rr+s$ø‡€ô'ò6ò@ ò÷6>ð>rcóŠ€\V4p\VR4'd&VPFpV\V4,pK V#)Ú __bases__)rVrXrtrZ)ÚklassÚretÚbases& r rZrZÍs;€Ü ˆe‹*€C܈u�[×!Ò!Ø—O”OˆDØÔ)¨$Ó/Õ/ŠCñ$à €Jrcó.€\P!R4#rk)rÚ set_completer©rr Úr{Ýs€œH×2Ò2°4Ô8rTF)Ú__doc__ÚatexitrFr*rArPr^rrÚ__all__rrZrryr$ÚregisterrÚ ImportErrorrzrr Úr�s‰ðñó>ÛÛÛÛ Û ÛÛà ˆ-€÷`ñ`òDð Ûð ×Ò™9›;×/Ñ/Ô0ð ‡O‚OÑ8Ô9ØÒøðô ØÓð ús´A0Á0 A=Á<A=