grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026+ ŒÈ[å(ÆÝ¹ãóö€Rt^RIt^RIt^RIt.ROt/t!RR4t!RR]4t!RR]4t RRlt RR lt RR lt RR lt RR lt!R R]P4tRtRt]R8Xd ]!4R#R#)aParse a Python module and describe its classes and functions. Parse enough of a Python file to recognize imports and class and function definitions, and to find out the superclasses of a class. The interface consists of a single function: readmodule_ex(module, path=None) where module is the name of a Python module, and path is an optional list of directories where the module is to be searched. If present, path is prepended to the system search path sys.path. The return value is a dictionary. The keys of the dictionary are the names of the classes and functions defined in the module (including classes that are defined via the from XXX import YYY construct). The values are instances of classes Class and Function. One special key/value pair is present for packages: the key '__path__' has a list as its value which contains the package search path. Classes and Functions have a common superclass: _Object. Every instance has the following attributes: module -- name of the module; name -- name of the object; file -- file in which the object is defined; lineno -- line in the file where the object's definition starts; end_lineno -- line in the file where the object's definition ends; parent -- parent of this object, if any; children -- nested objects contained in this object. The 'children' attribute is a dictionary mapping names to objects. Instances of Function describe functions with the attributes from _Object, plus the following: is_async -- if a function is defined with an 'async' prefix Instances of Class describe classes with the attributes from _Object, plus the following: super -- list of super classes (Class instances if possible); methods -- mapping of method names to beginning line numbers. If the name of a super class is not recognized, the corresponding entry in the list of super classes is not a class instance but a string giving the name of the super class. Since import statements are recognized and imported modules are scanned as well, this shouldn't happen often. NÚClassÚFunctioncó*a€]tRt^5toRtRtRtVtR#)Ú_Objectz+Information about Python class or function.có„€WnW nW0nW@nWPnW`n/VnVeWP V&R#R#©N)ÚmoduleÚnameÚfileÚlinenoÚ end_linenoÚparentÚchildren)Úselfrr r r r r s&&&&&&&Ú-/opt/alt/python314/lib64/python3.14/pyclbr.pyÚ__init__Ú_Object.__init__7s>€ØŒ ØŒ ØŒ ØŒ Ø$ŒØŒ ؈Œ Ø Ò Ø$(�O‰O˜DÓ !ñ ó)rr r r rr r N)Ú__name__Ú __module__Ú __qualname__Ú__firstlineno__Ú__doc__rÚ__static_attributes__Ú__classdictcell__©Ú __classdict__s@rrr5sø‡€Ù1÷ )ð )rrcóBaa€]tRt^DtoRtRRR/V3RllltRtVtV;t#)rz7Information about a Python function, including methods.Nr có‚<€\SV`WW4Wu4W`n\V\4'dWEP V&R#R#r)ÚsuperrÚis_asyncÚ isinstancerÚmethods) rrr r r r r r Ú __class__s &&&&&&&$€rrÚFunction.__init__Fs7ø€ä ‰Ñ˜ t°ZÔHØ Œ Ü �fœe× $Ò $Ø#)�N‰N˜4Ó ñ %r©r )NF© rrrrrrrrÚ __classcell__©r#rs@@rrrDsù‡€Ù=ñ*Ø<@÷*÷*ð*rcóBaa€]tRt^NtoRtRRR/V3RllltRtVtV;t#)rz!Information about a Python class.Nr cóZ<€\SV`WWEWv4T;'g.Vn/VnR#r)rrr") rrr Úsuper_r r r r r#s &&&&&&&$€rrÚClass.__init__Ps(ø€ä ‰Ñ˜ t°ZÔHØ—\�\˜rˆŒ ØˆŽ r)r"rrr&r(s@@rrrNsù‡€Ù'ñØ,0÷÷ðrc óJ€\VPWPVWVR7#)z*Return a Function after nesting within ob.)r r r )rrr )ÚobÚ func_namer r r s&&&&&rÚ_nest_functionr0Ys$€ä �B—I‘I˜y¯'©'°6ظZô IðIrc óJ€\VPWVPVWR7#)z'Return a Class after nesting within ob.©r r )rrr )r.Ú class_namer r rs&&&&&rÚ _nest_classr4^s"€ä �—‘˜J¨r¯w©w¸Øô 3ð3rcóš€/p\Y;'g.4P4F!wr4\V\4'gKWBV&K# V#)zxReturn Class objects for the top-level classes in module. This is the original interface, before Functions were added. )Ú _readmoduleÚitemsr!r)rÚpathÚresÚkeyÚvalues&& rÚ readmoduler<dsD€ð €CÜ! &¯*¨*°"Ó5×;Ñ;Ö=‰ ˆÜ �eœU× #Ô #Ø�‹Hñ>ð €Jrcó,€\Y;'g.4#)zÒReturn a dictionary with all functions and classes in module. Search for module in PATH + sys.path. If possible, include imported superclasses. Do this by reading source, without importing (and executing) it. )r6)rr8s&&rÚ readmodule_exr>ps€ô �vŸz˜z rÓ *Ð*rcóD€Ve V: RV: 2pMTpV\9d\V,#/pV\P9dVf V\V&V#VPR4pV^8¼d^VRVpW^,Rp\ WaV4pVe V: RV: 2pRV9g\ RP V44h\ WxR,V4#Rp VeTp MV\P,p \PPW:4p V f\RV: 2VR7hV\V&V PeV PVR&V PPV4p V fV#T PP!T4p \#Y1YÜYB4# \\ 3dTu#i;i)aDo the hard work for readmodule[_ex]. If inpackage is given, it must be the dotted name of the package in which we are searching for a submodule, and then PATH must be the package search path; otherwise, we are searching for a top-level module, and path is combined with sys.path. NÚ.Ú__path__zNo package named {}zno module named )r )Ú_modulesÚsysÚbuiltin_module_namesÚrfindr6Ú ImportErrorÚformatr8Ú importlibÚutilÚ_find_spec_from_pathÚModuleNotFoundErrorÚsubmodule_search_locationsÚloaderÚ get_sourceÚAttributeErrorÚ get_filenameÚ _create_tree)rr8Ú inpackageÚ fullmoduleÚtreeÚiÚpackageÚ submoduler ÚfÚ search_pathÚspecÚsourceÚfnames&&& rr6r6zs²€ðÒÛ )ª6Ð2‰ àˆ ð”XÔܘ Õ#Ð#ð €Dð”×)Ñ)Ô)¨iÒ.?ØŒ�ÑØˆ ð � ‰ �SÓ€A؈A„vؘ˜!�*ˆØ˜Q�3˜4�Lˆ ܘW¨IÓ6ˆØ Ò Û!*ªGÐ4ˆGؘVÔ#ÜÐ3×:Ñ:¸7ÓCÓDÐ Dܘ9¨ZÕ&8¸'ÓBÐBð €AØÒ؉ àœSŸX™X•oˆ Ü �>‰>× .Ñ .¨zÓ G€DØ ‚|Ü!Ð$4°Z±NÐ"CÈ*ÔUÐUØ„HˆZÑà ×&Ñ&Ò2Ø×:Ñ:ˆˆZÑðØ—‘×'Ñ'¨ Ó3ˆð Š>؈Kð ð �K‰K× $Ñ $ ZÓ 0€EÜ ˜ ¨%¸Ó IÐIøô œKÐ (ôàŠ ðúsÄ?F Æ FÆFcóLa€]tRt^ºtoRtRtRR/RltRtRtRt R t Vt R #) Ú_ModuleBrowsercóP€W nW@nW0nWnWPn.VnR#r)r8rTr rrRÚstack)rrr8r rTrRs&&&&&&rrÚ_ModuleBrowser.__init__»s"€ØŒ ØŒ ØŒ ØŒ Ø"ŒØˆŽ rc ó<€.pVPF¾p\P!V4pW@P9d%VP VPV,4KM\ VP R4;p4^8”d@VEvrgpV\9d.VP \V,PW„44K«K­VP V4KÀ VP'dVPR,MRp \VPVPW PVPW‘PR7pV fW€PVP&VPP V4VP!V4VPP#4R#)r@Nr2éÿÿÿÿ)ÚbasesÚastÚunparserTÚappendÚlenÚsplitrBÚgetr`rrr r r r Ú generic_visitÚpop) rÚnoderdÚbaser ÚnamesÚ_rÚclass_r s && rÚvisit_ClassDefÚ_ModuleBrowser.visit_ClassDefÃs$€ØˆØ—J”JˆDÜ—;’;˜tÓ$ˆDØ—y‘yÔ à— ‘ ˜TŸY™Y t�_Ö-ܘdŸj™j¨›oÐ-�UÓ.°Ô2ð&+Ñ"�˜FØœXÔ%Ø—L‘L¤¨&Õ!1×!5Ñ!5°fÓ!CÖDñ&ð— ‘ ˜TÖ"ñð$(§:§: :�—‘˜B–°4ˆÜ�t—{‘{ D§I¡I¨u·i±iÀÇÁØ$·±ôBˆà Š>Ø#)�I‰I�d—i‘iÑ Ø � ‰ ×ј&Ô!Ø ×ј4Ô Ø � ‰ �‰Örr Fc óž€VP'dVPR,MRp\VPVPVPVP W2VP R7pVfW@PVP&VPPV4VPV4VPP4R#)éN)r rc) r`rrr r r r rTrgrkrl)rrmr r Úfunctions&&$ rÚvisit_FunctionDefÚ _ModuleBrowser.visit_FunctionDefÜsˆ€Ø#'§:§: :�—‘˜B–°4ˆÜ˜DŸK™K¨¯©°D·I±I¸t¿{¹{Ø"¸¿¹ôJˆà Š>Ø#+�I‰I�d—i‘iÑ Ø � ‰ ×ј(Ô#Ø ×ј4Ô Ø � ‰ �‰Örcó,€VPVRR7R#)Tr%N)rw)rrms&&rÚvisit_AsyncFunctionDefÚ%_ModuleBrowser.visit_AsyncFunctionDefæs€Ø ×јt¨dÐÖ3rcó,€VP^8wdR#VPF0p\VPVPVP 4K2 R# \ d\TP.4KZi;i \ \3dKri;i)éN)Ú col_offsetror6r r8rRrFÚ SyntaxError)rrmrs&& rÚ visit_ImportÚ_ModuleBrowser.visit_Importésx€Ø �?‰?˜aÔ Ù à—j”jˆFð ð1Ü § ¡ ¨T¯Y©Y¸¿¹ÖGó!øô#ô1Ü § ¡ ¨R×0ð1ûä¤Ð-ô òð ús)¥+AÁ!A;Á7A>Á:A;Á;A>Á>BÂBcóx€VP^8wdR#RVP,pVP'dW!P, p\W PVP 4pTPF¦pTPT9d@Y#P,TPTP;'g TP&KSTPR8XgKfTP4F,wrETPR4'dKYPPT&K. K¨ R# \ \3dR#i;i)r}Nr@Ú*rp)r~Úlevelrr6r8rRrFrror rTÚasnamer7Ú startswith)rrmrr Ú import_nameÚ import_values&& rÚvisit_ImportFromÚ_ModuleBrowser.visit_ImportFromøsç€Ø �?‰?˜aÔ Ù ð Ø˜4Ÿ:™:Õ%ˆFØ�{�{ˆ{ØŸ+™+Õ%�Ü  ¯©°D·N±NÓCˆFð—J”JˆDØ�y‰y˜FÔ"Ø6<¿Y¹YÕ6G�— ‘ ˜$Ÿ+™+×2Ð2¨¯©Ó3Ø—‘˜cÖ!Ø17·±¶Ñ-�KØ"×-Ñ-¨c×2Ò2Ù Ø-9—I‘I˜kÓ*ó2@ó øôœ[Ð)ô Ú ð ús•$D$º2D$Ä$D9Ä8D9)r rRrr8r`rTN) rrrrrrrrwrzr€r‰rrrs@rr^r^ºs/ø‡€òòð2°%ôò4ò ÷:ð:rr^có~€\WW$V4pVP\P!V44VP#r)r^ÚvisitreÚparserT)rSr8r\r[rTrRÚmbrowsers&&&&&& rrQrQ s/€Ü˜j°¸YÓG€HØ ‡N�N”3—9’9˜VÓ$Ô%Ø �=‰=Ðrcó°€^RIp\P^,pTPP T4'dcTPP T4.pTPPT4pTP4PR4'dTRR pM.p\Y4pRp\TP4TRR7p^pT'EdrTP4p\T\4'dK1\!TR4'g^Tn\T\$4'dY\TP&P4TRR7pTFp TP"T,T nK TP)T4\T\*4'dP\-RP/RTP",TP0TP2TP444EK\T\64'gEK6\-R P/RTP",TP0TP444EKzR# \pEL8;i) z?Print module output (default this file) for quick visual check.Nz.pycó€\VR^4#)r )Úgetattr)Úas&rÚÚ_main.."s €œ7 1 h°Ô2rT)r:ÚreverseÚindentz{}class {} {} {}Ú z {}def {} {}éýÿÿÿ)ÚosrCÚargvÚ__file__r8ÚexistsÚdirnameÚbasenameÚlowerÚendswithr>ÚsortedÚvaluesrlr!ÚlistÚhasattrr–rrÚextendrÚprintrGr rr r) r™Úmodr8rTÚ lineno_keyÚobjsÚ indent_levelÚobjÚnew_objsr.s rÚ_mainr­s®€ã ðÜ�h‰h�q�kˆð ‡w�w‡~�~�c×ÒØ—‘—‘ Ó$Ð%ˆØ�g‰g×јsÓ#ˆØ �9‰9‹;× Ñ  × &Ò &Ø�c�r�(ˆCøàˆÜ ˜Ó #€DÙ2€JÜ �$—+‘+“- Z¸Ô >€DØ€Lß ˆ$Ø�h‰h‹jˆÜ �cœ4× Ò á Ü�s˜H×%Ò%؈CŒJä �cœ7× #Ò #ܘcŸl™l×1Ñ1Ó3Ø",°dô<ˆHã�ØŸJ™J¨Õ5�– ñà �K‰K˜Ô !Ü �cœ5× !Ò !Ü Ð$ß‘6˜# § ¡ Õ*¨C¯H©H°c·i±iÀÇÁÓL÷ Nä ˜œX× &Õ &Ü �-×&Ñ& s¨S¯Z©ZÕ'7¸¿¹À3Ç:Á:ÓN× Oñ% øðÜ‹ús †I É IÚ__main__)r<r>rr)Fr)rrerCÚimportlib.utilrHÚ__all__rBrrrr0r4r<r>r6Ú NodeVisitorr^rQr­r©rrÚr³s‘ðñ)óV Û Ûâ >€à €÷ )ñ )ô*ˆwô*ôˆGôôIô 3ô ô+ô=Jô@P:�S—_‘_ôP:òfò $PðL ˆzÔÙ †Gñr