ó
.¿”Wc           @   sr   d  Z  d d l Z y d d l m Z Wn! e k
 rI d d l m Z n Xd „  Z e j d k rn d „  Z n  d S(	   s2   
Compatibility Support for Python 2.6 and earlier
iÿÿÿÿN(   t   splittagc         C   s   t  |  ƒ \ }  } |  S(   sÄ   
    In `Python 8280 <http://bugs.python.org/issue8280>`_, Python 2.7 and
    later was patched to disregard the fragment when making URL requests.
    Do the same for Python 2.6 and earlier.
    (   R    (   t   urlt   fragment(    (    s9   /tmp/pip-build-Q3rTTP/setuptools/setuptools/py26compat.pyt   strip_fragment   s    i   i   c         C   s   |  S(   N(    (   t   x(    (    s9   /tmp/pip-build-Q3rTTP/setuptools/setuptools/py26compat.pyt   <lambda>   s    (   i   i   (   t   __doc__t   syst   urllib.parseR    t   ImportErrort   urllibR   t   version_info(    (    (    s9   /tmp/pip-build-Q3rTTP/setuptools/setuptools/py26compat.pyt   <module>   s   	
