File: //opt/alt/python27/lib/python2.7/site-packages/setuptools/py26compat.pyo
�
אRec           @   s�   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  y d d l m	 Z	 Wn e k
 r� d	 �  Z	 n Xd 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(    (    sF   /opt/alt/python27/lib/python2.7/site-packages/setuptools/py26compat.pyt   strip_fragment
   s    i   i   c         C   s   |  S(   N(    (   t   x(    (    sF   /opt/alt/python27/lib/python2.7/site-packages/setuptools/py26compat.pyt   <lambda>   t    (   t
   import_modulec         C   s   t  |  d d g �S(   Nt   fromlistt   __name__(   t
   __import__(   t   module_name(    (    sF   /opt/alt/python27/lib/python2.7/site-packages/setuptools/py26compat.pyR      s    (   i   i   (
   t   __doc__t   syst   urllib.parseR    t   ImportErrort   urllibR   t   version_infot	   importlibR   (    (    (    sF   /opt/alt/python27/lib/python2.7/site-packages/setuptools/py26compat.pyt   <module>   s