diff --git a/rsa/_compat.py b/rsa/_compat.py index 93393d9..9d1d99d 100644 --- a/rsa/_compat.py +++ b/rsa/_compat.py @@ -21,11 +21,7 @@ import sys from struct import pack -try: - MAX_INT = sys.maxsize -except AttributeError: - MAX_INT = sys.maxint - +MAX_INT = sys.maxsize MAX_INT64 = (1 << 63) - 1 MAX_INT32 = (1 << 31) - 1 MAX_INT16 = (1 << 15) - 1