Import sys explicitly rather than relying on sage to do it.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2020-11-30 13:28:25 +00:00
parent bf740d64b8
commit 56945c09e0
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
# This implements a prototype of Palash Sarkar's square root algorithm
# from <https://eprint.iacr.org/2020/1407>, for the Pasta fields.
import sys
from copy import copy
from collections import deque

View File

@ -3,6 +3,7 @@
# This implements a prototype of Palash Sarkar's square root algorithm
# from <https://eprint.iacr.org/2020/1407>, for the Pasta fields.
import sys
from copy import copy
if sys.version_info[0] == 2: