File: //usr/lib/python3/dist-packages/boto/__pycache__/compat.cpython-310.pyc
o
�S�a� � @ 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
Z
d dl
mZmZ d dl
mZmZmZmZmZmZ d d lmZ d d
lmZmZmZmZmZ d dlmZ d dlmZ e
jr�e Z!e"Z#d d
l$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 �-/usr/lib/python3/dist-packages/boto/compat.py�<lambda>/ s r )�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 �}|||
<