equal
deleted
inserted
replaced
33 import httplib |
33 import httplib |
34 import Queue as queue |
34 import Queue as queue |
35 import SocketServer as socketserver |
35 import SocketServer as socketserver |
36 import xmlrpclib |
36 import xmlrpclib |
37 |
37 |
38 from .thirdparty.concurrent import futures |
|
39 |
|
40 def future_set_exception_info(f, exc_info): |
38 def future_set_exception_info(f, exc_info): |
41 f.set_exception_info(*exc_info) |
39 f.set_exception_info(*exc_info) |
42 |
40 |
43 # this is close enough for our usage |
41 # this is close enough for our usage |
44 FileNotFoundError = OSError |
42 FileNotFoundError = OSError |
45 |
43 |
46 else: |
44 else: |
47 import builtins |
45 import builtins |
48 import concurrent.futures as futures |
|
49 import http.cookiejar as cookielib |
46 import http.cookiejar as cookielib |
50 import http.client as httplib |
47 import http.client as httplib |
51 import pickle |
48 import pickle |
52 import queue as queue |
49 import queue as queue |
53 import socketserver |
50 import socketserver |