##// END OF EJS Templates
compat: don't rely on cpython-specific builtins manipulation...
Raphaël Gomès -
r49119:6ffcaba7 default
parent child Browse files
Show More
@@ -44,6 +44,7 b' if not ispy3:'
44 44 FileNotFoundError = OSError
45 45
46 46 else:
47 import builtins
47 48 import concurrent.futures as futures
48 49 import http.cookiejar as cookielib
49 50 import http.client as httplib
@@ -55,7 +56,7 b' else:'
55 56 def future_set_exception_info(f, exc_info):
56 57 f.set_exception(exc_info[0])
57 58
58 FileNotFoundError = __builtins__['FileNotFoundError']
59 FileNotFoundError = builtins.FileNotFoundError
59 60
60 61
61 62 def identity(a):
General Comments 0
You need to be logged in to leave comments. Login now