
=\•jú  ã               @   sD  d  Z  d d d d d g Z yÂ d d l Z d d l m Z d d	 l m Z d d
 l m Z e e d ƒ r„ e e j d ƒ r„ d Z nE d Z e e d ƒ r¬ d d l m	 Z	 n d d l
 m	 Z	 e j d ƒ e j d ƒ d Z Wn` e k
 r?Gd d „  d e ƒ Z Gd d „  d e ƒ Z Gd d „  d e ƒ Z d Z d Z Yn Xd S)aH  
websocket - WebSocket client library for Python

Copyright (C) 2010 Hiroki Ohtani(liris)

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

ÚHAVE_SSLÚsslÚSSLErrorÚSSLWantReadErrorÚSSLWantWriteErroré    N)r   )r   )r   Ú
SSLContextÚcheck_hostnameTFÚmatch_hostname)r	   ÚHAVE_CONTEXT_CHECK_HOSTNAMEc               @   s   e  Z d  Z d S)r   N)Ú__name__Ú
__module__Ú__qualname__© r   r   úA/tmp/pip-build-jxowagp5/websocket-client/websocket/_ssl_compat.pyr   *   s   c               @   s   e  Z d  Z d S)r   N)r   r   r   r   r   r   r   r   -   s   c               @   s   e  Z d  Z d S)r   N)r   r   r   r   r   r   r   r   0   s   )Ú__doc__Ú__all__r   r   r   r   Úhasattrr   r
   r	   Zbackports.ssl_match_hostnameÚappendr   ÚImportErrorÚ	Exceptionr   r   r   r   Ú<module>   s*   !	
