§
{<ˆjs
ã óT — d Z ddlmZmZ ddlmZ g d¢Z G d„ dej ¦ « ZdS ) zŸ
Warn about features that are not present in Python 2.5, giving a message that
points to the earliest version of Python 2.x (or 3.x, if none) that supports it
é )ÚFeatureÚFeaturesé )Ú
fixer_base))Ú
memoryviewz4power < 'memoryview' trailer < '(' any* ')' > any* >z2.7)Únumbersz…import_from< 'from' 'numbers' 'import' any* > |
import_name< 'import' ('numbers' dotted_as_names< any* 'numbers' any* >) >ú2.6)Úabczyimport_name< 'import' ('abc' dotted_as_names< any* 'abc' any* >) > |
import_from< 'from' 'abc' 'import' any* >r )Úiozvimport_name< 'import' ('io' dotted_as_names< any* 'io' any* >) > |
import_from< 'from' 'io' 'import' any* >r )Úbinz+power< 'bin' trailer< '(' any* ')' > any* >r )Ú
formattingz trailer< '(' any* ')' > >r )Únonlocalzglobal_stmt< 'nonlocal' any* >ú3.0)Úwith_tracebackztrailer< '.' 'with_traceback' >r c ót ‡ — e Zd ZdZ e¦ « Z ed„ eD ¦ « ¦ « Zej Z ˆ fd„Z
d„ Zˆ xZS )ÚFixFeaturesé c ó8 — g | ]\ }}}t |||¦ « ‘ŒS © )r )Ú.0ÚnameÚpatternÚversions úr/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/libpasteurize/fixes/fix_features.pyú
zFixFeatures.; s@ € ð Dð Dð DÙ 6 g¨wõ ! w°Ñ8Ô8ð Dð Dð Dó c ó‚ •— t t | ¦ « |¦ « } |d= n# t $ r Y nw xY w|S )NÚnode)Úsuperr ÚmatchÚ Exception)Úselfr Úto_retÚ __class__s €r r zFixFeatures.match@ sW ø€ Ý•{ DÑ)Ô)×/Ò/°Ñ5Ô5ˆð Ø�w��øÝð ð ð ð
ˆDð øøøð ˆ
s «/ ¯
<»<c óä — |D ]l}|| j v rŒ| j | }|j dk r| j }n| j } ||| ¦ « ¬¦ « | j |¦ « Œmd S )NÚ3)Úreason)Úfeatures_warnedÚfeaturesr Úcannot_convertÚwarningÚmessage_textÚadd)r" r ÚresultsÚfeature_nameÚcurr_featureÚfails r Ú transformzFixFeatures.transformK s’ € Ø#ð
7ð
7ˆLؘtÔ3Ð3Ð3Øà#œ}¨\Ô:�ØÔ'¨4Ò/Ð/ØÔ.�D�Dàœ<�DØ��T ,×";Ò";Ñ"=Ô"=Ð>Ñ>Ô>Ð>ØÔ$×(Ò(¨Ñ6Ô6Ð6Ð6ð
7ð
7r )
Ú__name__Ú
__module__Ú__qualname__Ú run_orderÚsetr( r ÚFEATURESr) ÚPATTERNr r2 Ú
__classcell__)r$ s @r r r 3 s™ ø€ € € € € à€Ið �c‘e”e€Oð ˆxð Dð DØ:BðDñ Dô Dñ Eô E€Hð Ô€Gð ð ð ð ð ð7ð 7ð 7ð 7ð 7ð 7ð 7r r N) Ú__doc__Úfeature_baser r Úlib2to3r r8 ÚBaseFixr r r r úr? s„ ððð ð
,Ð +Ð +Ð +Ð +Ð +Ð +Ð +Ø Ð Ð Ð Ð Ð ð(ð (ð (€ðT#7ð #7ð #7ð #7ð #7�*Ô$ñ #7ô #7ð #7ð #7ð #7r