σ οRec @@ s² d d l m Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z e j d d Z d Z d Z d Z d d Z d S( i ( t absolute_importN( t BytesIOi ( t six( t b( t RequestFields utf-8i c C@ s7 t j t j d } t j s3 | j d } n | S( sN Our embarrassingly-simple replacement for mimetools.choose_boundary. i t ascii( t binasciit hexlifyt ost urandomR t PY2t decode( t boundary( ( s /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/filepost.pyt choose_boundary s c c@ sg t | t r! t j | } n t | } x3 | D]+ } t | t rQ | Vq4 t j | Vq4 Wd S( s Iterate over fields. Supports list of (k, v) tuples and dicts, and lists of :class:`~urllib3.fields.RequestField`. N( t isinstancet dictR t iteritemst iterR t from_tuples( t fieldst it field( ( s /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/filepost.pyt iter_field_objects s c C@ s4 t | t r&