PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
setuptools
""" Compatibility Support for Python 2.6 and earlier """ import sys try: from urllib.parse import splittag except ImportError: from urllib import splittag def strip_fragment(url): """ 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. """ url, fragment = splittag(url) return url if sys.version_info >= (2, 7): strip_fragment = lambda x: x try: from importlib import import_module except ImportError: def import_module(module_name): return __import__(module_name, fromlist=['__name__'])
[-] dist.pyc
[edit]
[-] depends.pyc
[edit]
[-] sandbox.py
[edit]
[-] py26compat.pyc
[edit]
[-] depends.py
[edit]
[-] glob.pyc
[edit]
[-] py31compat.pyc
[edit]
[-] cli.exe
[edit]
[-] cli-64.exe
[edit]
[-] msvc.pyc
[edit]
[+]
..
[-] unicode_utils.pyc
[edit]
[-] py27compat.py
[edit]
[-] gui.exe
[edit]
[+]
extern
[-] gui-64.exe
[edit]
[-] script.tmpl
[edit]
[-] ssl_support.pyc
[edit]
[-] package_index.py
[edit]
[-] __init__.pyc
[edit]
[-] windows_support.py
[edit]
[-] glob.py
[edit]
[-] namespaces.pyc
[edit]
[-] launch.py
[edit]
[-] dist.py
[edit]
[-] monkey.pyc
[edit]
[-] launch.pyc
[edit]
[-] site-patch.py
[edit]
[-] cli-32.exe
[edit]
[-] py31compat.py
[edit]
[-] py26compat.py
[edit]
[-] msvc.py
[edit]
[-] archive_util.py
[edit]
[-] py27compat.pyc
[edit]
[-] windows_support.pyc
[edit]
[-] monkey.py
[edit]
[-] version.py
[edit]
[-] lib2to3_ex.pyc
[edit]
[-] sandbox.pyc
[edit]
[-] gui-32.exe
[edit]
[-] unicode_utils.py
[edit]
[-] version.pyc
[edit]
[-] namespaces.py
[edit]
[-] package_index.pyc
[edit]
[-] extension.pyc
[edit]
[-] __init__.py
[edit]
[-] ssl_support.py
[edit]
[-] site-patch.pyc
[edit]
[+]
command
[-] lib2to3_ex.py
[edit]
[-] script (dev).tmpl
[edit]
[-] archive_util.pyc
[edit]
[-] extension.py
[edit]