Skip to content

Fix deprecation warning in multiprocess module #1370

Merged
ixjlyons merged 1 commit intopyqtgraph:masterfrom
jenshnielsen:fix_timer_deprecation_warning
Sep 17, 2020
Merged

Fix deprecation warning in multiprocess module #1370
ixjlyons merged 1 commit intopyqtgraph:masterfrom
jenshnielsen:fix_timer_deprecation_warning

Conversation

@jenshnielsen
Copy link
Copy Markdown
Contributor

The argument to qtimer.start should be an int not a float
and the current code raises a deprecation warning with python 3.8.
This fixes that by simply converting it to an int.

the argument to qtimer.start should be an int not a float

the current code raises a deprecation warning with python 3.8
@ixjlyons
Copy link
Copy Markdown
Member

It looks like there are a number of places this needs to be fixed, but this is as good a place as any to start. Thanks.

@ixjlyons ixjlyons merged commit fa77c65 into pyqtgraph:master Sep 17, 2020
@jenshnielsen jenshnielsen deleted the fix_timer_deprecation_warning branch September 17, 2020 06:24
@jenshnielsen
Copy link
Copy Markdown
Contributor Author

@ixjlyons Thanks. My test suite happened to hit this one which is why I started here

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

Successfully merging this pull request may close these issues.

2 participants