a DOg@sfddlZddlZddejDZgdZdZddZdd Zdd d ZGdddZ GdddZ dS)NcCsg|]}tt|qS)getattr __future__).0fnamerr/usr/lib64/python3.9/codeop.py >sr)compile_commandCompileCommandCompileric Csr|dD] }|}|r |ddkr q8q |dkr8d}d}}}d}} } z||||}WntyrYn0ttdz||d||} Wn(ty} z| }WYd} ~ n d} ~ 00z||d||} Wn*ty} z| }WYd} ~ n d} ~ 00Wdn1s0Yz<|r<|Wd}}S| sXt|t|krX|Wd}}n d}}0dS)N r#evalpasserrorz )splitstrip SyntaxErrorwarningscatch_warnings simplefilterrepr) compilersourcefilenamesymbollineerrZerr1Zerr2codecode1code2errr_maybe_compileEs<     :r"cCst|||tSN)compilePyCF_DONT_IMPLY_DEDENTrrrrrr_compilensr'singlecCstt|||Sr#)r"r'r&rrrr qsr c@seZdZddZddZdS)r cCs t|_dSr#)r%flagsselfrrr__init__szCompile.__init__cCs<t||||jd}tD] }|j|j@r|j|jO_q|S)NT)r$r* _featuresco_flagsZ compiler_flag)r,rrrZcodeobZfeaturerrr__call__s  zCompile.__call__N__name__ __module__ __qualname__r-r0rrrrr sr c@seZdZddZdddZdS) r cCs t|_dSr#)r rr+rrrr-szCommandCompiler.__init__r(r)cCst|j|||Sr#)r"r)r,rrrrrrr0szCommandCompiler.__call__N)r(r)r1rrrrr sr )r(r)) rrZall_feature_namesr.__all__r%r"r'r r r rrrr;s)