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

Use a documented and supported thread pool class #127

Merged
merged 1 commit into from
May 21, 2018

Conversation

dkfellows
Copy link
Member

Undocumented and (presumably) unsupported classes, even when in the Python core classes, can hide all sorts of problems. Let's use something that is supported instead! Alas, core Python only has a supported pool class in 3, but there is a workaround for 2.7 in PyPI.
https://stackoverflow.com/a/11529742/301832
https://docs.python.org/3/library/concurrent.futures.html
https://pypi.org/project/futures/

Undocumented and (presumably) unsupported classes, even when in the
Python core classes, can hide all sorts of problems. Let's use something
that *is* supported instead! Alas, core Python only has a supported pool
class in 3, but there is a workaround for 2.7 in PyPI.
https://stackoverflow.com/a/11529742/301832
https://docs.python.org/3/library/concurrent.futures.html
https://pypi.org/project/futures/
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1157

  • 7 of 13 (53.85%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.007%) to 57.128%

Changes Missing Coverage Covered Lines Changed/Added Lines %
spinnman/connections/connection_listener.py 7 13 53.85%
Totals Coverage Status
Change from base Build 1151: 0.007%
Covered Lines: 3278
Relevant Lines: 5738

💛 - Coveralls

@alan-stokes alan-stokes merged commit af128c8 into master May 21, 2018
@alan-stokes alan-stokes deleted the use-supported-thread-pool branch May 21, 2018 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants