Package: python-pulp / 1.6.0+dfsg1-5

python3.8.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/pulp/solvers.py
+++ b/src/pulp/solvers.py
@@ -33,7 +33,10 @@ the current version
 import os
 import subprocess
 import sys
-from time import clock
+try:
+    from time import clock
+except ImportError:
+    from time import perf_counter as clock
 try:
     import configparser
 except ImportError: