3
°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xeD ]Z	e
ee	ƒeƒ e	< qVW G dd„ deƒZdS )é    )Úversion_info)Úwarné   )Ú_deprecated_my_exceptionsc             C   s   g | ]}|j d ƒs|‘qS )Ú__)Ú
startswith)Ú.0Úname© r
   ú6/tmp/pip-build-v9q4h5k9/joblib/joblib/my_exceptions.pyú
<listcomp>   s    r   Né   é   é   c             C   s6   | j dƒ r.| tkr.tdj| ƒ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   )r   r   )Úsysr   Úwarningsr   Ú r   Údirr   r   r	   r   ÚglobalsÚ	Exceptionr   r
   r
   r
   r   Ú<module>   s   


