From 738fccdabb5a5f077143dcdde54ef0cfbbbfbccf Mon Sep 17 00:00:00 2001 From: Username Date: Wed, 24 Dec 2025 00:17:40 +0100 Subject: [PATCH] connection_pool: fix python 2 integer division Add from __future__ import division to fix success_rate and latency calculations returning 0 due to integer division. --- connection_pool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/connection_pool.py b/connection_pool.py index 0c04fc2..964200a 100644 --- a/connection_pool.py +++ b/connection_pool.py @@ -1,5 +1,6 @@ #!/usr/bin/env python2 # -*- coding: utf-8 -*- +from __future__ import division """Tor connection pooling for improved proxy testing throughput. This module provides connection pooling to reduce the overhead of