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/boto/__pycache__/compat.cpython-310.pyc
o

we�	@s�ddlZzddlZWn
eyddlZYnwzddlmZWney/ddlmZYnwzej�d�ejjZWne	efyKdd�ZYnwddl
mZddlm
Z
mZdd	lmZmZmZmZmZmZdd
lmZddlmZmZmZmZmZddlmZdd
lm Z ej!r�e"Z#e$Z%ddl&m'Z'm(Z(m)Z)eZ*eZ+dSe#Z#e,Z%ddl'm-Z'ddl'm(Z(m)Z)ddd�Z*		ddd�Z+dS)�N)�encodebytes)�encodestring�~cCs|S�N�)�xrr�D/home/arjun/projects/env/lib/python3.10/site-packages/boto/compat.py�<lambda>/sr	)�six)�BytesIO�StringIO)�filter�http_client�map�_thread�urllib�zip)�Queue)�parse_qs�quote�unquote�urlparse�urlsplit)�unquote_plus)�urlopen)�ConfigParser�
NoOptionError�NoSectionError)�SafeConfigParser)rr�utf-8cCs|�|�}t|��|�Sr)�encoder�decode)�value�encoding�byte_stringrrr�unquote_strIs
r%F�replacecspt|tj�}|r
|�d�}t|||�}|r6i}|��D]\}}	|����}
��fdd�|	D�}|||
<q|S|S)z>Parse a query handling unicode arguments properly in Python 2.�asciicsg|]}|�����qSr)r!)�.0�item�r#�errorsrr�
<listcomp>bs�z!parse_qs_safe.<locals>.<listcomp>)�
isinstancer
�	text_typer r�itemsr!)�qs�keep_blank_values�strict_parsingr#r+�is_text_type�qs_dict�result�namer"�decoded_name�
decoded_valuerr*r�
parse_qs_safeUs
�
r9)r)FFrr&).�os�
simplejson�json�ImportError�base64rr�path�
expanduser�AttributeError�
boto.vendoredr
�boto.vendored.sixrr�boto.vendored.six.movesr
rrrrr�boto.vendored.six.moves.queuer�$boto.vendored.six.moves.urllib.parserrrrrr�&boto.vendored.six.moves.urllib.requestr�PY3�	Exception�
StandardError�int�	long_type�configparserrrrr%r9�longrrrrr�<module>sL��� 
�