[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [trunnel/main] 1L is no longer good python either.



commit 27d8d81bf10017fb9ce26ab3c1402d563b77d347
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits