Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update timing.py resource file #32

Open
PandaSanchez opened this issue Jan 10, 2022 · 1 comment
Open

Update timing.py resource file #32

PandaSanchez opened this issue Jan 10, 2022 · 1 comment

Comments

@PandaSanchez
Copy link

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.

@MaartenGr
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants