mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
src/ext: Add __future__ imports for python 3 compatibility
Closes ticket 32732.
This commit is contained in:
parent
1619f14a04
commit
0bb879e821
@ -1,3 +1,8 @@
|
||||
# Future imports for Python 2.7, mandatory in 3.0
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
b = 256
|
||||
q = 2**255 - 19
|
||||
l = 2**252 + 27742317777372353535851937790883648493
|
||||
|
@ -1,3 +1,8 @@
|
||||
# Future imports for Python 2.7, mandatory in 3.0
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
b = 256
|
||||
q = 2**255 - 19
|
||||
l = 2**252 + 27742317777372353535851937790883648493
|
||||
|
@ -1,3 +1,8 @@
|
||||
# Future imports for Python 2.7, mandatory in 3.0
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
q = 2**255 - 19
|
||||
|
||||
def expmod(b,e,m):
|
||||
|
@ -1,3 +1,8 @@
|
||||
# Future imports for Python 2.7, mandatory in 3.0
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
q = 2**255 - 19
|
||||
|
||||
def expmod(b,e,m):
|
||||
|
@ -1,3 +1,8 @@
|
||||
# Future imports for Python 2.7, mandatory in 3.0
|
||||
from __future__ import division
|
||||
from __future__ import print_function
|
||||
from __future__ import unicode_literals
|
||||
|
||||
q = 2**255 - 19
|
||||
|
||||
def expmod(b,e,m):
|
||||
|
Loading…
Reference in New Issue
Block a user