관리-도구
편집 파일: compat.cpython-37.pyc
B ��4]. � @ s d Z ddlZddlZddlZddlZddlZejdkZejdkZejdkZ ejdkZ ejdkZejdk ZejdkZ ej�d �Zeed �Zej�d�Ze o�e ZejZejZejZeZe�dd ddddddg�ZyddlZW n ek r� ddlZY nX e �r dd� ZneZdd� Z e�r4ddl!Z!ddl"Z"ddl#Z#ddl$Z$ddl%Z%ddl&m'Z' ddl(m)Z* ddl(m+Z+ ddl$m,Z, ddl-m.Z.m/Z/m0Z0m1Z1m2Z2 efZ3e4fZ5e4Z6eZ7e8fZ9e:Z;e$j<Z=e>Z?e@ZAeBe"d�ZCeBe"d�ZDeBe"d�ZEd d!� ZFd"d#� ZGd$d%� ZHd&d'� ZId(d)� ZJdWd*d+�ZKd,d-� ZLd.d/� ZMe �r(eNZNnd0d1� ZN�n<ddl!Z!ddlOZ#ddl$Z$ddl+m+Z+ ddlPm+Z* dd2l$mQZ, dd3lRm1Z1 dd4lRm.Z. dd5lRm2Z2 dd6lRm/Z/ dd7lSm0Z0 yddlTZ%W n ek �r� ddl%Z%Y nX eUfZ3e4fZ5eZ6eVZ7e8eWfZ9eNZNeJZJe'Z'e!jHZHe!jGZGe$jXZ=e$jYZ?e$jZZAd8d!� ZFdXd9d:�ZCd;d<� Z;d=d>� ZDd?d@� ZEdAd-� ZLdBd/� ZMdCd'� ZIdDdE� Z[e\dF� e �r�ddGlm]Z] ddddHi i edId� dJd� dKd� dLd� e]fdMdN�Z^n(e�r�ddOlm_Z` dPdN� Z^nddOlm_Z^ e�r�ddlambZc nddlZcejdQdR� �ZddYdSdT�ZedUdV� ZfdS )Zz1Handle Python version/platform incompatibilities.� N)� � )r r )r � )r � )r r )r r r �javaZpypy_version_info�win�FullArgSpec�args�varargs�varkw�defaults� kwonlyargs�kwonlydefaults�annotationsc C s | S )N� )�argr r �I/opt/alt/python37/lib64/python3.7/site-packages/sqlalchemy/util/compat.py�<lambda>7 � r c C s� t �| �r| j} t �| �s(td�| ���| j}t �|�sFtd�|���|j}|j }t r\|jnd}t|d|� �}t|||| � �}||7 }d}|j t j@ r�|j | }|d }d}|j t j@ r�|j | }t|||| j|t r�| jndt r�| jni �S )z9Fully vendored version of getfullargspec from Python 3.3.z{!r} is not a Python functionz{!r} is not a code objectr N� )�inspect�ismethod�__func__� isfunction� TypeError�format�__code__�iscode�co_argcount�co_varnames�py3k�co_kwonlyargcount�list�co_flags� CO_VARARGS�CO_VARKEYWORDSr �__defaults__�__kwdefaults__�__annotations__) �func�co�nargs�names�nkwargsr r r r r r r �inspect_getfullargspec<