Your IP : 3.15.192.89
3
l�_� � @ s d dl mZmZmZ d dlZd dlZd dlZd dlZd dlZG dd� de �Z
e
Ze
Zdd� Z
dd� Zd d
� Zdd� Zd
d� Zeed�r�ejZn
d$dd�Zeed�r�d%dd�Zn
d&dd�ZG dd� de�Zeed�r�ejZnejZdd� ZG dd� de�ZG dd� de�Zd d!� Zd"d#� Z dS )'� )�absolute_import�division�print_functionNc @ s e Zd ZdS )�CryptographyDeprecationWarningN)�__name__�
__module__�__qualname__� r r �/usr/lib64/python3.6/utils.pyr s r c C s t |t�stdj| ���d S )Nz{} must be bytes)�
isinstance�bytes� TypeError�format)�name�valuer r r
�_check_bytes s
r c C s4 yt |� W n" tk
r. tdj| ���Y nX d S )Nz{} must be bytes-like)�
memoryviewr
r )r r r r r
�_check_byteslike s r c s t � fdd��S )Nc s
t | � �S )N)�getattr)�self)r r r
�<lambda>( s z$read_only_property.<locals>.<lambda>)�property)r r )r r
�read_only_property'