[tor-commits] [trunnel/main] 1L is no longer good python either.
nickm at torproject.org
nickm at torproject.org
Thu Nov 4 15:41:10 UTC 2021
commit 27d8d81bf10017fb9ce26ab3c1402d563b77d347
Author: Nick Mathewson <nickm at torproject.org>
Date: Thu Nov 4 11:41:07 2021 -0400
1L is no longer good python either.
---
lib/trunnel/SeedFuzzer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/trunnel/SeedFuzzer.py b/lib/trunnel/SeedFuzzer.py
index 38403cb..0cb7034 100644
--- a/lib/trunnel/SeedFuzzer.py
+++ b/lib/trunnel/SeedFuzzer.py
@@ -399,7 +399,7 @@ class CorpusGenerator(trunnel.CodeGen.ASTVisitor):
yield [ni], NIL
elif smi.constraints is None:
yield [ni.withVal(0)], NIL
- yield [ni.withVal((1L << width) - 1)], NIL
+ yield [ni.withVal((1 << width) - 1)], NIL
else:
for lo, hi in smi.constraints.ranges:
lo = self.expandConst(lo)
More information about the tor-commits
mailing list