]j@sddlZddejDZdddgZdZdd Zd d Zd d ddZGdddZGdddZ dS)NcCsg|]}tt|qS)getattr __future__).0Zfnamerr+/opt/alt/python35/lib64/python3.5/codeop.py =s rcompile_commandCompileCommandCompileric -CslxL|jdD])}|j}|r|ddkrPqW|dkrOd}d}}}d}} } y||||}Wn%tk r}zWYdd}~XnXy||d||} Wn+tk r} z | }WYdd} ~ XnXy||d||} Wn+tk r8} z | }WYdd} ~ XnX|rC|S| rht|t|krh|dS)N r#evalpassz )splitstrip SyntaxErrorrepr) compilersourcefilenamesymbollineerrZerr1Zerr2codecode1code2errr_maybe_compileDs0  rcCst|||tS)N)compilePyCF_DONT_IMPLY_DEDENT)rrrrrr_compileesr zsinglecCstt|||S)N)rr )rrrrrrrhsc@s(eZdZddZddZdS)r cCs t|_dS)N)rflags)selfrrr__init__szCompile.__init__cCsRt||||jd}x0tD](}|j|j@r"|j|jO_q"W|S)N)rr" _featuresco_flagsZ compiler_flag)r#rrrZcodeobZfeaturerrr__call__s  zCompile.__call__N)__name__ __module__ __qualname__r$r(rrrrr |s  c@s.eZdZddZddddZdS)r cCst|_dS)N)r r)r#rrrr$szCommandCompiler.__init__zr!cCst|j|||S)N)rr)r#rrrrrrr(szCommandCompiler.__call__N)r)r*r+r$r(rrrrr s  ) rZall_feature_namesr&__all__rrr rr r rrrr;s    !