Ë ‚Ö¦iãó¸—dZddlZddlZejD�cgc] }ee|«‘Œ c}Zgd¢ZdZdZd„Z d„Z dd„Z dd „Z Gd „d «Z Gd „d «Zycc}w)aAUtilities to compile possibly incomplete Python source code. This module provides two interfaces, broadly similar to the builtin function compile(), which take program text, a filename and a 'mode' and: - Return code object if the command is complete and valid - Return None if the command is incomplete - Raise SyntaxError, ValueError or OverflowError if the command is a syntax error (OverflowError and ValueError can be produced by malformed literals). The two interfaces are: compile_command(source, filename, symbol): Compiles a single command in the manner described above. CommandCompiler(): Instances of this class have __call__ methods identical in signature to compile_command; the difference is that if the instance compiles program text containing a __future__ statement, the instance 'remembers' and compiles all subsequent program texts with the statement in force. The module also provides another class: Compile(): Instances of this class act like the built-in function compile, but with 'memory' in the sense described above. éN)Úcompile_commandÚCompileÚCommandCompilerii@cóæ—|jd«D]}|j«}|sŒ|ddk7sŒn|dk7rd}tj«5tjdt t f« ||||«ddd«||||d¬ «S#t$rL ||dz||«Yddd«y#t$r%}dt|«vrYd}~Yddd«yYd}~nd}~wwxYwYŒhwxYw#1swYŒmxYw) NÚ rÚ#ÚevalÚpassÚignorezincomplete inputF)Úincomplete_input) ÚsplitÚstripÚwarningsÚcatch_warningsÚ simplefilterÚ SyntaxWarningÚDeprecationWarningÚ SyntaxErrorÚstr)ÚcompilerÚsourceÚfilenameÚsymbolÚlineÚes ú/usr/lib64/python3.12/codeop.pyÚ_maybe_compiler1s÷€à— ‘ ˜TÖ"ˆØ�z‰z‹|ˆÚ �D˜‘G˜s“NÙ ð#ð �VÒ ØˆFô × Ñ Õ "Ü×јh¬Ô8JÐ(KÔLð Ù �V˜X vÔ .÷ #ñ �F˜H f¸uÔ EÐEøôò ð Ù˜ $™¨°&Ô9Ø÷ #Ð "øôò Ø%¬¨Q«Ñ/Ü÷ #Ð "ô0ûð úÙ/ð  ú÷ #Ð "ús`Á!C'Á1 B C$ B0Â&C'Â0 CÂ9 CÃC$à C'ÃC$ÃCÃC$Ã!C'Ã#C$Ã$C'Ã'C0cóN—t|«}t|«}d|vrd|vry||k(ryy)Nzwas never closedFT)Úrepr)Úerr1Úerr2Úrep1Úrep2s rÚ_is_syntax_errorr$Ks4€Ü �‹:€DÜ �‹:€DؘTÑ!Ð&8¸DÑ&@ØØ ˆt‚|ØØ ócóJ—d}|r|tz}|tz}t||||«S)Nr)ÚPyCF_ALLOW_INCOMPLETE_INPUTÚPyCF_DONT_IMPLY_DEDENTÚcompile)rrrr Úflagss rÚ_compiler+Ts1€Ø €EÙØ Ô,Ñ,ˆØ Ô'Ñ'ˆÜ �6˜8 V¨UÓ 3Ð3r%có&—tt|||«S)a‰Compile a command and determine whether it is incomplete. Arguments: source -- the source string; may contain \n characters filename -- optional filename from which source was read; default "" symbol -- optional grammar start symbol; "single" (default), "exec" or "eval" Return value / exceptions raised: - Return a code object if the command is complete and valid - Return None if the command is incomplete - Raise SyntaxError, ValueError or OverflowError if the command is a syntax error (OverflowError and ValueError can be produced by malformed literals). )rr+)rrrs rrr\s€ô& œ( F¨H°fÓ =Ð=r%có—eZdZdZd„Zd„Zy)rzëInstances of this class behave much like the built-in compile function, but if one is used to compile text containing a future statement, it "remembers" and compiles all subsequent program texts with the statement in force.có(—ttz|_y©N)r(r'r*©Úselfs rÚ__init__zCompile.__init__vs€Ü+Ô.IÑIˆ� r%c ó—|j}|jdd«dur|tz}|tz}t ||||d«}t D];}|j |jzsŒ|xj|jzc_Œ=|S)Nr TF)r*Úgetr(r'r)Ú _featuresÚco_flagsÚ compiler_flag)r1rrrÚkwargsr*ÚcodeobÚfeatures rÚ__call__zCompile.__call__ys„€Ø— ‘ ˆØ �:‰:Ð(¨$Ó /°5Ñ 8Ø Ô,Ð,Ñ ,ˆEØ Ô1Ð1Ñ 1ˆEܘ ¨6°5¸$Ó?ˆß ˆGØ�‰ ×!6Ñ!6Ó6Ø— ’ ˜g×3Ñ3Ñ3– ð!ðˆ r%N©Ú__name__Ú __module__Ú __qualname__Ú__doc__r2r;©r%rrrqs„ñ$òJó r%rcó—eZdZdZd„Zdd„Zy)ra(Instances of this class have __call__ methods identical in signature to compile_command; the difference is that if the instance compiles program text containing a __future__ statement, the instance 'remembers' and compiles all subsequent program texts with the statement in force.có"—t«|_yr/)rrr0s rr2zCommandCompiler.__init__‹s €Ü› ˆ� r%có2—t|j|||«S)aµCompile a command and determine whether it is incomplete. Arguments: source -- the source string; may contain \n characters filename -- optional filename from which source was read; default "" symbol -- optional grammar start symbol; "single" (default) or "eval" Return value / exceptions raised: - Return a code object if the command is complete and valid - Return None if the command is incomplete - Raise SyntaxError, ValueError or OverflowError if the command is a syntax error (OverflowError and ValueError can be produced by malformed literals). )rr)r1rrrs rr;zCommandCompiler.__call__Žs€ô&˜dŸm™m¨V°X¸vÓFÐFr%N©zÚsingler<rAr%rrr„s„ñ$ò "ôGr%r)TrE)r@Ú __future__rÚall_feature_namesÚgetattrr5Ú__all__r(r'rr$r+rrr)Úfnames0rÚrLs…ðñ óDÛð%×6Ò6ó 8Ù6�ñ�Z Õ 'Ø6ñ 8€ ò <€ð ÐØ$ÐòFò4ó4ó>÷*ñ÷&GòGùò} 8s™A