summaryrefslogtreecommitdiffstats
path: root/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-01-23 14:28:53 -0800
committeryum <yum.food.vr@gmail.com>2023-01-23 14:32:09 -0800
commit9fff496394dcd94c4084694ca96a5e07ab836274 (patch)
treed89b78e16ecb6011bdd74555da79f7a8c1d90752 /FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib
parent9329d64f991b8b3289af22e4c2eedb09a97c5640 (diff)
package.ps1 now fetches all dependencies
Don't literally check in Python since it looks dodgy (rightfully so). Instead the build script just fetches it. * Update README, simplifying language and documenting other projects
Diffstat (limited to 'FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib')
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/__init__.py5
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py16
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/parse.py28
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/request.py94
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/response.py12
-rw-r--r--FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/robotparser.py8
6 files changed, 0 insertions, 163 deletions
diff --git a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/__init__.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/__init__.py
deleted file mode 100644
index 5cf428b..0000000
--- a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/__init__.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from __future__ import absolute_import
-from future.utils import PY3
-
-if not PY3:
- __future_module__ = True
diff --git a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py
deleted file mode 100644
index 7d8ada7..0000000
--- a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/error.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from __future__ import absolute_import
-from future.standard_library import suspend_hooks
-
-from future.utils import PY3
-
-if PY3:
- from urllib.error import *
-else:
- __future_module__ = True
-
- # We use this method to get at the original Py2 urllib before any renaming magic
- # ContentTooShortError = sys.py2_modules['urllib'].ContentTooShortError
-
- with suspend_hooks():
- from urllib import ContentTooShortError
- from urllib2 import URLError, HTTPError
diff --git a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/parse.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/parse.py
deleted file mode 100644
index 9074b81..0000000
--- a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/parse.py
+++ /dev/null
@@ -1,28 +0,0 @@
-from __future__ import absolute_import
-from future.standard_library import suspend_hooks
-
-from future.utils import PY3
-
-if PY3:
- from urllib.parse import *
-else:
- __future_module__ = True
- from urlparse import (ParseResult, SplitResult, parse_qs, parse_qsl,
- urldefrag, urljoin, urlparse, urlsplit,
- urlunparse, urlunsplit)
-
- # we use this method to get at the original py2 urllib before any renaming
- # quote = sys.py2_modules['urllib'].quote
- # quote_plus = sys.py2_modules['urllib'].quote_plus
- # unquote = sys.py2_modules['urllib'].unquote
- # unquote_plus = sys.py2_modules['urllib'].unquote_plus
- # urlencode = sys.py2_modules['urllib'].urlencode
- # splitquery = sys.py2_modules['urllib'].splitquery
-
- with suspend_hooks():
- from urllib import (quote,
- quote_plus,
- unquote,
- unquote_plus,
- urlencode,
- splitquery)
diff --git a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/request.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/request.py
deleted file mode 100644
index 972aa4a..0000000
--- a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/request.py
+++ /dev/null
@@ -1,94 +0,0 @@
-from __future__ import absolute_import
-
-from future.standard_library import suspend_hooks
-from future.utils import PY3
-
-if PY3:
- from urllib.request import *
- # This aren't in __all__:
- from urllib.request import (getproxies,
- pathname2url,
- proxy_bypass,
- quote,
- request_host,
- thishost,
- unquote,
- url2pathname,
- urlcleanup,
- urljoin,
- urlopen,
- urlparse,
- urlretrieve,
- urlsplit,
- urlunparse)
-
- from urllib.parse import (splitattr,
- splithost,
- splitpasswd,
- splitport,
- splitquery,
- splittag,
- splittype,
- splituser,
- splitvalue,
- to_bytes,
- unwrap)
-else:
- __future_module__ = True
- with suspend_hooks():
- from urllib import *
- from urllib2 import *
- from urlparse import *
-
- # Rename:
- from urllib import toBytes # missing from __all__ on Py2.6
- to_bytes = toBytes
-
- # from urllib import (pathname2url,
- # url2pathname,
- # getproxies,
- # urlretrieve,
- # urlcleanup,
- # URLopener,
- # FancyURLopener,
- # proxy_bypass)
-
- # from urllib2 import (
- # AbstractBasicAuthHandler,
- # AbstractDigestAuthHandler,
- # BaseHandler,
- # CacheFTPHandler,
- # FileHandler,
- # FTPHandler,
- # HTTPBasicAuthHandler,
- # HTTPCookieProcessor,
- # HTTPDefaultErrorHandler,
- # HTTPDigestAuthHandler,
- # HTTPErrorProcessor,
- # HTTPHandler,
- # HTTPPasswordMgr,
- # HTTPPasswordMgrWithDefaultRealm,
- # HTTPRedirectHandler,
- # HTTPSHandler,
- # URLError,
- # build_opener,
- # install_opener,
- # OpenerDirector,
- # ProxyBasicAuthHandler,
- # ProxyDigestAuthHandler,
- # ProxyHandler,
- # Request,
- # UnknownHandler,
- # urlopen,
- # )
-
- # from urlparse import (
- # urldefrag
- # urljoin,
- # urlparse,
- # urlunparse,
- # urlsplit,
- # urlunsplit,
- # parse_qs,
- # parse_q"
- # )
diff --git a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/response.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/response.py
deleted file mode 100644
index a287ae2..0000000
--- a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/response.py
+++ /dev/null
@@ -1,12 +0,0 @@
-from future import standard_library
-from future.utils import PY3
-
-if PY3:
- from urllib.response import *
-else:
- __future_module__ = True
- with standard_library.suspend_hooks():
- from urllib import (addbase,
- addclosehook,
- addinfo,
- addinfourl)
diff --git a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/robotparser.py b/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/robotparser.py
deleted file mode 100644
index 0dc8f57..0000000
--- a/FOSS/Python/Dependencies/future-0.18.2/src/future/moves/urllib/robotparser.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from __future__ import absolute_import
-from future.utils import PY3
-
-if PY3:
- from urllib.robotparser import *
-else:
- __future_module__ = True
- from robotparser import *