File: //home/arjun/projects/env/lib/python3.10/site-packages/boto/__pycache__/compat.cpython-310.pyc
o
we � @ s� d dl Z zd dlZW n
ey d dlZY nw zd dlmZ W n ey/ d dlmZ Y nw ze j�d� e jjZW n e efyK dd� ZY nw d dl
mZ d dlm
Z
mZ d d lmZmZmZmZmZmZ d d
lmZ d dlmZmZmZmZmZ d dlmZ d d
lm Z ej!r�e"Z#e$Z%d dl&m'Z'm(Z(m)Z) eZ*eZ+dS e#Z#e,Z%d dl'm-Z' d dl'm(Z(m)Z) ddd�Z* ddd�Z+dS )� N)�encodebytes)�encodestring�~c C s | S �N� )�xr r �D/home/arjun/projects/env/lib/python3.10/site-packages/boto/compat.py�<lambda>/ s r )�six)�BytesIO�StringIO)�filter�http_client�map�_thread�urllib�zip)�Queue)�parse_qs�quote�unquote�urlparse�urlsplit)�unquote_plus)�urlopen)�ConfigParser�
NoOptionError�NoSectionError)�SafeConfigParser)r r �utf-8c C s | � |�}t|��|�S r )�encoder �decode)�value�encoding�byte_stringr r r �unquote_strI s
r% F�replacec sp t | tj�}|r
| �d�} t| ||�}|r6i }|�� D ]\}} |�� ��}
� �fdd�| D �}|||
<