HEX
Server: LiteSpeed
System: Linux atali.colombiahosting.com.co 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 06:11:55 EDT 2025 x86_64
User: coopserp (1713)
PHP: 8.2.29
Disabled: dl,exec,passthru,proc_open,proc_close,shell_exec,memory_limit,system,popen,curl_multi_exec,show_source,symlink,link,leak,listen,diskfreespace,tmpfile,ignore_user_abord,highlight_file,source,show_source,fpaththru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setid,posix_times,posix_ttyname,posix_uname,proc_get_status,proc_nice,proc_terminate
Upload Files
File: //usr/local/lib/python3.9/site-packages/libpasteurize/fixes/__pycache__/feature_base.cpython-39.pyc
a

��?h��@s0dZdZdZGdd�de�ZGdd�de�ZdS)z�
Base classes for features that are backwards-incompatible.

Usage:
features = Features()
features.add(Feature("py3k_feature", "power< 'py3k' any* >", "2.7"))
PATTERN = features.PATTERN
z%s=%sz-
%s is only supported in Python %s and above.c@s eZdZdZdd�Zdd�ZdS)�Featurez�
    A feature has a name, a pattern, and a minimum version of Python 2.x
    required to use the feature (or 3.x if there is no backwards-compatible
    version of 2.x)
    cCs||_||_||_dS)N)�name�_pattern�version)�selfr�PATTERNr�r�J/usr/local/lib/python3.9/site-packages/libpasteurize/fixes/feature_base.py�__init__szFeature.__init__cCst|j|jfS)zS
        Format the above text with the name and minimum version required.
        )�message_unformattedrr�rrrr�message_textszFeature.message_textN)�__name__�
__module__�__qualname__�__doc__r	rrrrrrsrc@s0eZdZdZiZdd�Zedd��Zdd�ZdS)	�Featuresz�
    A set of features that generates a pattern for the features it contains.
    This set will act like a mapping in that we map names to patterns.
    cCstdd�t|�D��|_dS)zS
        Called every time we care about the mapping of names to features.
        cSsg|]}|j|f�qSr)r��.0�frrr�
<listcomp>*�z+Features.update_mapping.<locals>.<listcomp>N)�dict�iter�mappingrrrr�update_mapping&szFeatures.update_mappingcCs |��d�dd�t|�D��S)z{
        Uses the mapping of names to features to return a PATTERN suitable
        for using the lib2to3 patcomp.
        z |
cSsg|]}t|j|jf�qSr)�pattern_unformattedrrrrrrr3rz$Features.PATTERN.<locals>.<listcomp>)r�joinrrrrrr,szFeatures.PATTERNcCs
|j|S)zH
        Implement a simple mapping to get patterns from names.
        )r)r�keyrrr�__getitem__5szFeatures.__getitem__N)	r
rrrrr�propertyrrrrrrrs
rN)rrr
�objectr�setrrrrr�<module>s