issue #477: Py2.4 lacks BaseException.

issue510
David Wilson 6 years ago
parent 4388e794ce
commit 08cecb92f6

@ -72,6 +72,11 @@ try:
except ImportError: except ImportError:
from io import BytesIO from io import BytesIO
try:
BaseException
except NameError:
BaseException = Exception
try: try:
ModuleNotFoundError ModuleNotFoundError
except NameError: except NameError:

Loading…
Cancel
Save