U e5d@shddlZddlZddejDZdddgZdZdd Zd d ZdddZGdddZ GdddZ dS)NcCsg|]}tt|qS)getattr __future__).0Zfnamerr/usr/lib64/python3.8/codeop.py >srcompile_commandCompileCommandCompileric CsZ|dD] }|}|r |ddkr q8q |dkr8d}d}}}d}} } z||||}Wn"tk r}zW5d}~XYnXttdz||d||} Wn&tk r} z| }W5d} ~ XYnXz||d||} Wn(tk r} z| }W5d} ~ XYnXW5QRXz.|r,|W"S| sHt|t|krH|W5d}}XdS)N r#evalpasserrorz )splitstrip SyntaxErrorwarningscatch_warnings simplefilterrepr) compilersourcefilenamesymbollineerrZerr1Zerr2codecode1code2errr_maybe_compileEs8     r!cCst|||tSN)compilePyCF_DONT_IMPLY_DEDENTrrrrrr_compilensr&singlecCstt|||Sr")r!r&r%rrrrqsc@seZdZddZddZdS)r cCs t|_dSr")r$flagsselfrrr__init__szCompile.__init__cCs<t||||jd}tD] }|j|j@r|j|jO_q|S)N)r#r) _featuresco_flagsZ compiler_flag)r+rrrZcodeobZfeaturerrr__call__s  zCompile.__call__N__name__ __module__ __qualname__r,r0rrrrr sc@seZdZddZdddZdS) r cCs t|_dSr")r rr*rrrr,szCommandCompiler.__init__r'r(cCst|j|||Sr")r!r)r+rrrrrrr0szCommandCompiler.__call__N)r'r(r1rrrrr s)r'r() rrZall_feature_namesr.__all__r$r!r&rr r rrrr;s )