PolyFuzz
PolyFuzz copied to clipboard
Update timing.py resource file
Hi -- I'm using Python 3.10. The 'time.clock()' method in timing.py is being (has been) deprecated. This breaks polyfuzz upon importing your module. To make it work, I changed the following line of code, locally (see line 64 in timing.py):
- From: clocku = clocks = clock = time.clock()
- To: clocku = clocks = clock = time.perf_counter()
Not sure if this is correct, though. Just wanted to surface the issue in case anyone's using a more recent version of Python.
Could you share the full error message when importing PolyFuzz? As of right now, I do not believe the time module is directly used in PolyFuzz so bug fixing might be a bit more difficult without knowing where exactly the module is used.