B
    šŽ0dÂ  ã               @   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 | ]}|  d ¡s|‘qS )Ú__)Ú
startswith)Ú.0Úname© r
   úF/var/www/html/venv/lib/python3.7/site-packages/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   


