История изменений
Исправление Valor, (текущая версия) :
Там это на исключениях построено
«/usr/local/lib/python3.4/dist-packages/tornado-4.0.2-py3.4-linux-x86_64.egg/tornado/httputil.py»
try:
import Cookie # py2
except ImportError:
import http.cookies as Cookie # py3
try:
from httplib import responses # py2
except ImportError:
from http.client import responses # py3
# responses is unused in this file, but we re-export it to other files.
# Reference it so pyflakes doesn't complain.
responses
try:
from urllib import urlencode # py2
except ImportError:
from urllib.parse import urlencode # py3
try:
from ssl import SSLError
except ImportError:
# ssl is unavailable on app engine.
class SSLError(Exception):
pass
Соответственно, исключение валит внутри http либы торнадо.
Исправление Valor, :
Там это на исключениях построено
«/usr/local/lib/python3.4/dist-packages/tornado-4.0.2-py3.4-linux-x86_64.egg/tornado/httputil.py»
try:
import Cookie # py2
except ImportError:
import http.cookies as Cookie # py3
try:
from httplib import responses # py2
except ImportError:
from http.client import responses # py3
# responses is unused in this file, but we re-export it to other files.
# Reference it so pyflakes doesn't complain.
responses
try:
from urllib import urlencode # py2
except ImportError:
from urllib.parse import urlencode # py3
try:
from ssl import SSLError
except ImportError:
# ssl is unavailable on app engine.
class SSLError(Exception):
pass
Исходная версия Valor, :
Там это на исключения построено
«/usr/local/lib/python3.4/dist-packages/tornado-4.0.2-py3.4-linux-x86_64.egg/tornado/httputil.py»
try:
import Cookie # py2
except ImportError:
import http.cookies as Cookie # py3
try:
from httplib import responses # py2
except ImportError:
from http.client import responses # py3
# responses is unused in this file, but we re-export it to other files.
# Reference it so pyflakes doesn't complain.
responses
try:
from urllib import urlencode # py2
except ImportError:
from urllib.parse import urlencode # py3
try:
from ssl import SSLError
except ImportError:
# ssl is unavailable on app engine.
class SSLError(Exception):
pass