1 parent 769d643 commit 747fd46Copy full SHA for 747fd46
1 file changed
src/future/builtins/__init__.py
@@ -54,7 +54,22 @@
54
try:
55
FileNotFoundError = builtins.FileNotFoundError
56
except NameError:
57
- from future.types.exceptions import FileNotFoundError
58
- __all__ += ['FileNotFoundError']
59
-
60
+ from future.types.exceptions import *
+ import future.types.exceptions as fte
+ __all__ += [
+ 'BlockingOSError',
61
+ 'BrokenPipeError',
62
+ 'ChildProcessError',
63
+ 'ConnectionError',
64
+ 'ConnectionAbortedError',
65
+ 'ConnectionRefusedError',
66
+ 'ConnectionResetError',
67
+ 'FileExistsError',
68
+ 'FileNotFoundError',
69
+ 'InterruptedError',
70
+ 'IsADirectoryError',
71
+ 'NotADirectoryError',
72
+ 'PermissionErrror',
73
+ 'ProcessLookupError',
74
+ 'TimeoutError',
75
+ ]
0 commit comments