HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/env/lib/python3.10/site-packages/boto3/__pycache__/compat.cpython-310.pyc
o

/weG�@stddlZddlZddlZddlZddlZddlmZeZddl	m
Zej�
d�r-dd�ZnejZdd�Zdd	�ZdS)
�N)�PythonDeprecationWarning�winc
CsRzt�|�Wnty }z
|jtjks�WYd}~nd}~wwt�||�dS)N)�os�remove�OSError�errno�ENOENT�rename)�current_filename�new_filename�e�r
�E/home/arjun/projects/env/lib/python3.10/site-packages/boto3/compat.py�rename_files���rcCstjddtdd�dS)z�
    Invoking this filter acknowledges your runtime will soon be deprecated
    at which time you will stop receiving all updates to your client.
    �ignorez'.*Boto3 will no longer support Python.*z.*boto3\.compat)�message�category�moduleN)�warnings�filterwarningsrr
r
r
r�"filter_python_deprecation_warnings.s
�rcCsdddd�}d|i}tjdd�}||vr0||}d�|d|d	|d
|d�}t�|t�dSdS)z=Use this template for future deprecation campaigns as needed.zDecember 13, 2023z\https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/)�date�	blog_link)��N�z�Boto3 will no longer support Python {}.{} starting {}. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.8 or later. More information can be found here: {}r�rr)�sys�version_info�formatr�warnr)�py_37_params�deprecated_versions�
py_version�params�warningr
r
r�_warn_deprecated_python;s�	���r&)rrr�socketr�boto3.exceptionsr�ConnectionError�SOCKET_ERROR�collections.abc�abc�collections_abc�platform�
startswithrr	rr&r
r
r
r�<module>s