U
    .‰dÂ  ã                   @   s~   d dl mZ d dlmZ ddlmZ dd„ eeƒD ƒZedd… d	krPd
d„ ZneD ]Z	e
ee	ƒeƒ e	< qTG dd„ deƒZdS )é    )Úversion_info)Úwarné   )Ú_deprecated_my_exceptionsc                 C   s   g | ]}|  d ¡s|‘qS )Ú__)Ú
startswith)Ú.0Úname© r
   ú8/tmp/pip-unpacked-wheel-ho8k9mhl/joblib/my_exceptions.pyÚ
<listcomp>   s   
ÿr   Né   )é   é   c                 C   s4   |   d¡s,| tkr,td | ¡tƒ tt| ƒS t‚d S )Nr   z8{} is deprecated and will be removed from joblib in 0.16)r   Ú_deprecated_namesr   ÚformatÚDeprecationWarningÚgetattrr   ÚAttributeError)r	   r
   r
   r   Ú__getattr__   s    ÿÿ
r   c                   @   s   e Zd ZdZdS )ÚWorkerInterruptza An exception that is not KeyboardInterrupt to allow subprocesses
        to be interrupted.
    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r
   r
   r   r      s   r   )Úsysr   Úwarningsr   Ú r   Údirr   r   r	   r   ÚglobalsÚ	Exceptionr   r
   r
   r
   r   Ú<module>   s   	ÿ
