Your IP : 3.22.68.228
3
M��Z�+ � @ s� d dl Z d dlZd dlZd dlZd dlZddlmZ ddlmZ ddlm Z e j
dkrhd dlZdd� Z
nd dlZd d� Z
e j
dkr�ejZnG d
d� dej�ZG dd
� d
e�ZdZdd� Zdadd� Zdd� Zddd�Zdd� Zdd� ZdS )� N� )�__version_verifier_modules__)�ffiplatform)�VerificationError� c C s t jjd d � S )N)� importlib� machinery�EXTENSION_SUFFIXES� r
r
� /usr/lib64/python3.6/verifier.py�_extension_suffixes s r c C s dd� t j� D �S )Nc S s g | ]\}}}|t jkr|�qS r
)�impZC_EXTENSION)�.0�suffix�_�typer
r
r �
<listcomp> s z'_extension_suffixes.<locals>.<listcomp>)r
Zget_suffixesr
r
r
r r s c s e Zd Z� fdd�Z� ZS )�NativeIOc s( t |t�r|jd�}tt| �j|� d S )N�ascii)�
isinstanceZunicode�encode�superr �write)�self�s)� __class__r
r r s
zNativeIO.write)�__name__�
__module__�__qualname__r �
__classcell__r
r
)r r r s r c @ sz e Zd Zddd�Zd dd�Zd d
� Zdd� Zd
d� Zdd� Zdd� Z dd� Z
dd� Zdd� Zd!dd�Z
dd� Zdd� ZdS )"�VerifierN� F�.cc K sv |j jrtd|j jf ��|| _|| _|s4tj|�}t||�}
|
| �| _| jj |� | | _
| j||
�| _|rz|rxt
d��n�djtjd d� t||g|j �}tjdkr�|jd�}ttj|dd d� �d@ �}|jd �jd
�}ttj|dd d� �d@ �}|jd�jd
�}d
|| jj||f }t� d }|�p0t� | _tjj| j|| �| _ tjj| j|| �| _!|| _"d| _#d| _$d S )NzKfeature not supported with ffi.verify(), but only with ffi.set_source(): %sz)can't specify both 'modulename' and 'tag'� r zutf-8r � l �� Z0x�Lr �0z_cffi_%s_%s%s%sF)r )%Z_parserZ_uses_new_featurer �ffi�preambler Zflatten�_locate_engine_class�_vengineZpatch_extension_kwds�flags�make_relative_to�kwds� TypeError�join�sys�versionr Z_cdefsources�version_infor �hex�binasciiZcrc32�lstrip�rstripZ
_class_key�_get_so_suffixes�_caller_dir_pycache�tmpdir�os�path�sourcefilename�modulefilename�ext_package�_has_source�_has_module)r r'